aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-08-12kver: bump to v5.3-rc4Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-08arch/x86/boot: use prefix map to avoid embedded pathsBruce Ashfield
1/1 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: arch/x86/boot: use prefix map to avoid embedded paths Date: Thu, 8 Aug 2019 23:39:26 -0400 It was observed that the kernel embeds the path in the x86 boot artifacts. From https://bugzilla.yoctoproject.org/show_bug.cgi?id=13458: [ If you turn on the buildpaths QA test, or try a reproducible build, you discover that the kernel image contains build paths. $ strings bzImage-5.0.19-yocto-standard |grep tmp/ out of pgt_buf in /data/poky-tmp/reproducible/tmp/work-shared/qemux86-64/kernel-source/arch/x86/boot/compressed/kaslr_64.c!? But what's this in the top-level Makefile: $ git grep prefix-map Makefile:KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) So the __FILE__ shouldn't be using the full path. However arch/x86/boot/compressed/Makefile has this: KBUILD_CFLAGS := -m$(BITS) -O2 So that clears KBUILD_FLAGS, removing the -fmacro-prefix-map option. ] Other architectures do not clear the flags, but instead prune before adding boot or specific options. There's no obvious reason why x86 isn't doing the same thing (pruning vs clearing) and no build or boot issues have been observed. So we make x86 can do the same thing, and we no longer have embedded paths. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-07ti-am335x: add the basic scc/cfg enablementJun Miao
Add scc/cfg kernel fragment to build and boot EVM/SK and BeagleBone Black boards all with am335x soc Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-07bsp/intel-x86: Enable NUMA balancing for intel-x86-64Yongxin Liu
Add support for automatic NUMA aware memory/task placement. Enable automatic NUMA balancing as default. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-07bsp/intel-x86: Set CONFIG_NODES_SHIFT to 6Yongxin Liu
This config specifies the maximum number (as a power of 2) of NUMA Nodes available on the target. 2^6 is big enough for most current systems. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-07nfsd: Move nfsd patch from nfsd-enable.scc to new created nfs.sccHe Zhe
Remove nfsd patch from nfsd-enable.scc which can be included directly or by other features, and thus cause re-application of the patch. Create nfs.scc to include both configuration and patches for potential inclusion for BSPs and/or KTYPEs. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-08-06nfsd4: Fix kernel crash when reading proc file reply_cache_statsBruce Ashfield
1/1 [ Author: He Zhe Email: zhe.he@windriver.com Subject: nfsd4: Fix kernel crash when reading proc file reply_cache_stats Date: Tue, 6 Aug 2019 17:48:52 +0800 reply_cache_stats uses wrong parameter as seq file private structure and thus causes the following kernel crash when users read /proc/fs/nfsd/reply_cache_stats BUG: kernel NULL pointer dereference, address: 00000000000001f9 PGD 0 P4D 0 Oops: 0000 [#3] SMP PTI CPU: 6 PID: 1502 Comm: cat Tainted: G D 5.3.0-rc3+ #1 Hardware name: Intel Corporation Broadwell Client platform/Basking Ridge, BIOS BDW-E2R1.86C.0118.R01.1503110618 03/11/2015 RIP: 0010:nfsd_reply_cache_stats_show+0x3b/0x2d0 Code: 41 54 49 89 f4 48 89 fe 48 c7 c7 b3 10 33 88 53 bb e8 03 00 00 e8 88 82 d1 ff bf 58 89 41 00 e8 eb c5 85 00 48 83 eb 01 75 f0 <41> 8b 94 24 f8 01 00 00 48 c7 c6 be 10 33 88 4c 89 ef bb e8 03 00 RSP: 0018:ffffaa520106fe08 EFLAGS: 00010246 RAX: 000000cfe1a77123 RBX: 0000000000000000 RCX: 0000000000291b46 RDX: 000000cf00000000 RSI: 0000000000000006 RDI: 0000000000291b28 RBP: ffffaa520106fe20 R08: 0000000000000006 R09: 000000cfe17e55dd R10: ffffa424e47c0000 R11: 000000000000030b R12: 0000000000000001 R13: ffffa424e5697000 R14: 0000000000000001 R15: ffffa424e5697000 FS: 00007f805735f580(0000) GS:ffffa424f8f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000001f9 CR3: 00000000655ce005 CR4: 00000000003606e0 Call Trace: seq_read+0x194/0x3e0 __vfs_read+0x1b/0x40 vfs_read+0x95/0x140 ksys_read+0x61/0xe0 __x64_sys_read+0x1a/0x20 do_syscall_64+0x4d/0x120 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f805728b861 Code: fe ff ff 50 48 8d 3d 86 b4 09 00 e8 79 e0 01 00 66 0f 1f 84 00 00 00 00 00 48 8d 05 d9 19 0d 00 8b 00 85 c0 75 13 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 57 c3 66 0f 1f 44 00 00 48 83 ec 28 48 89 54 RSP: 002b:00007ffea1ce3c38 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000020000 RCX: 00007f805728b861 RDX: 0000000000020000 RSI: 00007f8057183000 RDI: 0000000000000003 RBP: 00007f8057183000 R08: 00007f8057182010 R09: 0000000000000000 R10: 0000000000000022 R11: 0000000000000246 R12: 0000559a60e8ff10 R13: 0000000000000003 R14: 0000000000020000 R15: 0000000000020000 Modules linked in: CR2: 00000000000001f9 ---[ end trace 01613595153f0cba ]--- RIP: 0010:nfsd_reply_cache_stats_show+0x3b/0x2d0 Code: 41 54 49 89 f4 48 89 fe 48 c7 c7 b3 10 33 88 53 bb e8 03 00 00 e8 88 82 d1 ff bf 58 89 41 00 e8 eb c5 85 00 48 83 eb 01 75 f0 <41> 8b 94 24 f8 01 00 00 48 c7 c6 be 10 33 88 4c 89 ef bb e8 03 00 RSP: 0018:ffffaa52004b3e08 EFLAGS: 00010246 RAX: 0000002bab45a7c6 RBX: 0000000000000000 RCX: 0000000000291b4c RDX: 0000002b00000000 RSI: 0000000000000004 RDI: 0000000000291b28 RBP: ffffaa52004b3e20 R08: 0000000000000004 R09: 0000002bab1c8c7a R10: ffffa424e5500000 R11: 00000000000002a9 R12: 0000000000000001 R13: ffffa424e4475000 R14: 0000000000000001 R15: ffffa424e4475000 FS: 00007f805735f580(0000) GS:ffffa424f8f80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000001f9 CR3: 00000000655ce005 CR4: 00000000003606e0 Killed Fixes: 3ba75830ce17 ("nfsd4: drc containerization") Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22aufs5: refresh patch for v5.3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22aufs5: fix build on v5.3+Bruce Ashfield
1/1 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: fix build on v5.3+ Date: Mon, 22 Jul 2019 23:14:41 -0400 commit 9af0f1a46bbb6ad9ee8b35957251f4aa826b023f changes the rw_sem task owner to an atomic type. We switch to using the introduced helper function to get aufs compiling against 5.3 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22patches: refresh for 5.3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22config: set CONFIG_LIBCRC32C=yBruce Ashfield
Since commit d5178578bcd461cc79118c7a139882350fe505aa Author: Johannes Thumshirn <jthumshirn@suse.de> Date: Mon Jun 3 16:58:57 2019 +0200 btrfs: directly call into crypto framework for checksumming We now have a dependency on crc32 in crypto, and it must be built into the kernel to avoid: | x86_64-poky-linux-ld.bfd: fs/btrfs/super.o: in function `btrfs_mount_root': | super.c:(.text+0xb9b6): undefined reference to `crc32c_impl' | x86_64-poky-linux-ld.bfd: fs/btrfs/super.o: in function `init_btrfs_fs': | super.c:(.init.text+0x362b): undefined reference to `crc32c_impl' | x86_64-poky-linux-ld.bfd: fs/btrfs/extent-tree.o: in function `hash_extent_data_ref': | extent-tree.c:(.text+0xdfa): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: extent-tree.c:(.text+0xe13): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: extent-tree.c:(.text+0xe27): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: fs/btrfs/dir-item.o: in function `btrfs_insert_xattr_item': | dir-item.c:(.text+0x286): undefined reference to `crc32c' So we set our defaults to cover the btrfs build cases without error. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22xilinx-zynqmp: enable kernel options for SDK xlnx_rebase_v4.19Quanyang Wang
The SDK xlnx_rebase_v4.19 bsp patches need enable more kernel options. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22kver/dev: bump to v5.3-rc1Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22awk: refresh patch for v5.2Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-19intel-common-drivers: enable RANDOM_TRUST_CPU for Intel BSPsAnuj Mittal
This enables this configuration to be included for intel-common BSP used by meta-intel. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-19features: add support for RANDOM_TRUST_CPUAnuj Mittal
Enabling this would make the kernel trust CPU's random number generator for the purposes of initializing CRNG. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-19security.cfg: unset HARDENED_USERCOPY_FALLBACKAnuj Mittal
Disable fallback to gain full whitelist enforcement. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-18features/intel-persistent-memory: add pmem support for intel-x86-64Yongxin Liu
Because CONFIG_DEV_DAX* are not supported in preempt-rt kernel, use two scc files for Non-RT kerel and RT kernel separately. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-05feature/net: Create a config variant of net.scc to for featuresHe Zhe
Since b5776165c9d3 ("netfilter: Fix remainder of pseudo-header protocol 0"), net.scc includes a patch which would be reapplied when included by other features. This patches create a config variant net-enable.scc for features and leaves net.scc to BSPs as is. Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-03aufs5: kbuild supportBruce Ashfield
1/5 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: kbuild support Date: Wed, 3 Jul 2019 10:53:33 -0400 Application of aufs5-kbuild.patch Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 2/5 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: base support Date: Wed, 3 Jul 2019 10:54:31 -0400 Application of aufs5-base.patch Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 3/5 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: mmap support Date: Wed, 3 Jul 2019 10:55:03 -0400 Application of; aufs5-mmap.patch Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 4/5 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: standalone support Date: Wed, 3 Jul 2019 10:55:36 -0400 Application of: aufs5-standalone.patch Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] 5/5 [ Author: Bruce Ashfield Email: bruce.ashfield@gmail.com Subject: aufs5: core support Date: Wed, 3 Jul 2019 10:56:53 -0400 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-27features/security: Add more kernel hardening fragmentsHe Zhe
Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-27netfilter: Fix remainder of pseudo-header protocol 0Bruce Ashfield
1/1 [ Author: He Zhe Email: zhe.he@windriver.com Subject: netfilter: Fix remainder of pseudo-header protocol 0 Date: Tue, 25 Jun 2019 18:15:50 +0800 Since v5.1-rc1, some types of packets do not get unreachable reply with the following iptables setting. Fox example, $ iptables -A INPUT -p icmp --icmp-type 8 -j REJECT $ ping 127.0.0.1 -c 1 PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data. — 127.0.0.1 ping statistics — 1 packets transmitted, 0 received, 100% packet loss, time 0ms We should have got the following reply from command line, but we did not. From 127.0.0.1 icmp_seq=1 Destination Port Unreachable Yi Zhao reported it and narrowed it down to: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it"), This is because nf_ip_checksum still expects pseudo-header protocol type 0 for packets that are of neither TCP or UDP, and thus ICMP packets are mistakenly treated as TCP/UDP. This patch corrects the conditions in nf_ip_checksum and all other places that still call it with protocol 0. Fixes: 7fc38225363d ("netfilter: reject: skip csum verification for protocols that don't support it") Reported-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-25bsp/beaglebone: support qemu -machine virtAdrian Freihofer
Purpose: Support booting a beaglebone image with runqemu. If the kernel supports Qemu's virt machine, runqemu works almost for free. The device tree for machine virt is included in Qemu, which simplifies everything quite a bit. This change adds ARCH_VIRT=y and some drivers to the beaglebone kernel configuration which allows to: export MACHINE="beaglebone-yocto" bitbake core-image-minimale runqemu This also works out of an eSDK. Whithout this feature usually two different SDKs need to be compiled and maintained. One SDK is used for development in Qemu, another one is used to develop for the real target hardware. [Yocto #13384] Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-21scsi-debug: include core scsi support for standalone inclusionBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-10power: create the minimum set of cpu idle and cpufreq scaling for arm/arm64Zumeng Chen
This patch is to create the minimum set for cpu idle/freq scaling, which is ok to both arm and arm64 with DT enablement. And we leave more specific features to the end users. Signed-off-by: Zumeng.Chen <zumeng.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-10xilinx-zynqmp: add the basic support xilinx-zynqmpZumeng Chen
This patch is to add scc/cfg meta to build and boot zcu102 board with the bsp of xilinx-zynqmp. Signed-off-by: Zumeng.Chen <zumeng.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-03Add SCSI debug configuration for util-linux ptestMariano López
The ptests from util-linux require the scsi debug module to be installed for a subset of tests. This patch would allow to build the kernel module for the linux-yocto kernel. Signed-off-by: Mariano López <just.another.mariano@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-03kver: bump to v5.2-rc3Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-01features: move ftrace to before arch/armBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-01arm: disable FUNCTION_GRAPH_TRACERBruce Ashfield
Commit dc41fe5d6fb5 [ARM: fix function graph tracer and unwinder dependencies] enforces that we can't have the unwinder and the graph trace enabled at the same time. There is broader use for the unwind functionality, so we explicitly disable the graph tracer for arch/arm. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-05-29dev: v5.2 refresh and prepBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-05-28kver: bump to v5.2-rc1Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-05-16fs/ext4.cfg: remove EXT4_FS_ENCRYPTION and EXT4_ENCRYPTIONAnuj Mittal
These have been removed and are now controlled by CONFIG_FS_ENCRYPTION which is enabled by standard/preempt-rt.cfg. https://github.com/torvalds/linux/commit/643fa9612bf1a29153eee46fd398117632f93cbe Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-05-16netfilter/netfilter.cfg: remove CONFIG_NF_NAT_IPV4Anuj Mittal
This has been removed starting v5.1 and nf_nat_ipv4,6 have been merged in nat core. https://github.com/torvalds/linux/commit/3bf195ae6037e310d693ff3313401cfaf1261b71 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-26usb-net: Add RNDIS host supportTom Rini
Enable support for the USB RNDIS host driver. This is commonly seen with Android devices being used in USB tether mode. Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-23misc: add another awk script to fixup patchBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-09qemuarm-tiny: enable configs required for bootBruce Ashfield
This is a first attempt at enabling some missing config items in a -tiny configuration that are required for boot. This is not a complete configuration, since there are still issues with the hvc console, but it does enable us to boot and login. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-08mips: Enable the poweroff driver for the qemumips/qemumips64Kevin Hao
As Indicated by Richard Purdie, in order to shutdown the machine we have to explicitly enable the PIIX4 poweroff driver for the qemumips/qemumips64 after the kernel commit dd129c6374e9 ("MIPS: Malta: Use PIIX4 poweroff driver to power down") is merged. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-28cgl: audit: Remove CONFIG_AUDIT_WATCH and CONFIG_AUDIT_WATCHHe Zhe
In the following commits, these two options have been replaced by CONFIG_AUDITSYSCALL which is in audit.cfg. c8fc5d49c341 ("audit: remove WATCH and TREE config options") cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled") Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-21intel-x86: add Intel VMD supportLiwei Song
Enable CONFIG_VMD=y to support Intel VMD and VROC feature. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-21cfg/efi.cfg: built-in CONFIG_EFIVAR_FS to support Intel VROCLiwei Song
The only way to boot from Intel VROC RAID disk is use initramfs with mdadm installed, mdadm is used to initialize RAID volume and create md device, During initialization it need read RAID status from efivarfs, so efivarfs must be ready before mdadm initialize RAID volume built-in efivarfs to kernel can aviod the timing problem and make mdadm work well. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-21intel-x86: built-in nvme driver to support boot from nvme diskLiwei Song
change CONFIG_BLK_DEV_NVME=m to CONFIG_BLK_DEV_NVME=y to build-in nvme driver to kernel to support boot from nvme disk. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-21x86/resctrl: Rename INTEL_RDT to RESCTRLHe Zhe
The following upstream commits have renamed INTEL_RDT to RESCTRL. 6fe07ce35e8a ("x86/resctrl: Rename the config option INTEL_RDT to RESCTRL") e6d429313ea5 ("x86/resctrl: Avoid confusion over the new X86_RESCTRL config") Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-18intel-pinctrl: add pinctrl support for cannonlakePradhan Surya Narayanx
This patch adds pinctrl support for cannonlake. Signed-off-by: Pradhan Surya Narayanx <surya.narayanx.pradhan@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-17sound: Re-enable ENS1370 supportTom Rini
Both the qemux86 and qemux86-64 targets RRECOMMEND the ens1370 kernel module and set QB_AUDIO_OPT to support that as one of the audio cards as well. Fixes: daadaf7fd7d5 ("yocto-kernel-cache: [PATCH] Update audio support v2") Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-10arm/Makefile: Fix systemtapBruce Ashfield
1/1 [ Author: Richard Purdie Email: richard.purdie@linuxfoundation.org Subject: arm/Makefile: Fix systemtap Date: Sun, 10 Mar 2019 06:43:15 +0000 Currently systemtap fails to operate correctly on armv7 systems such as beaglebone and soon, qemuarm. root@qemuarm:/usr/src/kernel# env -uARCH -uKBUILD_EXTMOD -uCROSS_COMPILE -uKBUILD_IMAGE -uKCONFIG_CONFIG -uINSTALL_PATH -uLD_LIBRARY_PATH PATH=/usr/bin:/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin make -C /lib/modules/4.19.19-yocto-standard/build M=/tmp/staptcNU6M modules CONFIG_DEBUG_INFO= CONFIG_STACK_VALIDATION= ARCH=arm stap_4321_src.i --no-print-directory -j2 V=1 test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) mkdir -p /tmp/staptcNU6M/.tmp_versions ; rm -f /tmp/staptcNU6M/.tmp_versions/* make -f ./scripts/Makefile.build obj=/tmp/staptcNU6M (cat /dev/null; echo kernel//tmp/staptcNU6M/stap_4321.ko;) > /tmp/staptcNU6M/modules.order gcc -Wp,-MD,/tmp/staptcNU6M/.stap_4321_src.o.d -nostdinc -isystem /usr/lib/gcc/arm-poky-linux-gnueabi/8.3.0/include -I./arch/arm/include -I./arch/arm/include/generated -I./include -I./arch/arm/include/uapi -I./arch/arm/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -fno-dwarf2-cfi-asm -fno-omit-frame-pointer -mapcs -mno-sched-prolog -fno-ipa-sra -mabi=aapcs-linux -mfpu=vfp -funwind-tables -marm -Wa,-mno-warn-deprecated -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a -msoft-float -Uarm -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Os -Wno-maybe-uninitialized --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -Iinclude2/asm/mach-default -I/lib/modules/4.19.19-yocto-standard/build -include /tmp/staptcNU6M/stapconf_4321.h -D "STP_NO_VELREL_CHECK" -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 -fno-ipa-icf -Wno-unused -Wno-tautological-compare -Werror -I/usr/share/systemtap/runtime -DMODULE -DKBUILD_BASENAME='"stap_4321_src"' -DKBUILD_MODNAME='"stap_4321"' -c -o /tmp/staptcNU6M/stap_4321_src.o /tmp/staptcNU6M/stap_4321_src.c /tmp/ccaE9CMG.s: Assembler messages: /tmp/ccaE9CMG.s:49: Error: selected processor does not support `dmb ish' in ARM mode /tmp/ccaE9CMG.s:52: Error: architectural extension `mp' is not allowed for the current b (which was from running the stap command with -v -v -v -k and then being able to run the command individually) Note that it says armv5t above. That comes from the code this patch changes root@qemuarm:/usr/src/kernel# gcc -march=armv7-a /tmp/staptcNU6M/stap_4321_aux_0.c cc1: error: -mfloat-abi=hard: selected processor lacks an FPU which makes me wonder if cc-option fails unless -mfpu-vfp is on the commandline too. Since we have a gcc which accepts the armv7-a arch, just remove the cc-option wrapper unconditionally here. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-08arm: enable unwinderBruce Ashfield
x86 (and other) arches have unwind options enabled by default. To allow things like systemtap and debugging to work out of the box, we enable the arm unwind config by default. This can be overridden and disabled in the various BSP configs. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-06beaglebone: Switch to the 8250 omap driverKevin Hao
In the v5.0 kernel, the SERIAL_OMAP driver doesn't work anymore. So switch to the 8250 omap driver for the serial support. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-06beaglebone: Update the audio optionsKevin Hao
With the commit f2055e145f29 ("ASoC: ti: Merge davinci and omap directories"), some of the audio options are removed from the kernel. Use the new options for the audio support. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-03-06mpc8315e-rdb: Enable the CONFIG_MTD_PHYSMAPKevin Hao
This is needed by the CONFIG_MTD_PHYSMAP_OF. Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>