summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* variables: explicitly state that UBOOT_MKIMAGE_DTCOPTS is optionalPaul Eggleton2020-12-241-0/+2
| | | | | | | (From yocto-docs rev: 0ba5591c4e8dd194f87837556cedb2b9979bc6df) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* variables: clarify KERNEL_ALT_IMAGETYPE referencePaul Eggleton2020-12-241-2/+3
| | | | | | | | | | Make it clear that KERNEL_ALT_IMAGETYPE is intended to allow building an additional image type. (From yocto-docs rev: d2f51d310028dfa50584f7dc04ea3627d14d3f1e) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: minor corrections to kernel-fitimage sectionPaul Eggleton2020-12-241-5/+5
| | | | | | | | | Minor syntax and formatting corrections. (From yocto-docs rev: eda1fae0dc8670ff22f10b591ce14b9bbf0455ce) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: fix on target build for 4.4 and 5.10+Bruce Ashfield2020-12-242-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following systemtap commit: commit 7615cae790c899bc8a82841c75c8ea9c6fa54df3 Author: Frank Ch. Eigler <fche@redhat.com> Date: Mon Nov 9 19:18:19 2020 -0500 PR26665: relayfs-on-procfs megapatch Changes the way that capabilities are checked when compiling a systemtap probe. In our cross-build -> on target workflow, this results in a mismatch between the systemtap configuration capabilities and the kernel configuration. The result is a compilation failure since the security components are protected by two different #ifdef's, and they can be out of sync. By protecting the include and callsite with the same #ifdef, we ensure they are in sync and fix our on target problem. While this fix is oe-specific, a variant will be proposed upstream once a deeper analsysis of other options has been completed. (From OE-Core rev: 25fa864270efe3ff5699a1bf9ebdf599e96362a5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: upgrade 4.3 -> 4.4zangrc2020-12-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test log of oe-selftest is as follows: 2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap) 2020-11-23 17:06:55,949 - oe-selftest - INFO - ... ok 2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap) 2020-11-23 17:08:07,921 - oe-selftest - INFO - ... ok 2020-11-23 17:08:07,922 - oe-selftest - INFO - test_crosstap_syscalls_by_pid (runtime_test.SystemTap) 2020-11-23 17:09:20,084 - oe-selftest - INFO - ... ok 2020-11-23 17:09:20,085 - oe-selftest - INFO - test_crosstap_syscalls_by_proc (runtime_test.SystemTap) 2020-11-23 17:10:31,349 - oe-selftest - INFO - ... ok 2020-11-23 17:12:58,052 - oe-selftest - INFO - ---------------------------------------------------------------------- 2020-11-23 17:12:58,054 - oe-selftest - INFO - Ran 4 tests in 5051.537s 2020-11-23 17:12:58,054 - oe-selftest - INFO - OK 2020-11-23 17:13:08,416 - oe-selftest - INFO - RESULTS: 2020-11-23 17:13:08,417 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_helloworld: PASSED (4686.81s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_pstree: PASSED (71.97s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_pid: PASSED (72.16s) 2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_proc: PASSED (71.26s) 2020-11-23 17:13:08,432 - oe-selftest - INFO - SUMMARY: 2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest () - Ran 4 tests in 5051.540s 2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=4, skipped=0, failures=0, errors=0) (From OE-Core rev: 5f635423f00e7469e89f6729d973ca447a3ff11b) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4/cfg: fix -tiny warningsBruce Ashfield2020-12-243-3/+3
| | | | | | | | | | | | | | Integrating the following commit(s) to fixup warnings when -tiny is build with the latest kern-tools: b721178c41a drm: change CONFIG_DRM_KMS_HELPER to =m d9ac6174eaf tiny: enable CONFIG_FW_LOADER on a per-BSP basis a135c720bc7 i915: adust helper to 'm' (From OE-Core rev: 9227facf178e7bc56cce2522cd63ffd18dd900aa) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.8/cfg: fix -tiny warningsBruce Ashfield2020-12-243-3/+3
| | | | | | | | | | | | | Integrating the following commit(s) for configuration tweaks: b976de4f41d drm: change CONFIG_DRM_KMS_HELPER to =m 669f5aa3795 tiny: enable CONFIG_FW_LOADER on a per-BSP basis d94b2d9f137 i915: adust helper to 'm' (From OE-Core rev: d2c77a34d338d0347fb4206eb2185adc01e58416) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.83Bruce Ashfield2020-12-243-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 2bff021f53b2 Linux 5.4.83 66a08d1d3bd8 Revert "geneve: pull IP header before ECN decapsulation" ed58971beb47 x86/insn-eval: Use new for_each_insn_prefix() macro to loop over prefixes bytes 423e1b08ce5c netfilter: nftables_offload: set address type in control dissector 13995410b616 netfilter: nf_tables: avoid false-postive lockdep splat f25fa580f99e Input: i8042 - fix error return code in i8042_setup_aux() b9df537e5fcd dm writecache: remove BUG() and fail gracefully instead 8e2c50315f00 i2c: qup: Fix error return code in qup_i2c_bam_schedule_desc() 1015eefe10e2 rtw88: debug: Fix uninitialized memory in debugfs code af699e99efdc ASoC: wm_adsp: fix error return code in wm_adsp_load() fdc1416c2199 tipc: fix a deadlock when flushing scheduled work 6410c7f53698 netfilter: ipset: prevent uninit-value in hash_ip6_add cd928d387b0b gfs2: check for empty rgrp tree in gfs2_ri_update c358e7e99dda can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check 867fbf2bb739 lib/syscall: fix syscall registers retrieval on 32-bit platforms f68f5bdfefd9 tracing: Fix userstacktrace option for instances dbbf6cdab503 iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs d863a4ad3cc5 spi: bcm2835: Release the DMA channel if probe fails after dma_init 83d5121c3b0f i2c: imx: Check for I2SR_IAL after every byte 83366a7b2d34 i2c: imx: Fix reset of I2SR_IAL flag b0d4fa10bfcc speakup: Reject setting the speakup line discipline outside of speakup a2a163f70bdf mm/swapfile: do not sleep with a spin lock held 4870004d30e3 mm: list_lru: set shrinker map bit when child nr_items is not zero 42ccf9d14ede coredump: fix core_pattern parse error 579c977253b6 x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes 002d2c4a3f66 dm: remove invalid sparse __acquires and __releases annotations 3b02d67064ff dm: fix bug with RCU locking in dm_blk_report_zones 7eb514087cdd powerpc/pseries: Pass MSI affinity to irq_create_mapping() 1f72986fc9df genirq/irqdomain: Add an irq_create_mapping_affinity() function 6466119452a8 powerpc/64s/powernv: Fix memory corruption when saving SLB entries on MCE 8a758e97b707 dm writecache: fix the maximum number of arguments 3f680c5996f9 scsi: mpt3sas: Fix ioctl timeout 812dff6a5250 drm/i915/gt: Program mocs:63 for cache eviction on gen9 b92738c4f9d3 thunderbolt: Fix use-after-free in remove_unplugged_switch() ed201cb54d6f i2c: imx: Don't generate STOP condition if arbitration has been lost 73948ab9f2df cifs: fix potential use-after-free in cifs_echo_request() a0ca8cb2f707 cifs: allow syscalls to be restarted in __smb_send_rqst() 205740ca4a4d ftrace: Fix updating FTRACE_FL_TRAMP d18379bbb856 ALSA: hda/generic: Add option to enforce preferred_dacs pairs f28666e00a44 ALSA: hda/realtek - Add new codec supported for ALC897 c57556f1798b ALSA: hda/realtek: Enable headset of ASUS UX482EG & B9400CEA with ALC294 f3fc36614438 ALSA: hda/realtek: Add mute LED quirk to yet another HP x360 model de41002d2e0e ALSA: hda/realtek: Fix bass speaker DAC assignment on Asus Zephyrus G14 35ee9ac51328 tty: Fix ->session locking c536ecd48560 tty: Fix ->pgrp locking in tiocspgrp() 013d2d046532 USB: serial: option: fix Quectel BG96 matching 3cf949422734 USB: serial: option: add support for Thales Cinterion EXS82 0f8af69bec41 USB: serial: option: add Fibocom NL668 variants 250930f60c33 USB: serial: ch341: sort device-id entries 25b90f887dd4 USB: serial: ch341: add new Product ID for CH341A f0990c21af7d USB: serial: kl5kusb105: fix memleak on open 8954745718e7 usb: gadget: f_fs: Use local copy of descriptors for userspace copy 4a77729b25d6 Partially revert bpf: Zero-fill re-used per-cpu map element 512b18eec5c2 pinctrl: baytrail: Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH) e90d11d0be10 pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output (From OE-Core rev: 87c3841a7b4b9a440bd9aea91dea2a7161ab22be) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/cfg: qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUTBruce Ashfield2020-12-246-6/+6
| | | | | | | | | | | | | | | | | | | Integrating the following commit(s): qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUT This will address libinput ptest failures: https://www.kernel.org/doc/html/latest/input/uinput.html https://wayland.freedesktop.org/libinput/doc/latest/test-suite.html qemux86_64 already has it enabled. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> (From OE-Core rev: 5af1bda8006faf2afe4c5c17e7f8d276d6ec0790) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.82Bruce Ashfield2020-12-243-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ec274ecd62f9 Linux 5.4.82 4460a7c979ee RDMA/i40iw: Address an mmap handler exploit in i40iw 07434172c58b tracing: Remove WARN_ON in start_thread() 6ad995b851cb Input: i8042 - add ByteSpeed touchpad to noloop table dfe5d9a8307e Input: xpad - support Ardwiino Controllers c38a7023c00a ALSA: usb-audio: US16x08: fix value count for level meters 8cd76dacd3dc net/mlx5: Fix wrong address reclaim when command interface is down 2598dd80b801 net/mlx5: DR, Proper handling of unsupported Connect-X6DX SW steering 8f92330b0873 net/sched: act_mpls: ensure LSE is pullable before reading it 1086f789060a net: openvswitch: ensure LSE is pullable before reading it ba203b92a829 net: skbuff: ensure LSE is pullable before decrementing the MPLS ttl 892e08e0b4f3 net: mvpp2: Fix error return code in mvpp2_open() 7c3894f695e4 chelsio/chtls: fix a double free in chtls_setkey() 178da08f9b5b vxlan: fix error return code in __vxlan_dev_create() 5405a299b8c1 net: pasemi: fix error return code in pasemi_mac_open() dc469f423654 cxgb3: fix error return code in t3_sge_alloc_qset() 8bfe5b73b185 net/x25: prevent a couple of overflows 187a6daf5db4 net: ip6_gre: set dev->hard_header_len when using header_ops a6cd76132872 geneve: pull IP header before ECN decapsulation 2b714b607f24 inet_ecn: Fix endianness of checksum update when setting ECT(1) 9a3cce1ceee4 ibmvnic: Fix TX completion error handling 40caea31dd56 ibmvnic: Ensure that SCRQ entry reads are correctly ordered d126c30eb30d chelsio/chtls: fix panic during unload reload chtls 8a1bb298f75f dt-bindings: net: correct interrupt flags in examples af0b082e16fb ipv4: Fix tos mask in inet_rtm_getroute() 4615228a50f9 netfilter: bridge: reset skb->pkt_type after NF_INET_POST_ROUTING traversal 294de8933adb sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list c4405cdf96f4 ima: extend boot_aggregate with kernel measurements 733729d3e0e4 staging/octeon: fix up merge error 6dd37fdc9550 bonding: wait for sysfs kobject destruction before freeing struct slave beead010654d usbnet: ipheth: fix connectivity with iOS 14 f057c4d226f1 tun: honor IOCB_NOWAIT flag 538008749df2 tcp: Set INET_ECN_xmit configuration in tcp_reinit_congestion_control 9a62c8229cff sock: set sk_err to ee_errno on dequeue from errq 7f0ddd41e289 rose: Fix Null pointer dereference in rose_send_frame() f2f25bc79782 net/tls: Protect from calling tls_dev_del for TLS RX twice a6300aedf862 net/tls: missing received data after fast remote close a15beea80e72 net/af_iucv: set correct sk_protocol for child sockets 9414855a1305 ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init 99b5382bffd5 devlink: Hold rtnl lock while reading netdev attributes 42af416d7146 Linux 5.4.81 cd7343987376 ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT 6ebb6af62721 ASoC: Intel: Multiple I/O PCM format support for pipe b2b05b04d44d ASoC: Intel: Skylake: Await purge request ack on CNL a28144d62ddc ASoC: Intel: Allow for ROM init retry on CNL platforms 4029a29f93ef ASoC: Intel: Skylake: Shield against no-NHLT configurations 754df2d3349d ASoC: Intel: Skylake: Enable codec wakeup during chip init 6de661f146a2 ASoC: Intel: Skylake: Select hda configuration permissively 422c4938f704 ASoC: Intel: Skylake: Remove superfluous chip initialization 23b093a2c4f9 USB: core: Fix regression in Hercules audio card cc54f8b8e1cd x86/resctrl: Add necessary kernfs_put() calls to prevent refcount leak d0c4c5a89f5b x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak e799c00a745e x86/speculation: Fix prctl() when spectre_v2_user={seccomp,prctl},ibpb f753e1c02a2e x86/mce: Do not overwrite no_way_out if mce_end() fails 62405223bafd irqchip/exiu: Fix the index of fwspec for IRQ type f69d749d5f7f usb: gadget: Fix memleak in gadgetfs_fill_super cad7b76a6129 USB: quirks: Add USB_QUIRK_DISCONNECT_SUSPEND quirk for Lenovo A630Z TIO built-in usb-audio card c775935dfd1e usb: gadget: f_midi: Fix memleak in f_midi_alloc e1a2a3043cc2 USB: core: Change %pK for __user pointers to %px 84d04d722b6a spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe 5849e7dc560b perf probe: Fix to die_entrypc() returns error correctly 27193c41d0db perf stat: Use proper cpu for shadow stats dc4d672a3fb5 can: m_can: fix nominal bitiming tseg2 min for version >= 3.1 1f076cc1de82 can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags dd8ab85fd88e RDMA/hns: Bugfix for memory window mtpt configuration e69f384e22f1 RDMA/hns: Fix retry_cnt and rnr_cnt when querying QP 49b26b969474 platform/x86: toshiba_acpi: Fix the wrong variable assignment fbd3f1d6ef2f platform/x86: thinkpad_acpi: Send tablet mode switch at wakeup time 405fd2180583 can: gs_usb: fix endianess problem with candleLight firmware 11420c32c1b4 efi: EFI_EARLYCON should depend on EFI 0d245cbd939a efivarfs: revert "fix memory leak in efivarfs_create()" abae897f283b arm64: tegra: Wrong AON HSP reg property size 5c4c6b2be717 optee: add writeback to valid memory type 6d371c3e70d7 ibmvnic: fix NULL pointer dereference in ibmvic_reset_crq 382383538f68 ibmvnic: fix NULL pointer dereference in reset_sub_crq_queues a447dbb44d44 net: ena: set initial DMA width to avoid intel iommu issue 7869696d6c1e nfc: s3fwrn5: use signed integer for parsing GPIO numbers 1a831f889db3 i40e: Fix removing driver while bare-metal VFs pass traffic 676857f78c1a IB/mthca: fix return value of error branch in mthca_init_cq() 22f821fa5cbb powerpc/64s: Fix allnoconfig build since uaccess flush ae6e75b8c6d6 ibmvnic: notify peers when failover and migration happen 7b4e9fcf5ec3 ibmvnic: fix call_netdevice_notifiers in do_reset 993e42d0f7d6 s390/qeth: fix tear down of async TX buffers ef0f6e36a6d4 s390/qeth: fix af_iucv notification race bb6c548934c9 s390/qeth: make af_iucv TX notification call more robust f29dfa2bf6c7 cxgb4: fix the panic caused by non smac rewrite 0410aeb9e04c bnxt_en: Release PCI regions when DMA mask setup fails during probe. db49200b1dad video: hyperv_fb: Fix the cache type when mapping the VRAM d1a7fb15673e bnxt_en: fix error return code in bnxt_init_board() 22e10c6bbefc bnxt_en: fix error return code in bnxt_init_one() 11b62fd00c62 scsi: ufs: Fix race between shutdown and runtime resume flow 559ab6fb7b66 ARM: dts: dra76x: m_can: fix order of clocks 1bef5f25a692 arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed 95b1f326315b batman-adv: set .owner to THIS_MODULE f5672b83fc2d iwlwifi: mvm: write queue_sync_state only for sync f32a1065c930 phy: tegra: xusb: Fix dangling pointer on probe failure acea5424d9d2 ARM: OMAP2+: Manage MPU state properly for omap_enter_idle_coupled() 6f87d79ef40d bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw e8060ddddc9f net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset 1f5531bb9720 xtensa: uaccess: Add missing __user to strncpy_from_user() prototype 3753a62d5760 perf/x86: fix sysfs type mismatches fd81f0711d9c scsi: target: iscsi: Fix cmd abort fabric stop race 8814c070e783 scsi: libiscsi: Fix NOP race condition 070a9a046d6d dmaengine: pl330: _prep_dma_memcpy: Fix wrong burst size 8a2ae7fa5d5c vhost scsi: fix cmd completion race 4940816604e3 nvme: free sq/cq dbbuf pointers when dbbuf set fails 01968f9af006 proc: don't allow async path resolution of /proc/self components 830f4aa73a69 HID: Add Logitech Dinovo Edge battery quirk 4d070afa1080 HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge 204dbc26f14e x86/xen: don't unbind uninitialized lock_kicker_irq d6b5dc5429f1 dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant 54b01ded1e92 HID: add HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE for Gamevice devices cd7ea86a4a64 staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK b3701c29a468 HID: hid-sensor-hub: Fix issue with devices with no report ID 8f68a28c9ecc Input: i8042 - allow insmod to succeed on devices without an i8042 controller dbe67dcf97cf HID: add support for Sega Saturn 3845b2117f6d HID: cypress: Support Varmilo Keyboards' media hotkeys 604912c2b20e HID: ite: Replace ABS_MISC 120/121 events with touchpad on/off keypresses 8a35be6c38aa HID: uclogic: Add ID for Trust Flex Design Tablet 733e6db9736d arm64: pgtable: Ensure dirty bit is preserved across pte_wrprotect() b456de294ee4 arm64: pgtable: Fix pte_accessible() 8b4d82d8dbff trace: fix potenial dangerous pointer 4a301b05cf61 KVM: x86: Fix split-irqchip vs interrupt injection window request b7d2e45cf613 KVM: x86: handle !lapic_in_kernel case in kvm_cpu_*_extint 6276d38cce87 KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace 45b5f4b1b40b KVM: PPC: Book3S HV: XIVE: Fix possible oops when accessing ESB page 214e6af4217a cifs: fix a memleak with modefromsid 56f639aa0b5d smb3: Handle error case during offload read path afa51221b911 smb3: Avoid Mid pending list corruption 1b63215666c0 smb3: Call cifs reconnect from demultiplex thread f923044a6c72 wireless: Use linux/stddef.h instead of stddef.h a6676b0fa09f btrfs: fix lockdep splat when reading qgroup config on mount 6ea14731ac4c btrfs: don't access possibly stale fs_info data for printing duplicate device 12aedea58281 btrfs: tree-checker: add missing returns after data_ref alignment checks 0115a2613397 btrfs: tree-checker: add missing return after error in root_item 6ec51459df71 netfilter: clear skb->next in NF_HOOK_LIST() ee791835b3ec ipv4: use IS_ENABLED instead of ifdef 9d16996369fd spi: bcm2835: Fix use-after-free on unbind b606031bbfed spi: bcm-qspi: Fix use-after-free on unbind (From OE-Core rev: ad12cda067ffee809d133a1d21599c9f3ef06435) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/cfg: qemuppc: set CONFIG_SCSI to '=y'Bruce Ashfield2020-12-246-6/+6
| | | | | | | | | | | Integrating the following configuration commit(s): 72a1fe336d7 qemuppc: configure the CONFIG_SCSI to '=y' (From OE-Core rev: 6d21c81b04142a48539b3262318860f2719c11ca) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kern-tools: non-gcc config support and option re-classificationBruce Ashfield2020-12-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Integrating the following commits: 1aa9046 merge_config.sh: Translate some env variables to make variables 6fdcd64 symbol_why: allow re-classification from non-hardare to hardware With these, a non-gcc compiler can be used, since the invocation of the kernel configuration explicitly passes the variables as command line vars, versus environment variables. This means the kernel Makefile assignments are overriden and the desired compiler used. With option re-classification, we can inhibit warnings when an option has incorrectly been classified has 'hardware', and hence triggers a visible warning. [merge_config.sh: Translate some env variables to make variables] (From OE-Core rev: b5d33d13cd8618c10ae0a0379a1c8f22f6941eeb) Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> [symbol_why: allow re-classification from non-hardare to hardware] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: fix client.conf locationTanu Kaskinen2020-12-211-1/+1
| | | | | | | | | | | | | | The location of the generated client.conf changed when switching from Autotools to Meson. Fixes this error when enabling autospawn-for-root: sed: can't read src/client.conf: No such file or directory (From OE-Core rev: 16d31a54c586840fb11e03702bb854c43ce4c5eb) Signed-off-by: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pulseaudio: Fix build with clang for non-x86 targetKhem Raj2020-12-212-0/+83
| | | | | | | | (From OE-Core rev: 01d21bd4c48aa3f899c012a2c3fd72c689e75944) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tanu Kaskinen <tanuk@iki.fi> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* apr-util: Only specify --with-dbm=gdbm if gdbm support is enabledPeter Kjellerstedt2020-12-211-3/+2
| | | | | | | | | | Support for gdbm was made optional in 3260ad9e, but it was still being used unconditionally. (From OE-Core rev: 09d303ca295dc27874c72b30c37a64d1fdf4c5c0) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: Fix ltp-pan crash on 32bit arches using 64bit time_tKhem Raj2020-12-212-0/+34
| | | | | | | | | | ltp-pan crashes on riscv32/musl due to shorter width assigned to time_t in printf format (From OE-Core rev: 7839481de7949d59e25113937c0b8901dc5b7425) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/terminal : improve the test caseTeoh Jay Shen2020-12-211-2/+5
| | | | | | | | | | | -Improve this test case to fulfill the requirements of replacing the click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw : 1) verify that the terminal window is working without problem 2) verify that there's only 1 terminal window is launched (From OE-Core rev: 824713174fae0617240a236d1bbfd2929bf4b24f) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* man-db: Avoid reproducibility failures after fixing groff-nativeRichard Purdie2020-12-211-0/+5
| | | | | | | | | Add some temporary bumps to versions to change the output hash so we really can take advantage of the groff-native reproducibility fix. (From OE-Core rev: af9bd5a03ecf45e92868bc49b1de5c27d94eff6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* groff: Fix reproducibility issueRichard Purdie2020-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | groff chooses a default papersize depending on the value from /etc/papersize and failing that, the search domain in /etc/resolv.conf based on the comment in configure: """ If the top-level domain is two letters and it's not 'us' or 'ca' then they probably use A4 paper. """ Oddly, my system sets to "a4" in /etc/papersize which means it defaults to "letter" since its != "A4". These defaults ripple through to cause the output of man-db to change depending on which default value was selected. To resolve this, set a default of "A4" since that covers the larger population of the two default values. (From OE-Core rev: 6cb511bfbd18258c782ee18f054a2590e4daaddc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Mark CVE-2008-1033 as a non-issueRichard Purdie2020-12-211-0/+2
| | | | | | | | It only applies to MacOS. (From OE-Core rev: cad1162f41c4c060744b98109514f761aa64d34a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Mark CVE-2009-0032 as a non-issueRichard Purdie2020-12-211-0/+2
| | | | | | | | The CVE was against a cups plugin which is obsolete and we don't include. (From OE-Core rev: 5f7cb9f6ec4b14f992d265b8c67a9f5589f9b842) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/commands: Ensure sync can be found regardless of PATHRichard Purdie2020-12-211-0/+3
| | | | | | | | | Avoid command not found errors shown in selftest logs due to changes to PATH settings which also risks intermittent problems due to IO load. (From OE-Core rev: 40bcae01b0be2f293dea9ab42c6b7f8f47827cf5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Add second fix for determinism issueRichard Purdie2020-12-211-0/+16
| | | | | | | | | There is a second list sorting problem in a generator script within grub, add a sort() of a list to resolve this. (From OE-Core rev: cb5e96e05930eaff4d679166416d6c84d6e3236b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* spirv-tools: upgrade 2020.5 -> 2020.6Jose Quaresma2020-12-211-2/+2
| | | | | | | (From OE-Core rev: cd6a05e6683db7a239a9559b079a00628589263d) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shaderc: upgrade 2020.3 -> 2020.4Jose Quaresma2020-12-212-13/+8
| | | | | | | (From OE-Core rev: 905a5f9ccb314def651aa22c6c87bc313946fc99) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot-tools: Fix reproducibility issueRichard Purdie2020-12-211-0/+15
| | | | | | | | | | | | | | | | | | | | | | If you build on a system with git < 2.14 from scratch (e.g. debian9), the tree will be marked as "dirty" and the version will include "-dirty", leading to a reproducibility problem. The issue is the inode count for Licnses/README changing due to do_populate_lic hardlinking a copy of the file. We avoid this by ensuring the index is updated with a "git diff" before the u-boot machinery tries to determine the version. build$ ../git/scripts/setlocalversion ../git "" build$ ln ../git/ build$ ln ../git/README ../foo build$ ../git/scripts/setlocalversion ../git ""-dirty (i.e. creating a hardlink dirties the index) (From OE-Core rev: a4de915af9e2c4d365527ad09286483b2ee904fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Include all packages a recipe provides in ↵Peter Kjellerstedt2020-12-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | SkippedPackage.rprovides The provided packages by a skipped recipe are supposed to be listed in SkippedPackage.rprovides, which is used when generating a meaningful error message when a build fails because of a skipped package. Previously this variable only contained the contents of ${RPROVIDES}. However, most recipes don't define RPROVIDES, they define RPROVIDES_<pkg> for each package they provide. Additionally, the recipe provides the packages in PACKAGES without them being included in ${RPROVIDES}. Before this change, having a runtime dependency on a skipped non-recipe package would result in a build error stating that the build failed because the package was skipped, but without providing any reason for why it was skipped. (Bitbake rev: efd026c26a377b826a49b945a8212bf7de8a480a) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cache: Make CoreRecipeInfo include rprovides_pkg for skipped recipesPeter Kjellerstedt2020-12-211-2/+2
| | | | | | | | | This will be needed by SkippedPackage in the cooker. (Bitbake rev: 93d01614565bd540d05fbc1791dd66e46723d683) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcsections: add more suppressions for SDK buildsSinan Kaya2020-12-201-0/+10
| | | | | | | | | More suppression is needed for glibc, perl and mingw. (From meta-yocto rev: 0e0f03888f876f7025aec292689a14925217619d) Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package firmware for Lontium lt9611uxc bridgeDmitry Baryshkov2020-12-201-0/+10
| | | | | | | | | | Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on Qualcomm RB5 platform. (From OE-Core rev: 4d16922943ffa6003d611c367b934d199c549c4c) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade 20201118 -> 20201218Dmitry Baryshkov2020-12-201-2/+2
| | | | | | | | License-Update: firmware versions/filenames (From OE-Core rev: c88129ffef320c16722f40426b0d4560274dca4e) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub: Fix build reproducibility issueRichard Purdie2020-12-202-0/+25
| | | | | | | | | We're seeing reproducibility issue on the autobuilder due to changing module dependency ordering. Add some sorting to an awk script to fix this. (From OE-Core rev: 925ddd5edccbfec52ff45c1b54ab2ae1bfe0d57c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Ensure uid/gid ranges are set deterministicallyRichard Purdie2020-12-201-0/+4
| | | | | | | | | | | meson.build will fall back to greping /etc/login.defs for values of these if they're not set. Different distros set them (Centos 7/8 does, Ubuntu does not) so output was not deterministic. Avoid this by setting to the default values. We now match the vaules from login.defs from shadow. (From OE-Core rev: 77a6ac0ac266d71e4fe67fd332662081f30cd7bf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa.inc: switch true/enabled false/disabledTrevor Woerner2020-12-201-11/+11
| | | | | | | | | | | | | | | | | | | | | A number of options have been switched from true/false to enabled/disabled and the older usage is deprecated, as is seen in the configuration logs: ../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:100: WARNING: gles2 option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead. ../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead. ../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead. (From OE-Core rev: acf78fd3d03e4fe07ee4ad677f178d17dc10ac7b) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Sync rcS.default with sysvinitKhem Raj2020-12-201-0/+29
| | | | | | | (From OE-Core rev: b97a18f45ad5166aa3532768c50c0d0b3c952011) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Use initctl on sysvinit onlyKhem Raj2020-12-201-8/+14
| | | | | | | | | | | Check if init system is sysvinit to recreate initctl, this ensures that it can be used with busybox init system as well (From OE-Core rev: 15c467d0206ee30fe708f76b7d5e0033ab687475) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rcS: Define identifier for init system usedKhem Raj2020-12-202-1/+5
| | | | | | | | | | | This will help in defining init system specific portions of initscripts which are shared (From OE-Core rev: 12380bccce7b87b755d1e24620c397641e88f656) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Sinan Kaya <okaya@kernel.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Run mdev as daemonKhem Raj2020-12-202-17/+41
| | | | | | | | | | | | | | | When busybox is used for device management, kernel needs to support older/obsolete mechanism via CONFIG_UEVENT_HELPER and CONFIG_UEVENT_HELPER_PATH to enable /proc/sys/kernel/hotplug but this would require kernel defconfig change and will always be needed when mdev is used, intead run it in daemon mode Update mdev init script to run mdev in daemon mode (From OE-Core rev: f9e84b31ea4afe566c76dcdea25960478cd36ecc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Install /etc/default/rcS when used as init systemKhem Raj2020-12-203-0/+3
| | | | | | | | | This helps in using sysvinit scripts with busybox init system as well (From OE-Core rev: 991394be9e695f9ddb5e2fca167c06f7a56a7449) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: use quotes for shell variable comparisionKhem Raj2020-12-201-1/+1
| | | | | | | | | Helps to execute it with busybox shell (From OE-Core rev: 45ba0ca0352bca46f974d28781ac935d8e9ec3ea) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/qa: handle the 'no specific instruction set' ELF e_machine valueRoss Burton2020-12-202-1/+2
| | | | | | | | [RP: Update OEQA selftest to match change] (From OE-Core rev: b7cfc0f51cc0b4866f913f6eae4fcc6f72d2578c) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add RRECOMMENDS for weak dependencies, if enabledLuca Boccassi2020-12-201-4/+7
| | | | | | | | | | | | Some libraries are now dlopen'ed and skipped at runtime if not available. Add them to the RRECOMMENDS list, to allow users to exclude them for smaller images even if generally enabled at build time. (From OE-Core rev: 0131a794be1a97f9aef3224c7c66fcf27576ce84) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set -Dmode=release as recommended by NEWSLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: c101682b75284b9759c692f5cc7daafece0e32e0) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: ship new systemd-dissect in -extra-utilsLuca Boccassi2020-12-201-0/+1
| | | | | | | (From OE-Core rev: 0a154f37e83ba0c46d79b7394c9f716074308bd2) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: add package config for systemd-oomdLuca Boccassi2020-12-201-0/+2
| | | | | | | | | Disabled by default (From OE-Core rev: 20aab7078e27e150375c268e3d7a3d2157f0e8ae) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: update 246 -> 247Luca Boccassi2020-12-2033-608/+647
| | | | | | | | | | | | | | | | Update systemd to v247.2. Add rule for new oomd dbus conf and for new pam.d conf directory in /usr/lib|lib64. Drop selinux-hook-handling-to-enumerate-nexthop.patch, merged upstream. Drop 0001-meson-Fix-reallocarray-check.patch, merged upstream. Refresh musl patches. (From OE-Core rev: 1e1d26de68ed13fd53c1a16b9662ac9860dca714) Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: upgrade to version 0.4.4Alex Stewart2020-12-202-2/+46
| | | | | | | | | | Include an upstream patch for 0.4.4 which fixes a test framework error that occurs on host systems with symlinked /tmp directories (like OE). (From OE-Core rev: 8064abb6664e16c6e0c63df3a466661f9b5b0d10) Signed-off-by: Alex Stewart <alex.stewart@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Make adjtime() for 32 bit support being called with delta == NULLPeter Kjellerstedt2020-12-202-0/+111
| | | | | | | | | | | This backports a fix from glibc's master branch, which solves a regression in 2.32 with adjtime() where it would seg fault if being called with delta == NULL on 32 bit machines. (From OE-Core rev: aeecccf17c45c840c070e2de95c602a3c7e9d30e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: fitimage: add test for signing FIT imagesPaul Eggleton2020-12-202-0/+165
| | | | | | | | | | | Add a new test to verify signing FIT images. Also includes testing for the newly introduced FIT_SIGN_INDIVIDUAL, UBOOT_MKIMAGE, UBOOT_MKIMAGE_SIGN, and UBOOT_MKIMAGE_SIGN_ARGS variables. (From OE-Core rev: 3c054762278fd8c5dd827dbac15f4fa066e6c19e) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe-selftest: fitimage: Test for FIT_DESCPaul Eggleton2020-12-201-1/+4
| | | | | | | | | Add verification of FIT_DESC to the existing test for kernel-fitimage. (From OE-Core rev: 1d75a67efe968f1d9161b64e2b7b2d3cf482c968) Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>