summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-08-05overlay_of.scc: Support Xilinx overlays feature fragmentChandana kalluri
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-05v4l2.scc: Add config fragment to enable Xilinx v4l2 features.Chandana kalluri
Add configuration fragment to features/xilinx to enable v4l2 drivers Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-05kc705-microblazeel-features: Add config fragment support to build ↵Chandana kalluri
kc705-microblazeel features Add kernel config fragments to enable and build Xilinx kc705-microblazeel bsp features Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-05zybo-linux-bd-zynq7.scc: Add config fragment for Digilent Zybo linux_bd projectChandana kalluri
Add config fragment to support Digilent Zybo linux_bd project Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-05mipi-config-ultra96.scc: Add config fragment to support mipi pipeline on ↵Chandana kalluri
Ultra96-zynqmp Add config fragment to support mipi camera capture pipeline on Ultra96-zynqmp. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-03kver: bump to 5.8Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24bsp: enable CONFIG_MEDIA_PLATFORM_SUPPORT kernel optionQuanyang Wang
Because of the commit 06b93644f4d1 ("media: Kconfig: add an option to filter in/out platform drivers"), CONFIG_MEDIA_PLATFORM_SUPPORT must be enabled when we want to enable CONFIG_V4L_PLATFORM_DRIVERS. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24features/thermal: fix the dependency for CONFIG_INTEL_SOC_PMIC_BXTWCYongxin Liu
In kernel commit 25f1ca31e230 ("platform/x86: intel_pmc_ipc: Convert to MFD"), CONFIG_INTEL_SOC_PMIC_BXTWC is changed to depend on CONFIG_MFD_INTEL_PMC_BXT instead of CONFIG_INTEL_PMC_IPC. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24bcm-2xxx-rpi: build fixed regulator driver into kernel imageLimeng
set CONFIG_REGULATOR_FIXED_VOLTAGE=y so that fixed regulator driver is built into kernel image, not as a module. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24bcm-2xxx-rpi: update kernel config for raspberry pi4 platformLimeng
Because latest kernel has been upgraded to v5.8, update kernel config for raspberry pi4 platform accordingly. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24bcm-2xxx-rpi: enable CONFIG_BROADCOM_PHY for raspberry pi4 platformLimeng
Enable phy driver for raspberry pi4 platform. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-13ocicontainers: cleanup and split fragmentsBruce Ashfield
The oci containers fragment was imported from the configuration of meta-virtualization. But the structure of fragments in meta-virt is flat, compared to the kernel-cache. We drop the duplicate lxc fragment, and sync with the main fragment. We also split out the vswitch and docker fragments so that they can be more easily found and re-used. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-13containers: lxc: drop RT_GROUP_SCHEDBruce Ashfield
The group scheduling options in the lxc fragment were initially used to support performance guaranteed systems using containers. This option now causes issues with systemd runtimes and the original feature it implemented is no longer relevant Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-07renesas-rcar: enable CONFIG_MEDIA_PLATFORM_SUPPORT kernel configureLimeng
Kernel version has beed upgraded to v5.8, it is need to enable CONFIG_MEDIA_PLATFORM_SUPPORT to support media related features on renesas-rcar platform. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-07bcm-2xxx-rpi: adjuest kernel config for bcm-2xxx-rpi BSP in kernel-cacheLimeng
In order to match with latest kernel v5.7, some kernel configs need to be updated. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-04dev: prep for v5.8Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-29features/ice: Add ice support for intel-x86 bspYongxin Liu
This will enable CONFIG_ICE=m for intel-x86 bsp. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-28bsp/intel-x86: Add EDAC driver for Intel 10nm server processorsYongxin Liu
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-11features/intel-sst: move from intel-common-drivers.scc to ↵Naveen Saini
intel-corei7-64-standard.scc CONFIG_INTEL_SPEED_SELECT_INTERFACE depends on x86-64. Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-05features/intel-sst: Enable Intel Speed Select Technology interface configurationNaveen Saini
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-01bsp/intel-x86.scc: enable USB Webcam supportLiwei Song
This will enable various USB web camera support for intel-x86 bsp. Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-28features: add reproducibility fragementBruce Ashfield
Creating an initial feature fragment that can be included when a reproducible kernel build is desired. This is currently only one option, but will have more in the future. Signen-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-25kver: bump to v5.7-rc7Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-19kver: bump to v5.7-rc6Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-11renesas-rcar: update renesas arch kernel configLimeng
In latest kernel v5.7, CONFIG_ARCH_R8A7795 is removed and splited into 2 configs CONFIG_ARCH_R8A77950/1. The config CONFIG_ARCH_R8A7796 is replaced by CONFIG_ARCH_R8A77960. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-11renesas-rcar: enable kernel config CONFIG_USB_ROLE_SWITCHLimeng
drivers/usb/dwc3/drd.c invokes functions defined in drivers/usb/roles/class.c. So, enable the related kernel config. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-08perf: perf can not parser the backtrace of app in the 32bit system and 64bit ↵Bruce Ashfield
kernel. 1/1 [ Author: Jiping Ma Email: jiping.ma2@windriver.com Subject: perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel. Date: Thu, 30 Apr 2020 09:35:06 +0800 Record PC value from regs[15], it should be regs[32], which cause perf parser the backtrace failed. Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-08arm64/perf: fix backtrace for AAPCS with FP enabledYanfei Xu
This change is for arm64 platform compat mode. ------[cut here: not apply patch]-------- Samples: 119K of event 'cycles' Event count (approx.): 114092698680 Children Self Command Shared Object Symbol ........ ........ ......... .................. 99.85% 0.00% perf-test [unknown] [.] 0x00000000ff80f4ec | ---0xff80f4ec | |--37.68%--__aeabi_idivmod | |--25.35%--calculate_meaning_of_life | |--20.06%--____aeabi_idivmod_from_thumb | |--7.25%--0 | | | |--1.76%--0xf543df9c | | __gettimeofday ------[cut here: apply patch]------------ Samples: 114K of event 'cycles' Event count (approx.): 109799966925 Children Self Command Shared Object Symbol ........ ........ ......... .................. 99.91% 0.00% perf-test perf-test [.] main | ---main | |--57.49%--pthread_create@@GLIBC_2.4 | | | --57.44%--0xf7cf2f88 | | | |--20.16%--__aeabi_idivmod | | | |--13.79%--calculate_meaning_of_life | | | |--10.89%--____aeabi_idivmod_from_thumb | | | |--8.99%--current_timestamp | | | | | --8.98%--__gettimeofday 1/1 [ Author: Fang Jia Email: fang.jia@windriver.com Subject: arm64/perf: fix backtrace for AAPCS with FP enabled Date: Fri, 28 Dec 2018 16:28:34 +0800 This change is for arm64 platform compat mode. The change for arm32 platform has been included in this commit "perf: fix backtrace for AAPCS with FP enabled". This change replaces code designed for the obsolete ARM APCS ABI, which causes failures of the perf backtrace logic unless the gcc option -mapcs-frame is used to build all binaries on the platform. This obsolete gcc option forces the compiler to include the stack pointer along with the frame pointer and link register in the stack frame for each funciton call. The current AAPCS ABI document, doesn't explicitly describe the frame structure when the gcc frame pointer option, -fno-omit-frame-pointer, is enabled. However, with this option enabled, examination of the emitted prologue instructions shows that 1) R11 is used as the frame pointer, 2) only the R11 and LR are saved onto the stack, not the stack pointer, 3) after this prologue setup, the frame pointer, R11 points to the saved location of LR on the stack. The use of unsigned int arithmetic in the commit is required since the gcc emitted pointer arithmetic uses 8-byte pointer sizes, which are incorrect addresses for the 4-byte stack address size. Signed-off-by: Fang Jia <fang.jia@windriver.com> Reviewed-by: Jiwei Sun <jiwei.sun@windriver.com> Signed-off-by: De Huo <de.huo@windriver.com> ] Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-06kernel/features: remove uptime restrictionsBruce Ashfield
The uptime feature was specifically requested in the early days of linux-yocto. It is no longer useful, and is causing build issues, so we remove it completely. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02v5.7: patch refreshesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02yaffs: fix misplaced variable declarationBruce Ashfield
1/1 [ Author: Paul Gortmaker Email: paul.gortmaker@windriver.com Subject: yaffs: fix misplaced variable declaration Date: Thu, 30 Apr 2020 12:59:46 -0400 A variable declaration landed one function higher than intended, leading to an unused variable warning for configurations with YAFFS_USE_DIR_ITERATE=y and a build failure for configurations with the same being unset. Fixes: "yaffs: Fix build failure by handling inode i_version with proper atomic API" Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02kver: bump to v5.7-rcBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02bpf: Add CONFIG_IKHEADERSHe Zhe
bcc and bpftrace may require kernel headers to be able to build tools. Otherwise it would fail as modprobe: module kheaders not found in modules.dep Unable to find kernel headers. Try rebuilding kernel with CONFIG_IKHEADERS=m (module) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-05-02feathures/stm: Add support for System Trace ModuleJun Miao
A System Trace Module (STM) is a device exporting data in System Trace Protocol (STP) format as defined by MIPI STP standards.Examples of such devices are Intel(R) Trace Hub and Coresight STM. And the Intel(R) Software Trace Hub uses stm class device to interface with its sources. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-26feathures/intel-th: Add support for Intel Trace HubJun Miao
Intel Trace Hub is a new concept/mechanism, used to transport messages from the SoC to external monitor through a USB connector. Add the Intel Trace Hub support on Tiger Lake UP3/UP4 Platform. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-26features/ocicontainer: Enable configs to support containersSai Hari Chandana Kalluri
Enable cgroups, docker, ebtables, lxc, vmswitch, xt-checksum configs to support ocicontainers Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-26features/xen: Enable xen configurationsSai Hari Chandana Kalluri
Enable xen configurations Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-20features/thunderbolt: Add support for WMI interface and networking over ↵Jun Miao
thunderbolt In the new kernel version, CONFIG_THUNDERBOLT be replaced by CONFIG_USB4. Meanwhile, enable WMI interface support. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-15bsp/intel-x86: enable HWPoison pages injector and mcelog legencyLiwei Song
Enable the following config to support the "legency mcelog" and "recovery from hardware memory errors": CONFIG_X86_MCELOG_LEGACY=y CONFIG_MEMORY_FAILURE=y CONFIG_HWPOISON_INJECT=m Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-08mti_malta32: fix the pci resource conflictsBruce Ashfield
1/1 [ Author: Jack Tan Email: jack.tan@windriver.com Subject: mti_malta32: fix the pci resource conflicts Date: Wed, 10 Mar 2010 15:05:39 +0800 commit id 79896cf42f use request_resource() to replace the insert_resource() in pci_claim_resource(). But this does not fit the malta pci. With the new request_resource() kernel allocate a collision io resource for PCI ethernet. This disturb the PCI io space. One device use 0x1000 - 0x103f and the PCI ethernet use 0x1020 - 0x103f and this is cause the ethernet can't be accessed. This fix supplies a fixup function to fix the ioport collision. The old kernel log: pci 0000:00:0a.1: BAR 4: assigned [io 0x1040-0x104f] pci 0000:00:0a.1: BAR 4: set to [io 0x1040-0x104f] (PCI address [0x1040-0x104f] pci 0000:00:0a.2: BAR 4: assigned [io 0x1000-0x101f] pci 0000:00:0a.2: BAR 4: set to [io 0x1000-0x101f] (PCI address [0x1000-0x101f] pci 0000:00:0a.3: address space collision: [io 0x1000-0x103f] already in use pci 0000:00:0a.3: quirk: [io 0x1000-0x103f] claimed by PIIX4 ACPI pci 0000:00:0a.3: address space collision: [io 0x1100-0x110f] already in use pci 0000:00:0a.3: quirk: [io 0x1100-0x110f] claimed by PIIX4 SMB pci 0000:00:0a.3: BAR 7: [io 0x1000-0x103f] has bogus alignment pci 0000:00:0a.3: BAR 8: [io 0x1100-0x110f] has bogus alignment pci 0000:00:0b.0: BAR 0: assigned [io 0x1020-0x103f] pci 0000:00:0b.0: BAR 0: set to [io 0x1020-0x103f] (PCI address [0x1020-0x103f] pci 0000:00:0b.0: BAR 1: assigned [mem 0x10111000-0x1011101f] pci 0000:00:0b.0: BAR 1: set to [mem 0x10111000-0x1011101f] (PCI address [0x10111000-0x1011101f] pci 0000:00:0b.0: BAR 6: assigned [mem 0x10000000-0x100fffff pref] pci 0000:00:0c.0: BAR 0: assigned [mem 0x10110000-0x10110fff] pci 0000:00:0c.0: BAR 0: set to [mem 0x10110000-0x10110fff] (PCI address [0x10110000-0x10110fff] pci 0000:00:0c.0: BAR 1: assigned [mem 0x10100000-0x1010ffff] pci 0000:00:0c.0: BAR 1: set to [mem 0x10100000-0x1010ffff] (PCI address [0x10100000-0x1010ffff] ...... pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de pcnet32: No access methods ...... ...... And a fixup to the original change: [ mips: malta PCI fixup, fix __init annotation warning Currently we see the following link warning: WARNING: vmlinux.o(.pci_fixup_final+0xefc): Section mismatch in reference from the variable __pci_fixup_malta_pcnet32_ioports_fixup164 to the function .init.text:malta_pcnet32_ioports_fixup() The variable __pci_fixup_malta_pcnet32_ioports_fixup164 references a function __init malta_pcnet32_ioports_fixup(). This is often seen when error handling in the init function uses functionality in the exit path. The fix is often to remove the __init annotation of malta_pcnet32_ioports_fixup() so it may be used outside an exit section. This is from the addition of "mti_malta32: fix the pci resource conflicts" (5c19c1c31c77 on v5.2/standard/mti-malta32) - which is a relatively old commit, but w/o a malta+PCnet32, I can't speak to whether this commit is still needed, or if the PCI resource overlap was solved another way. Hence here, we take the safe path and just remove the __init annotation. ] Signed-off-by: Jack Tan <jack.tan@windriver.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-08kernel-cache: drop apparmor_on_boot.cfg from apparmor.sccakuster
Forgot to refresh prior to sending patch for below commit: Commit: 97c1acde apparmor/apparmor_on_boot: drop config no longer exists in 5.4 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-04-05nfsroot: set tcp as the defalut transport protocolBruce Ashfield
1/1 [ Author: Liwei Song Email: liwei.song@windriver.com Subject: nfsroot: set tcp as the defalut transport protocol Date: Fri, 3 Apr 2020 15:23:19 +0800 UDP is disabled by default in commit b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol"), but the default mount options is still udp, change it to tcp to avoid the "Unsupported transport protocol udp" error if no protocol is specified when mount nfs. Fixes: b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol") Signed-off-by: Liwei Song <liwei.song@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-30apparmor/apparmor_on_boot: drop config no longer exists in 5.4akuster
Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-25features/f2fs: add f2fs fragment supportqzhang2
This fragment enbale linux kernel f2fs related options etc Signed-off-by: qzhang2 <qiang.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-24bsp/ti-am65x: remove duplicate config option CONFIG_NETDEVICESYanfei Xu
CONFIG_NETDEVICES is set twice, remove one of them. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-24bsp/ti-am335x: drop PRUSS invalid cfg optionJun Miao
There isn`t PRUSS(Programmable Real-Time Units) driver in kernel. So removed it support under the basic support to avoid kernel_configcheck build warning. Signed-off-by: Jun Miao <jun.miao@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-21bsp/ti-am335x: drop some invalid cfg optionsYanfei Xu
drop TI_DAVINCI_CPDMA option removed from v5.2 kernel https://github.com/torvalds/linux/commit/99f629718272974405e8d180d2fa70c03c06d61f drop SND_DAVINCI_SOC_MCASP option removed from v5.0 kernel https://github.com/torvalds/linux/commit/f2055e145f2975a75dace8e386fad9364828cdb4 drop MMC_UNSAFE_RESUME option removed from v3.16 kernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/m mc/core/Kconfig?h=v3.16.82&id=2501c9179dff2add6aadd3898cd729e94e777d3a drop DRM_OMAP_PANEL_DPI option removed from v5.2 kernel. https://github.com/torvalds/linux/commit/8bf4b1621178ef05bde5b9a14a117ff951dd1260 MTD_NAND option was renamed MTD_RAW_NAND in v5.2 kernel https://github.com/torvalds/linux/commit/72c5af00272339af6bbed6fe7275cd731f57be2d MTD_NAND_ECC was renamed MTD_NAND_ECC_SW_HAMMING in v5.2 kernel https://github.com/torvalds/linux/commit/9bb94643b94115990ffec18c8129f1ab970765c1 drop BACKLIGHT_LCD_SUPPORT option removed from v5.2 kernel https://github.com/torvalds/linux/commit/8c5dc8d9f19c7992b5ed557b865127a80149041b drop TI_CPSW_ALE option removed from v5.2 kernel https://github.com/torvalds/linux/commit/16f54164828b253d7792b67b05c07540f236ece5 drop MMC_BLOCK_BOUNCE removed from v4.13 kernel https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/m mc/core/Kconfig?h=linux-4.13.y&id=c3dccb74be28a345a2ebcc224e41b774529b8b8f Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-21bsp: delete obsolete kernel option CONFIG_MTD_M25P80Quanyang Wang
Because of upstream commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c"), CONFIG_MTD_M25P80 is not used anymore. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-21Revert "platform/x86: wmi: Destroy on cleanup rather than unregister"Bruce Ashfield
1/1 [ Author: Yongxin Liu Email: yongxin.liu@windriver.com Subject: Revert "platform/x86: wmi: Destroy on cleanup rather than unregister" Date: Wed, 27 Nov 2019 16:46:58 +0800 This reverts commit 7b11e8989618581bc0226ad313264cdc05d48d86. Consider the following hardware setting. |-PNP0C14:00 | |-- device #1 |-PNP0C14:01 | |-- device #2 When unloading wmi driver module, device #2 will be first unregistered. But device_destroy() using MKDEV(0, 0) will locate PNP0C14:00 first and unregister it. This is incorrect. Should use device_unregister() to unregister the real parent device. Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> ] Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-19bsp/nxp-ls20xx: Enable CONFIG_ENERGY_MODELYanfei Xu
1)CONFIG_ENERGY_MODEL is a default configure items of arm64 defconfig. Reference: https://patchwork.kernel.org/patch/10944391/ 2)THERMAL_GOV_POWER_ALLOCATOR is set to y in nxp-ls20xx.cfg, but from v5.5 kernel, the THERMAL_GOV_POWER_ALLOCATOR depends on ENERGY_MODEL. So we enable it for THERMAL_GOV_POWER_ALLOCATOR can take effect. Reference: https://github.com/torvalds/linux/commit/a4e893e802e6a807df2e2f3f660f7399bc7e104e Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>