After the update to 4.4.36 -rt no longer builds. The fixes for the
issues are found in the v4.4-rt43 release.
(From OE-Core rev: 262fff10ba5cdedbee9ba9ecf00f98dc9159477c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
356ccf6d2b0c Linux 4.8.12
f81c90012f2f scsi: mpt3sas: Unblock device after controller reset
3de3eebb10fd flow_dissect: call init_default_flow_dissectors() earlier
7838fbe25a95 mm, oom: stop pre-mature high-order OOM killer invocations
374ff835e2b6 can: bcm: fix support for CAN FD frames
7ed8d94b99b3 powerpc/boot: Fix the early OPAL console wrappers
7cbe9568fa04 powerpc/mm: Fixup kernel read only mapping
30988ea31783 powerpc: Set missing wakeup bit in LPCR on POWER9
8d248df485f2 device-dax: fail all private mapping attempts
f87a483126b5 device-dax: check devm_nsio_enable() return value
5b08489eba14 xc2028: Fix use-after-free bug properly
9030deb21f29 X.509: Fix double free in x509_cert_parse() [ver #3]
0257b7e20c07 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
bdab996a7a9e mmc: sdhci-of-esdhc: fixup PRESENT_STATE read
0a80bef18a9f parisc: Also flush data TLB in flush_icache_page_asm
09e35a83cdc9 parisc: Fix race in pci-dma.c
3cb2bc6fdc54 parisc: Switch to generic sched_clock implementation
113b60efa37c parisc: Fix races in parisc_setup_cache_timing()
b2f64572db2e thermal/powerclamp: add back module device table
6dfe1643b56a perf/x86/intel: Cure bogus unwind from PEBS entries
403f47ddbf6b perf/core: Fix address filter parser
c5795c5f682d x86/traps: Ignore high word of regs->cs in early_fixup_exception()
885bad1e5f32 x86/fpu: Fix invalid FPU ptrace state after execve()
1a42cd56229b NFSv4.x: hide array-bounds warning
154c665b2b02 apparmor: fix change_hat not finding hat after policy replacement
9c15a98542f0 cfg80211: limit scan results cache size
f204d21ee0b7 tile: avoid using clocksource_cyc2ns with absolute cycle count
c707019bef62 scsi: mpt3sas: Fix secure erase premature termination
b33387f6a68d Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
89a28f3a3c77 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
6476f6530187 USB: serial: cp210x: add ID for the Zone DPMX
7445ffb75ed5 usb: chipidea: move the lock initialization to core file
32fe669c8634 KVM: x86: check for pic and ioapic presence before use
c02d13809180 KVM: x86: fix out-of-bounds accesses of rtc_eoi map
39b653013527 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
3c22c81377d4 KVM: x86: fix out-of-bounds access in lapic
eb060c1a03f7 iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
8b23f16343f6 iommu/vt-d: Fix PASID table allocation
36bd5bfe4349 Linux 4.8.11
a9a0027757f8 gpio: pca953x: Fix corruption of other gpios in set_multiple.
88fce76cf590 gpio: pca953x: Move memcpy into mutex lock for set multiple
9a7b80894951 netfilter: nft_dynset: fix element timeout for HZ != 1000
fd4251fa4d09 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
8ce92be782f8 IB/uverbs: Fix leak of XRC target QPs
160149299f71 IB/hfi1: Remove incorrect IS_ERR check
46e47543175b IB/core: Avoid unsigned int overflow in sg_alloc_table
82c377d05311 IB/mlx5: Fix NULL pointer dereference on debug print
554e4b69f1bb IB/mlx5: Fix fatal error dispatching
32091ee63d17 IB/mlx5: Fix memory leak in query device
21822a5bbddd IB/mlx5: Use cache line size to select CQE stride
ad886a0e9035 IB/mlx5: Validate requested RQT size
76a93a6f8dd7 IB/mlx4: Fix create CQ error flow
4234e6a06f8b IB/mlx4: Check gid_index return value
fc9275365065 IB/rxe: Clear queue buffer when modifying QP to reset
3c87b4a8f6d5 IB/rxe: Fix handling of erroneous WR
c4605a0e9605 IB/rxe: Fix kernel panic in UDP tunnel with GRO and RX checksum
04d016249998 IB/rxe: Update qp state for user query
bac1543b764c perf hists: Fix column length on --hierarchy
4cba876de64d PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
2e2c8f0e7502 PM / sleep: fix device reference leak in test_suspend
fd669bf2a099 uwb: fix device reference leaks
ab17baeaea91 sunrpc: svc_age_temp_xprts_now should not call setsockopt non-tcp transports
8c7ea73e3a9b mfd: core: Fix device reference leak in mfd_clone_cell
545ea4003db9 iwlwifi: mvm: wake the wait queue when the RX sync counter is zero
8bfaf856695b iwlwifi: mvm: fix d3_test with unified D0/D3 images
8cdfd32398b5 iwlwifi: mvm: fix netdetect starting/stopping for unified images
6e3324dc039c iwlwifi: pcie: mark command queue lock with separate lockdep class
b822907865cc iwlwifi: pcie: fix SPLC structure parsing
edb60ee4bc65 rtc: omap: Fix selecting external osc
5f95e68daae3 clk: imx: fix integer overflow in AV PLL round rate
fec43900c9b7 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
63465eaf7b2e clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a42bbd552ded clk: mmp: pxa910: fix return value check in pxa910_clk_init()
bb6c9ec826be virtio-net: drop legacy features in virtio 1 mode
899f5426eebf drm/i915: Assume non-DP++ port if dvo_port is HDMI and there's no AUX ch specified in the VBT
f6920e506992 drm/i915: Refresh that status of MST capable connectors in ->detect()
56a02a5f60ea drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
3eac4767dd7e powerpc/64: Fix setting of AIL in hypervisor mode
fc312878ffe3 crypto: caam - do not register AES-XTS mode on LP units
54f28973e8a5 ARM: dts: imx53-qsb: Fix regulator constraints
7001b98b9dce ext4: sanity check the block and cluster size at mount time
56df604296c2 kbuild: Steal gcc's pie from the very beginning
e14754cb8f0c x86/kexec: add -fno-PIE
ad4e2f324ade scripts/has-stack-protector: add -fno-PIE
1c7727d0bca0 kbuild: add -fno-PIE
20bcbe246933 Disable the __builtin_return_address() warning globally after all
504b60516ba7 i2c: i2c-mux-pca954x: fix deselect enabling for device-tree
45244660281c i2c: mux: fix up dependencies
ce97f5012b6d ALSA: hda - Fix mic regression by ASRock mobo fixup
23e14ee1abcf ALSA: hda - add a new condition to check if it is thinkpad
85fcb62a58b2 ALSA: usb-audio: Fix use-after-free of usb_device at disconnect
e902f10da218 gpio: do not double-check direction on sleeping chips
b21b327d96bc can: bcm: fix warning in bcm_connect/proc_register
50e6cd2feff7 mfd: stmpe: Fix RESET regression on STMPE2401
e015527c6fbd mfd: intel-lpss: Do not put device in reset state on suspend
8b4d44f46bf2 IB/hfi1: Fix rnr_timer addition
06eac15f11e0 IB/rdmavt: rdmavt can handle non aligned page maps
ca720a2b11b4 fuse: fix fuse_write_end() if zero bytes were copied
de58c50e84e2 genirq: Use irq type from irqdata instead of irqdesc
8844024c8839 ftrace: Add more checks for FTRACE_FL_DISABLED in processing ip records
c5d20ce0b459 ftrace: Ignore FTRACE_FL_DISABLED while walking dyn_ftrace records
f271087fb2ea KVM: arm64: Fix the issues when guest PMCCFILTR is configured
8d8b37e242de arm64: KVM: pmu: Fix AArch32 cycle counter access
1cb9b2489e77 KVM: Disable irq while unregistering user notifier
23555ca21394 KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
f8c74cf95655 x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
(From OE-Core rev: beb9adb4763a1bbed182503371921e676ccd4ae2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
shortlog of the changes follow:
87c6c6ef5b17 Linux 4.4.36
6eddf5c993dd scsi: mpt3sas: Unblock device after controller reset
c178e4809df7 flow_dissect: call init_default_flow_dissectors() earlier
0b7860d6e88c mei: fix return value on disconnection
bab2f72f70ea mei: me: fix place for kaby point device ids.
4f13967ecd20 mei: me: disable driver on SPT SPS firmware
e1049372d7a7 drm/radeon: Ensure vblank interrupt is enabled on DPMS transition to on
249090830942 mpi: Fix NULL ptr dereference in mpi_powm() [ver #3]
cd4235a794c0 parisc: Also flush data TLB in flush_icache_page_asm
7a1ab6a2bf3a parisc: Fix race in pci-dma.c
e541fd815db9 parisc: Fix races in parisc_setup_cache_timing()
0c0ddbf7efec NFSv4.x: hide array-bounds warning
be79d7fa43f9 apparmor: fix change_hat not finding hat after policy replacement
8316338a201b cfg80211: limit scan results cache size
4df31626fc08 tile: avoid using clocksource_cyc2ns with absolute cycle count
ffffc1ed47e7 scsi: mpt3sas: Fix secure erase premature termination
ab0867dd8bc8 Fix USB CB/CBI storage devices with CONFIG_VMAP_STACK=y
f3f95f177269 USB: serial: ftdi_sio: add support for TI CC3200 LaunchPad
1f36db0b397f USB: serial: cp210x: add ID for the Zone DPMX
55d061bf9d23 usb: chipidea: move the lock initialization to core file
341f9730c29b KVM: x86: check for pic and ioapic presence before use
b7f9404d1b48 KVM: x86: drop error recovery in em_jmp_far and em_ret_far
c091bbddbc5e iommu/vt-d: Fix IOMMU lookup for SR-IOV Virtual Functions
d88a1bd00cfa iommu/vt-d: Fix PASID table allocation
0a5b451a53d4 Linux 4.4.35
1ba7fafae3c2 netfilter: nft_dynset: fix element timeout for HZ != 1000
698a8dddb8a5 IB/cm: Mark stale CM id's whenever the mad agent was unregistered
2b026a265a9a IB/uverbs: Fix leak of XRC target QPs
eba83a85caba IB/core: Avoid unsigned int overflow in sg_alloc_table
c524185c81d4 IB/mlx5: Fix fatal error dispatching
734039913373 IB/mlx5: Use cache line size to select CQE stride
7cf5b7882184 IB/mlx4: Fix create CQ error flow
41664d7077e9 IB/mlx4: Check gid_index return value
04c0800c73b2 PM / sleep: don't suspend parent when async child suspend_{noirq, late} fails
469fcbcb84d8 PM / sleep: fix device reference leak in test_suspend
680bc27065b9 uwb: fix device reference leaks
dd214a159de6 mfd: core: Fix device reference leak in mfd_clone_cell
d2adb5ebec61 iwlwifi: pcie: fix SPLC structure parsing
1f995573bac8 rtc: omap: Fix selecting external osc
c8aa3e98c1a8 clk: mmp: mmp2: fix return value check in mmp2_clk_init()
96576127ffb7 clk: mmp: pxa168: fix return value check in pxa168_clk_init()
a4709b4582ac clk: mmp: pxa910: fix return value check in pxa910_clk_init()
d039fc37ec7f drm/amdgpu: Attach exclusive fence to prime exported bo's. (v5)
96f10a6239a2 crypto: caam - do not register AES-XTS mode on LP units
454cf79b05c5 ext4: sanity check the block and cluster size at mount time
147117cf23c0 kbuild: Steal gcc's pie from the very beginning
e543f094a38a x86/kexec: add -fno-PIE
3a868dde1824 scripts/has-stack-protector: add -fno-PIE
f740b5cc39dd kbuild: add -fno-PIE
936d157fa7ae i2c: mux: fix up dependencies
4e583b89add6 can: bcm: fix warning in bcm_connect/proc_register
0c6e0db9686b mfd: intel-lpss: Do not put device in reset state on suspend
b7321bcc8b1c fuse: fix fuse_write_end() if zero bytes were copied
d4a774fdb92f KVM: Disable irq while unregistering user notifier
b689e86c9a8f KVM: x86: fix missed SRCU usage in kvm_lapic_set_vapic_addr
aea9d760b8ba x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems
4eb9a8100248 Linux 4.4.34
b4bbdcef7d90 sparc64: Delete now unused user copy fixup functions.
cb85910b0d45 sparc64: Delete now unused user copy assembler helpers.
1c7e17b1c4d6 sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
7181969338f8 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
bfc8be659309 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
dc3a7a7d2c85 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
1731d90d8a55 sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
8a444c770f6e sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
c718e917b3d3 sparc64: Convert copy_in_user to accurate exception reporting.
dd8a78b2b6ad sparc64: Prepare to move to more saner user copy exception handling.
756723ad553d sparc64: Delete __ret_efault.
f5a69ff7486e sparc64: Handle extremely large kernel TLB range flushes more gracefully.
d36a1ac49d24 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
5d8eb954763d sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
217f829ae967 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
2ba06323db41 sparc64: Handle extremely large kernel TSB range flushes sanely.
75931800733c sparc: Handle negative offsets in arch_jump_label_transform
8fd11efa2140 sparc64 mm: Fix base TSB sizing when hugetlb pages are used
4e90b6880135 sparc: serial: sunhv: fix a double lock bug
a395f7a66eec sparc: Don't leak context bits into thread->fault_address
4e772c53ab98 tty: Prevent ldisc drivers from re-using stale tty fields
225a24ae9733 tcp: take care of truncations done by sk_filter()
ae9e052a58ef ipv4: use new_gw for redirect neigh lookup
5c67f9477bb2 net: __skb_flow_dissect() must cap its return value
b67ed647d135 sock: fix sendmmsg for partial sendmsg
0650eeb4f187 fib_trie: Correct /proc/net/route off by one error
3f8857a4971d sctp: assign assoc_id earlier in __sctp_connect
65d29c185614 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
99131760a885 ipv6: dccp: fix out of bound access in dccp_v6_err()
a2df29ed840f dccp: fix out of bound access in dccp_v4_err()
ad6d0a82016b dccp: do not send reset to already closed sockets
69a5c7ca2e62 tcp: fix potential memory corruption
8777977b22c4 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
c5bad811ca4d bgmac: stop clearing DMA receive control register right after it is set
6e9ca1b61cc8 net: mangle zero checksum in skb_checksum_help()
ac4c2cf6f57a net: clear sk_err_soft in sk_clone_lock()
74e53a3a053f dctcp: avoid bogus doubling of cwnd after loss
86429bd405de Linux 4.4.33
21cc1a183a9d netfilter: fix namespace handling in nf_log_proc_dostring
ee5dd6878886 btrfs: qgroup: Prevent qgroup->reserved from going subzero
ae6d4df4a7a0 mmc: mxs: Initialize the spinlock prior to using it
ae5b8dbfe6be ASoC: sun4i-codec: return error code instead of NULL when create_card fails
125e84726d7c ACPI / APEI: Fix incorrect return value of ghes_proc()
5cd2cd84d573 i40e: fix call of ndo_dflt_bridge_getlink()
5be7e6b48b21 hwrng: core - Don't use a stack buffer in add_early_randomness()
ba8580f6cf03 lib/genalloc.c: start search from start of chunk
c048b6711ed6 mei: bus: fix received data size check in NFC fixup
19426f065d1e iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
f029e7b34f25 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
f5bb84163704 tty/serial: at91: fix hardware handshake on Atmel platforms
49163391881a dmaengine: at_xdmac: fix spurious flag status for mem2mem transfers
fff40ee4d224 drm/i915: Respect alternate_ddc_pin for all DDI ports
d7b0055e5566 KVM: MIPS: Precalculate MMIO load resume PC
d24587404922 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
6e897d034d4c scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
29cf142cefed iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
caff14e99c63 iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
dbbc5e6bcf36 clk: qoriq: Don't allow CPU clocks higher than starting value
2c5cdadeab5d toshiba-wmi: Fix loading the driver on non Toshiba laptops
f523deedff82 drbd: Fix kernel_sendmsg() usage - potential NULL deref
f1de32232db3 usb: gadget: u_ether: remove interrupt throttling
0ab4186bf238 USB: cdc-acm: fix TIOCMIWAIT
290ffd550e34 staging: nvec: remove managed resource from PS2 driver
4aa859ea591e Revert "staging: nvec: ps2: change serio type to passthrough"
729eb8d9f7b7 drivers: staging: nvec: remove bogus reset command for PS/2 interface
6bba8c37ceed staging: iio: ad5933: avoid uninitialized variable in error case
a98e483ca784 pinctrl: cherryview: Prevent possible interrupt storm on resume
126d0a2fe878 pinctrl: cherryview: Serialize register access in suspend/resume
c45bfaa9211e ARC: timer: rtc: implement read loop in "C" vs. inline asm
3b21a0b468a3 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
e835220ed25f coredump: fix unfreezable coredumping task
5c54f79ad234 swapfile: fix memory corruption via malformed swapfile
2f7496c48a7b dib0700: fix nec repeat handling
a04769029386 ASoC: cs4270: fix DAPM stream name mismatch
f3155797b91c ALSA: info: Limit the proc text input size
c1ea2b3c07c6 ALSA: info: Return error for invalid read/write
(From OE-Core rev: 7d8d71ba5bc2dd8884c3f43a8d71a6d399c4e2fe)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following meta-data change to remove warnings during
kernel configuration checking:
bec7e0ace0e5 leds.cfg: Remove CONFIG_LEDS_TRIGGER_CPU
cc857e64ea34 bsp/intel-quark: Remove bosch-pressure-sensor-i2c
3198ab25af74 features/i2c: Support I2C_MUX by default
(From OE-Core rev: 2cf5fae50a3b7f232ad667c6c60eaa3f2aafd149)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to fix aufs/ixgbe issues:
Author: Liwei Song <liwei.song@windriver.com>
Date: Mon Dec 5 00:50:16 2016 -0500
ixgbe: initialize u64_stats_sync structures early at ixgbe_probe
Fix the following CallTrace:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 71 PID: 1 Comm: swapper/0 Not tainted 4.8.8-WR9.0.0.1_standard #11
Hardware name: Intel Corporation S2600WTT/S2600WTT,
BIOS GRNDSDP1.86B.0036.R05.1407140519 07/14/2014
00200086 00200086 eb5e1ab8 c144dd70 00000000 00000000 eb5e1af8 c10af89a
c1d23de4 eb5e1af8 00000009 eb5d8600 eb5d8638 eb5e1af8 c10b14d8 00000009
0000000a c1d32911 00000000 00000000 e44c826c eb5d8000 eb5e1b74 c10b214e
Call Trace:
[<c144dd70>] dump_stack+0x5f/0x8f
[<c10af89a>] register_lock_class+0x25a/0x4c0
[<c10b14d8>] ? check_irq_usage+0x88/0xc0
[<c10b214e>] __lock_acquire+0x5e/0x17a0
[<c1abdb9b>] ? _raw_spin_unlock_irqrestore+0x3b/0x70
[<c10cf14a>] ? rcu_read_lock_sched_held+0x8a/0x90
[<c10b3c5f>] lock_acquire+0x9f/0x1f0
[<c1922dcf>] ? dev_get_stats+0x5f/0x110
[<c176e6b3>] ixgbe_get_stats64+0x113/0x320
[<c1922dcf>] ? dev_get_stats+0x5f/0x110
[<c1922dcf>] dev_get_stats+0x5f/0x110
[<c1ab5415>] rtnl_fill_stats+0x40/0x105
[<c193dd45>] rtnl_fill_ifinfo+0x4c5/0xd20
[<c11c5115>] ? __kmalloc_node_track_caller+0x1a5/0x410
[<c1917487>] ? __kmalloc_reserve.isra.42+0x27/0x80
[<c191754f>] ? __alloc_skb+0x6f/0x270
[<c1942291>] rtmsg_ifinfo_build_skb+0x71/0xd0
[<c194230a>] rtmsg_ifinfo.part.23+0x1a/0x50
[<c1923dad>] ? call_netdevice_notifiers_info+0x2d/0x60
[<c194236b>] rtmsg_ifinfo+0x2b/0x40
[<c192f997>] register_netdevice+0x3d7/0x4d0
[<c192faa7>] register_netdev+0x17/0x30
[<c177b83d>] ixgbe_probe+0x118d/0x1610
[<c1498202>] local_pci_probe+0x32/0x80
[<c1498172>] ? pci_match_device+0xd2/0x100
[<c14991e0>] pci_device_probe+0xc0/0x110
[<c1652cc5>] driver_probe_device+0x1c5/0x280
[<c1498172>] ? pci_match_device+0xd2/0x100
[<c1652e09>] __driver_attach+0x89/0x90
[<c1652d80>] ? driver_probe_device+0x280/0x280
[<c165114f>] bus_for_each_dev+0x4f/0x80
[<c165269e>] driver_attach+0x1e/0x20
[<c1652d80>] ? driver_probe_device+0x280/0x280
[<c1652317>] bus_add_driver+0x1a7/0x220
[<c1653a79>] driver_register+0x59/0xe0
[<c1f897b8>] ? igb_init_module+0x49/0x49
[<c1497b2a>] __pci_register_driver+0x4a/0x50
[<c1f8985d>] ixgbe_init_module+0xa5/0xc4
[<c1000485>] do_one_initcall+0x35/0x150
[<c107e818>] ? parameq+0x18/0x70
[<c1f395d8>] ? repair_env_string+0x12/0x51
[<c107ead0>] ? parse_args+0x260/0x3b0
[<c1074f73>] ? __usermodehelper_set_disable_depth+0x43/0x50
[<c1f39e90>] kernel_init_freeable+0x19b/0x267
[<c1f395c6>] ? set_debug_rodata+0xf/0xf
[<c10b1e7b>] ? trace_hardirqs_on+0xb/0x10
[<c1abdc02>] ? _raw_spin_unlock_irq+0x32/0x50
[<c1085f0b>] ? finish_task_switch+0xab/0x1f0
[<c1085ec9>] ? finish_task_switch+0x69/0x1f0
[<c1ab6a30>] kernel_init+0x10/0x110
[<c108bd65>] ? schedule_tail+0x25/0x80
[<c1abe422>] ret_from_kernel_thread+0xe/0x24
[<c1ab6a20>] ? rest_init+0x130/0x130
This CallTrace occurred on 32-bit kernel with CONFIG_PROVE_LOCKING
enabled.
This happens at ixgbe driver probe hardware stage, when comes to
ixgbe_get_stats64, the seqcount/seqlock still not initialize, although
this was initialize in TX/RX resources setup routin, but it was too late,
then lockdep give this Warning.
To fix this, move the u64_stats_init function to driver probe stage,
which before we get the status of seqcount and after the RX/TX ring
was finished init.
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Author: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Date: Tue Nov 29 14:14:07 2016 -0800
aufs: fix compile warning
fs/aufs/debug.h:95:19: warning: comparison of constant '0'
with boolean expression is always false [-Wbool-compare]
if (unlikely((e) < 0)) \
^
fs/aufs/vdir.c:852:2: note: in expansion of macro 'AuTraceErr'
AuTraceErr(!valid);
^~~~~~~~~~
In expansion of AuTraceErr(!valid), comparison of (!valid)
and constant '0' always passes unlikely(x) false. function
'static int seek_vdir(struct file *file, struct dir_context *ctx)'
is to find whether there is a valid vd_deblk following ctx->pos.
return 1 means valid, 0 for not. Change to AuTraceErr(valid - 1)
makes more sense.
Signed-off-by: Kexin(Casey) Chen <Casey.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: ae7d870954cf6a3608933335fedc425677aee0e3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.8.9 and 4.8.10 -stable updates. The commit log is
as follows:
cf5ae2989a32 Linux 4.8.10
5cd8f6788ff3 usb: gadget: f_fs: stop sleeping in ffs_func_eps_disable
e2458382c792 usb: gadget: f_fs: edit epfile->ep under lock
e34a0f1c53b5 sparc64: Delete now unused user copy fixup functions.
af97481a6f5b sparc64: Delete now unused user copy assembler helpers.
ac663c54f40b sparc64: Convert U3copy_{from,to}_user to accurate exception reporting.
d91bb7a87e26 sparc64: Convert NG2copy_{from,to}_user to accurate exception reporting.
a15859f9d839 sparc64: Convert NGcopy_{from,to}_user to accurate exception reporting.
bb522726d311 sparc64: Convert NG4copy_{from,to}_user to accurate exception reporting.
b0580eadc19f sparc64: Convert U1copy_{from,to}_user to accurate exception reporting.
50e927483ccf sparc64: Convert GENcopy_{from,to}_user to accurate exception reporting.
620ec41010d1 sparc64: Convert copy_in_user to accurate exception reporting.
bf4d0da8e800 sparc64: Prepare to move to more saner user copy exception handling.
bbbab9f59ea7 sparc64: Delete __ret_efault.
81a91edbb91a sparc64: Handle extremely large kernel TLB range flushes more gracefully.
7f8a50eb38d3 sparc64: Fix illegal relative branches in hypervisor patched TLB cross-call code.
f7ef55af2f1b sparc64: Fix instruction count in comment for __hypervisor_flush_tlb_pending.
2a28ab3d4148 sparc64: Fix illegal relative branches in hypervisor patched TLB code.
f4fb552a033e sparc64: Handle extremely large kernel TSB range flushes sanely.
51915c6d9070 sparc: Handle negative offsets in arch_jump_label_transform
da6fe239ceff spi: spidev_test: fix build with musl libc
4ea98e573d65 net: stmmac: Fix lack of link transition for fixed PHYs
150b491b1b88 sctp: change sk state only when it has assocs in sctp_shutdown
5235fcfa6cf8 bnx2: Wait for in-flight DMA to complete at probe stage
6523ff2e27fe Revert "bnx2: Reset device during driver initialization"
224fb8cbefb2 mlxsw: spectrum_router: Correctly dump neighbour activity
9092bbd64bd9 mlxsw: spectrum: Fix refcount bug on span entries
5712922773b5 Revert "include/uapi/linux/atm_zatm.h: include linux/time.h"
2b5f22e4f7fd tcp: take care of truncations done by sk_filter()
22a78d4c7f43 ipv4: use new_gw for redirect neigh lookup
bccb4093d464 net: __skb_flow_dissect() must cap its return value
a1632e969a55 net: icmp_route_lookup should use rt dev to determine L3 domain
9885f474d92b sock: fix sendmmsg for partial sendmsg
b78ba0a0f231 fib_trie: Correct /proc/net/route off by one error
92fd1c1f2fd2 net: icmp6_send should use dst dev to determine L3 domain
09ee09498bca bpf: fix htab map destruction when extra reserve is in use
de289ad2e575 sctp: assign assoc_id earlier in __sctp_connect
76b5fee5cfa0 ipv6: dccp: add missing bind_conflict to dccp_ipv6_mapped
84d9c612bb7a ipv6: dccp: fix out of bound access in dccp_v6_err()
ba93cf7d2118 dccp: fix out of bound access in dccp_v4_err()
378a61101374 dccp: do not send reset to already closed sockets
72b03e549b95 dccp: do not release listeners too soon
b3523a0773ed tcp: fix return value for partial writes
1f49cc6fa91c ipv4: allow local fragmentation in ip_finish_output_gso()
842a858fa048 tcp: fix potential memory corruption
fc3b825f2c81 ip6_tunnel: Clear IP6CB in ip6tunnel_xmit()
f5f4b71d5632 bgmac: stop clearing DMA receive control register right after it is set
0c7f764d2c6a net: mangle zero checksum in skb_checksum_help()
ac22a3ba0796 net: clear sk_err_soft in sk_clone_lock()
5b078dc6fb64 dctcp: avoid bogus doubling of cwnd after loss
876577321657 Linux 4.8.9
07d00beb1e04 netfilter: fix namespace handling in nf_log_proc_dostring
8ef009e09c13 drm/i915: Fix mismatched INIT power domain disabling during suspend
88a45e5d2c0d drm/amdgpu: fix a vm_flush fence leak
25ed6e4b0b65 drm/amdgpu: fix fence slab teardown
de5e9aa77a3c NFSv4.1: work around -Wmaybe-uninitialized warning
18c801047a18 libceph: fix legacy layout decode with pool 0
53c1792b94da memcg: prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB
02e1ee6b3e1c mmc: mxs: Initialize the spinlock prior to using it
ce0702e35aeb pinctrl: iproc: Fix iProc and NSP GPIO support
320244ac9eb6 ASoC: sun4i-codec: return error code instead of NULL when create_card fails
2140d4fd9277 ASoC: Intel: Skylake: Always acquire runtime pm ref on unload
5037fdbc62c2 gpio: of: fix GPIO drivers with multiple gpio_chip for a single node
7a9239fd0480 gpio/mvebu: Use irq_domain_add_linear
6de98e87effb batman-adv: Modify neigh_list only with rcu-list functions
a3f000ce7b44 ACPI/PCI: pci_link: Include PIRQ_PENALTY_PCI_USING for ISA IRQs
6c76dd0c7066 ACPI/PCI: pci_link: penalize SCI correctly
86c711665c84 ACPI/PCI/IRQ: assign ISA IRQ directly during early boot stages
ad185d9251e1 ACPI / APEI: Fix incorrect return value of ghes_proc()
b55ebc89ab1d mmc: sdhci-msm: Fix error return code in sdhci_msm_probe()
85284c0850f9 i40e: fix call of ndo_dflt_bridge_getlink()
1242c9dfab0c hwrng: core - Don't use a stack buffer in add_early_randomness()
c1a2ada73dac lib/genalloc.c: start search from start of chunk
06bb5ebedbb4 s390/dumpstack: restore reliable indicator for call traces
1ef1bd02ad23 rtc: pcf2123: Add missing error code assignment before test
4baabb72e9dd clk: samsung: clk-exynos-audss: Fix module autoload
3bbdbd8aa3c8 x86/build: Fix build with older GCC versions
f5eadc27a60c Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"
645a6b823739 nvme: Delete created IO queues on reset
07c4cbe01341 svcrdma: Tail iovec leaves an orphaned DMA mapping
4131e00a436e svcrdma: Skip put_page() when send_reply() fails
755ab7aa1466 mei: bus: fix received data size check in NFC fixup
d1b564536c6a perf top: Fix refreshing hierarchy entries on TUI
6ac4e06b717f Input: synaptics-rmi4 - fix error handling in I2C transport driver
d3716f1b3e4b Input: synaptics-rmi4 - fix error handling in SPI transport driver
66503ec38f34 watchdog: core: Fix devres_alloc() allocation size
c5e9e5cc8cd1 agp/intel: Flush chipset writes after updating a single PTE
813617a4c8dc iommu/vt-d: Fix dead-locks in disable_dmar_iommu() path
b6ef0b142208 iommu/amd: Free domain id when free a domain of struct dma_ops_domain
2ef38255b588 iommu/io-pgtable-arm: Check for v7s-incapable systems
d3d9428d7133 xprtrdma: Fix DMAR failure in frwr_op_map() after reconnect
31c749bee3de xprtrdma: use complete() instead complete_all()
67080e2785a3 drm/amd: fix scheduler fence teardown order v2
b0da5ab2ffb5 drm/amdgpu: fix sched fence slab teardown
920a85ba4306 tty/serial: at91: fix hardware handshake on Atmel platforms
9d76a886eb2f drm/amdgpu: fix crash in acp_hw_fini
6e652d18d73d drm/amdgpu: disable runtime pm in certain cases
8c8fdc683295 drm/i915/dp: Extend BDW DP audio workaround to GEN9 platforms
db8e005bf2ba drm/i915/dp: BDW cdclk fix for DP audio
f50b7450a8e4 drm/i915: Respect alternate_ddc_pin for all DDI ports
e1b24f6a0b3c drm/radeon: disable runtime pm in certain cases
eb13abb0e515 KVM: arm/arm64: vgic: Prevent access to invalid SPIs
2850fad5acb0 scsi: scsi_dh_alua: Fix a reference counting bug
5fac70d772a4 scsi: scsi_dh_alua: fix missing kref_put() in alua_rtpg_work()
f29bcd11a170 scsi: mpt3sas: Fix for block device of raid exists even after deleting raid disk
b2040deabb07 scsi: qla2xxx: Fix scsi scan hang triggered if adapter fails during init
1281b9683f96 iio: st_sensors: fix scale configuration for h3lis331dl
4dfb6d1dd11d iio: orientation: hid-sensor-rotation: Add PM function (fix non working driver)
341c5534edad iio: hid-sensors: Increase the precision of scale to fix wrong reading interpretation.
b9d031f354da cdc-acm: fix uninitialized variable
c480880cd12c clk: qoriq: Don't allow CPU clocks higher than starting value
ee27fd32c499 toshiba-wmi: Fix loading the driver on non Toshiba laptops
f713523a234c drbd: Fix kernel_sendmsg() usage - potential NULL deref
31da266e4b9a usb: gadget: u_ether: remove interrupt throttling
264e4131a167 USB: cdc-acm: fix TIOCMIWAIT
c12c24eeaf77 usb: dwc3: Fix error handling for core init
6b95417150b7 staging: nvec: remove managed resource from PS2 driver
82239ab105a5 Revert "staging: nvec: ps2: change serio type to passthrough"
529789866abe drivers: staging: nvec: remove bogus reset command for PS/2 interface
dea774aac054 staging: comedi: ni_tio: fix buggy ni_tio_clock_period_ps() return value
5d510185f99a staging: sm750fb: Fix bugs introduced by early commits
45983d678b70 staging: iio: ad5933: avoid uninitialized variable in error case
5289e59246dd mmc: mmc: Use 500ms as the default generic CMD6 timeout
ce4dfe7d927e mmc: sdhci: Fix unexpected data interrupt handling
bde8d3f73375 mmc: sdhci: Fix CMD line reset interfering with ongoing data transfer
10d24701f3f4 cpupower: Correct return type of cpu_power_is_cpu_online() in cpufreq-set
f062e738c19b pinctrl: cherryview: Prevent possible interrupt storm on resume
1d99fe3317e3 pinctrl: cherryview: Serialize register access in suspend/resume
f5ad96462615 arc: Implement arch-specific dma_map_ops.mmap
004e7c97f181 PCI: Don't attempt to claim shadow copies of ROM
7fac0361f94e ARC: timer: rtc: implement read loop in "C" vs. inline asm
4058116db4d0 s390/hypfs: Use get_free_page() instead of kmalloc to ensure page alignment
2f3e0b82ebe9 coredump: fix unfreezable coredumping task
d6ee4f47e2e7 mm/hugetlb: fix huge page reservation leak in private mapping error paths
e87bf4f558f1 mm: hwpoison: fix thp split handling in memory_failure()
67c79e166d46 swapfile: fix memory corruption via malformed swapfile
c87739e5d029 shmem: fix pageflags after swapping DMA32 object
5b5243b606ec mm, frontswap: make sure allocated frontswap map is assigned
2e594273d4c5 dib0700: fix nec repeat handling
9964230320d5 ASoC: cs4270: fix DAPM stream name mismatch
9386a722d250 ALSA: info: Limit the proc text input size
c3ea1b15b71e ALSA: info: Return error for invalid read/write
(From OE-Core rev: b5e43be6aaf912cf6c679ee98ed61cf34dd00ee8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release 4.8.8. The short log change
summary follows:
61385cc1db42 Linux 4.8.8
8ed841d6c045 scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression
32f60e9b621f scsi: megaraid_sas: Fix data integrity failure for JBOD (passthrough) devices
eb2ca7aac349 usb: dwc3: gadget: properly account queued requests
38db26fb3ae5 arch/powerpc: Update parameters for csum_tcpudp_magic & csum_tcpudp_nofold
a143c6022cef packet: on direct_xmit, limit tso and csum to supported devices
a6289d9ac3fe ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()
c9e086b9009a sctp: validate chunk len before actually using it
5a37dce1b679 net sched filters: fix notification of filter delete with proper handle
d46b19687fec net: ipv6: Do not consider link state for nexthop validation
eb77db88ea11 macsec: Fix header length if SCI is added if explicitly disabled
027ab3b8ee5a netvsc: fix incorrect receive checksum offloading
b75edf27a6c3 udp: fix IP_CHECKSUM handling
5ee356021c42 sctp: fix the panic caused by route update
d90cbfaf5439 net: sctp, forbid negative length
64774617da37 net: fec: Call swap_buffer() prior to IP header alignment
c6c82c2b707e ipv4: use the right lock for ping_group_range
8418193f7052 ipv4: disable BH in set_ping_group_range()
23c110c4cdbc net: add recursion limit to GRO
d3bbd04b92fd net: core: Correctly iterate over lower adjacency list
fc5722f8f8f2 rtnetlink: Add rtnexthop offload flag to compare mask
4ac3ca8c2933 switchdev: Execute bridge ndos only for bridge ports
63d82a2cbd0c bridge: multicast: restore perm router ports on multicast enable
e9a5921c393f net: pktgen: remove rcu locking in pktgen_change_name()
2eeb5735dd04 net/mlx4_en: fixup xdp tx irq to match rx
27bb6e31d32d IB/ipoib: move back IB LL address into the hard header
f280126ec8d8 ipv6: correctly add local routes when lo goes up
0f3e77623916 ip6_tunnel: fix ip6_tnl_lookup
a148a818df84 net: phy: Trigger state machine on state change and not polling.
2a9099899a6a ipv6: tcp: restore IP6CB for pktoptions skbs
50b43ad1dce6 net_sched: reorder pernet ops and act ops registrations
dac04913ee27 drivers/ptp: Fix kernel memory disclosure
3f841d1555ad netlink: do not enter direct reclaim from netlink_dump()
5086cadf8fa4 packet: call fanout_release, while UNREGISTERING a netdev
6fff1319fdac net: Add netdev all_adj_list refcnt propagation to fix panic
9caee42c800e net/sched: act_vlan: Push skb->data to mac_header prior calling skb_vlan_*() functions
c002dfd8adaa net: pktgen: fix pkt_size
ff1b27c31706 net: fec: set mac address unconditionally
567aeca9fbb7 Linux 4.8.7
1bf121d3b234 HID: usbhid: add ATEN CS962 to list of quirky devices
05a833d4b051 cpufreq: intel_pstate: Set P-state upfront in performance mode
c89771511deb ubi: fastmap: Fix add_vol() return value test in ubi_attach_fastmap()
591bf1362e9e btrfs: qgroup: Prevent qgroup->reserved from going subzero
0c879624701d kvm: x86: Check memopp before dereference (CVE-2016-8630)
725a92be3926 ARM: fix oops when using older ARMv4T CPUs
e339609bf377 tty: vt, fix bogus division in csi_J
4a22930a74ac v4l: vsp1: Prevent pipelines from running when not streaming
59f9693a170a usb: musb: Fix hardirq-safe hardirq-unsafe lock order error
086ac9180437 usb: chipidea: host: fix NULL ptr dereference during shutdown
07bae478e1c1 usb: dwc3: Fix size used in dma_free_coherent()
fedede0963c4 pwm: Unexport children before chip removal
7b4b77b9566d omapfb: fix return value check in dsi_bind()
a3e55d6342b2 video: fbdev: pxafb: potential NULL dereference on error
13d0f5b3a399 uapi: add missing install of sync_file.h
db5025bd08ef UBI: fastmap: scrub PEB when bitflips are detected in a free PEB EC header
cc94524e8940 netfilter: xt_NFLOG: fix unexpected truncated packet
720a40113e78 i2c: mark device nodes only in case of successful instantiation
f7d8d44a68de drm: i915: Wait for fences on new fb, not old
1cefe4cb4f8c drm/i915/fbc: fix CFB size calculation for gen8+
809e9e6fc390 drm/i915: Clean up DDI DDC/AUX CH sanitation
ba0a959e0334 drm/i915: Respect alternate_aux_channel for all DDI ports
426a724c9972 drm: Release reference from blob lookup after replacing property
5064a6a05387 drm/dp/mst: Check peer device type before attempting EDID read
e6fcf953a995 drm/i915/gen9: fix watermarks when using the pipe scaler
0f7f9c456380 drm/i915/gen9: fix DDB partitioning for multi-screen cases
0cc98b5963f8 drm/fb-helper: Keep references for the current set of used connectors
14f4a463dc78 drm/fb-helper: Fix connector ref leak on error
6222f1e0b9ef drm/fb-helper: Don't call dirty callback for untouched clips
7290da41b8da drm/nouveau/acpi: fix check for power resources support
fd5f9e1e28cb drm/radeon: drop register readback in cayman_cp_int_cntl_setup
e136de5d7331 drm/radeon/si_dpm: workaround for SI kickers
fe777e7a595c drm/radeon/si_dpm: Limit clocks on HD86xx part
fa6227dbfd6a drm/imx: ipuv3-plane: Access old u/vbo properly in ->atomic_check for YU12/YV12
d040374f3473 drm/imx: ipuv3-plane: Switch EBA buffer only when we don't need modeset
51ed5a2bbf38 Revert "drm/radeon: fix DP link training issue with second 4K monitor"
ac6f210dd7a6 md: be careful not lot leak internal curr_resync value into metadata. -- (all)
eba4fe9db92f RAID10: ignore discard error
21faa6dbf53f RAID1: ignore discard error
b80fcd58e6f6 mmc: dw_mmc-pltfm: fix the potential NULL pointer dereference
1244d3c3a0f6 scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware
2a1a0a6f1d60 scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded
5bac49422b4a ath10k: cache calibration data when the core is stopped
a7d092e946f5 Revert "ath9k_hw: implement temperature compensation support for AR9003+"
aea7cb3b7ceb mac80211: discard multicast and 4-addr A-MSDUs
27fa1e735c70 firewire: net: fix fragmented datagram_size off-by-one
032430fb6a2c firewire: net: guard against rx buffer overflows
facb17b67ac9 Input: i8042 - add XMG C504 to keyboard reset table
8b535f07898a rtl8xxxu: Fix rtl8723bu driver reload issue
1c9edb27261e rtl8xxxu: Fix big-endian problem reporting mactime
ece1b51ae1c4 rtl8xxxu: Fix memory leak in handling rxdesc16 packets
5a805cd29284 dm raid: fix activation of existing raid4/10 devices
6e5456768ba1 dm raid: fix compat_features validation
056290446e8a dm rq: clear kworker_task if kthread_run() returned an error
13a59a868756 dm table: fix missing dm_put_target_type() in dm_table_add_target()
159a17e8dbf6 dm mirror: fix read error on recovery after default leg failure
d8db5234adef virtio: console: Unlock vqs while freeing buffers
7569d22a820d virtio_pci: Limit DMA mask to 44 bits for legacy virtio devices
0c2f67a6196d virtio_ring: Make interrupt suppression spec compliant
c528df925fba parisc: Ensure consistent state when switching to kernel stack at syscall entry
592de1000694 ovl: fsync after copy-up
3ad464dadb7c ovl: update S_ISGID when setting posix ACLs
be9015460ed5 ovl: fix get_acl() on tmpfs
2b632307635f MIPS: KASLR: Fix handling of NULL FDT
1734afcce32b nfsd: Fix general protection fault in release_lock_stateid()
202c6676b963 ARM: dts: fix the SD card on the Snowball
db20b510ca5c ARM: mvebu: Select corediv clk for all mvebu v7 SoC
c627b2e76ae2 KVM: MIPS: Precalculate MMIO load resume PC
f3a0c969e788 KVM: MIPS: Make ERET handle ERL before EXL
961cf133b710 KVM: s390: Fix STHYI buffer alignment for diag224
88aca01f8cb4 KVM: x86: fix wbinvd_dirty_mask use-after-free
ea261d177aed dm: free io_barrier after blk_cleanup_queue call
377a2a273c4b Staging: wilc1000: Fix kernel Oops on opening the device
0c4ffbf9e118 iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value
52a1e76f16e2 arm64: dts: marvell: fix clocksource for CP110 master SPI0
0dff3c6321a5 tty: limit terminal size to 4M chars
44f0722dc9ac xhci: workaround for hosts missing CAS bit
0894224ae7c0 xhci: add restart quirk for Intel Wildcatpoint PCH
b2d28d93cf83 hv: do not lose pending heartbeat vmbus packets
eeae0a12a166 vt: clear selection before resizing
9710f5b19328 x86/smpboot: Init apic mapping before usage
58b0a7f115f8 GenWQE: Fix bad page access during abort of resource allocation
b9aa0a7290f5 usb: increase ohci watchdog delay to 275 msec
241208e7b721 usb: renesas_usbhs: add wait after initialization for R-Car Gen3
00dbeb06292b xhci: use default USB_RESUME_TIMEOUT when resuming ports.
1e306cd37a66 USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7
d082fd105eb9 USB: serial: cp210x: fix tiocmget error handling
e8bf726705bd USB: serial: fix potential NULL-dereference at probe
23124735a6f0 usb: gadget: function: u_ether: don't starve tx request queue
fe4af125085a usb: gadget: udc: atmel: fix endpoint name
420d16894425 mei: txe: don't clean an unprocessed interrupt cause.
5d30e8f65073 ubifs: Fix regression in ubifs_readdir()
b8176cc56bf1 ubifs: Abort readdir upon error
1755f43e9a90 timers: Lock base for same bucket optimization
e18ed431d7da timers: Plug locking race vs. timer migration
b5e3a038997a timers: Prevent base clock corruption when forwarding
665f7bf33aa8 timers: Prevent base clock rewind when forwarding clock
0d621c57e739 x86/microcode/AMD: Fix more fallout from CONFIG_RANDOMIZE_MEMORY=y
e599203f55ad powerpc/64: Fix race condition in setting lock bit in idle/wakeup code
51d784b54768 powerpc/64: Re-fix race condition between going idle and entering guest
2c7ff0e5c311 powerpc/mm/radix: Use tlbiel only if we ever ran on the current cpu
ae150de2d5e0 powerpc: Convert cmp to cmpd in idle enter sequence
1198fbca645e btrfs: fix races on root_log_ctx lists
bc720ae2ffab cxl: Fix leaking pid refs in some error paths
2a997e83960b ANDROID: binder: Clear binder and cookie when setting handle in flat binder struct
599cfd58ffde ANDROID: binder: Add strong ref checks
2a0efa30b15c ALSA: hda - Fix headset mic detection problem for two Dell laptops
2585e17b71c7 ALSA: hda - Fix surround output pins for ASRock B150M mobo
14456570a4a5 ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table
54186c7dd2ec ALSA: hda - allow 40 bit DMA mask for NVidia devices
0f574c90d747 ALSA: seq: Fix time account regression
8ccf154b2654 ALSA: usb-audio: Add quirk for Syntek STK1160
9d3f5b85ef8b device-dax: fix percpu_ref_exit ordering
33bcff297228 security/keys: make BIG_KEYS dependent on stdrng.
5152986c9257 KEYS: Sort out big_key initialisation
5daa841d0437 KEYS: Fix short sprintf buffer in /proc/keys show function
0a38e6c551c4 thermal/powerclamp: correct cpu support check
5db5e0c11c13 mm: memcontrol: do not recurse in direct reclaim
68adb469dd3b mm/slab: fix kmemcg cache creation delayed issue
67ae004e2c52 mm/list_lru.c: avoid error-path NULL pointer deref
5cb73199ca48 libxfs: clean up _calc_dquots_per_chunk
d00057ecf82f gpio: GPIO_GET_LINE{HANDLE,EVENT}_IOCTL: Fix file descriptor leak
c70eb2cc1276 gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak
6bba4b226521 gpio: GPIO_GET_LINEEVENT_IOCTL: Reject invalid line and event flags
e2144827d96b gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags
c0699405b147 gpio: GPIO_GET_LINEEVENT_IOCTL: Validate line offset
49bdfb21e37d gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak
e22edf53b40f gpio: GPIO_GET_LINEHANDLE_IOCTL: Validate line offset
a23a59c56a53 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
78ae767553e4 gpio: GPIO_GET_CHIPINFO_IOCTL: Fix line offset validation
56ffab4f532e gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()
4366246129ca h8300: fix syscall restarting
a639266ae0c3 spi: mark device nodes only in case of successful instantiation
d6634d871199 spi: fsl-espi: avoid processing uninitalized data on error
0cee66b72acc drm/dp/mst: Clear port->pdt when tearing down the i2c adapter
f2ffb21fb495 i2c: core: fix NULL pointer dereference under race condition
0fda1cdcbb72 i2c: xgene: Avoid dma_buffer overrun
9c619c2a8d4d i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings
(From OE-Core rev: f95903012735e764ae0608a17fc6d4d8c139eb83)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker sent along updates to the latest 4.8 -rt version.
Updating the SRCREVs to include the following commits:
f83a3d4a643b v4.8.6-rt5
74c7ffc2e3f2 NFSv4: don't disable preemption on !RT
9711dc408890 kbuild: Add -fno-pie to KBUILD_AFLAGS:
7b4d4278e307 v4.8.6-rt4
24aa22031f3c v4.8.2-rt3
8541163464e2 kbuild: add -fno-PIE
81b61ced2d45 NFSv4: replace seqcount_t with a seqlock_t
a8300ce29d0c worqueue: document the proper argument
9711591ebdc3 genirq: document swork member
1aace69fd88f rbtree: include barrier.h
74d4589809f2 rxrpc: remove unused static variables
a941e2f0611c x86/apic: get rid of "warning: 'acpi_ioapic_lock' defined but not used"
9888d1c2e3ab hotplug: Call mmdrop_delayed() in sched_cpu_dying() if PREEMPT_RT_FULL
debf0ec42b2e drivers/zram: Don't disable preemption in zcomp_stream_get/put()
c84b472ee376 mm/zs_malloc: Fix bit spinlock replacement
c17de80bfeba zsmalloc: turn that get_cpu_light() into a local_lock()
33586701e8ad connector/cn_proc: Protect send_msg() with a local lock on RT
b20867d36bcd ftrace: Fix trace header alignment
(From OE-Core rev: 6840594c43b892056886f471575ccb49a78f34e4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that compilation was broken for the in tree variant of
cryptodev. This commit integrates two patches that fix the issue:
efbdfa1ed95f cryptodev: stomp dynamic version numbering for in tree builds
32f54070205f cryptodev: fix compile error when enable CONFIG_CRYPTODEV
(From OE-Core rev: b91469ac21825a86eb7a71f1e91206719061bcaa)
Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release.
(From OE-Core rev: c0231b1306034cc03987a5fbabd6f17125c9392b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg -stable release.
(From OE-Core rev: feed13b4d108a93b4e95ed9f80f9624e1bd1cdf5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LICENSE and LIC_FILES_CHKSUM apply to the sources specified by SRC_URI,
not to the recipe itself. As such a license declaration for a source-less
recipe makes little sense. The LICENSE declaration is mandatory, but
LIC_FILES_CHKSUM can be removed in such cases.
Remove the LIC_FILES_CHKSUM declarations from all recipes that do not
need it.
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
(From OE-Core rev: b18fa5f2f2f46afc6fdc58f4d29679dea9c36c43)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The initial 4.8 -rt feature was directly from Paul Gortmaker, and
now the 'upstream' -rt has done a release on the same kernel
version.
Paul has sync'd the initial effort with the upstream work, and we
now have a consolidated standard/preempt-rt/*
Along with the rsync'd content, Paul has fixed -rt boot on 32 bit
x86.
(From OE-Core rev: 1270050079feeefc38744fdbfe23b16aa1b632a3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the korg -stable release
One commit of note is the fix for CVE-2016-5195 (http://dirtycow.ninja/):
mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
The remaining changes are covered by the following shortlog export:
mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
Make __xfs_xattr_put_listen preperly report errors.
scsi: configure runtime pm before calling device_add in scsi_add_host_with_dma
v4l: rcar-fcp: Don't force users to check for disabled FCP support
Linux 4.8.2
tpm_crb: fix crb_req_canceled behavior
tpm: fix a race condition in tpm2_unseal_trusted()
ima: use file_dentry()
Bluetooth: Add a new 04ca:3011 QCA_ROME device
ARM: cpuidle: Fix error return code
ARM: dts: MSM8660 remove flags from SPMI/MPP IRQs
ARM: dts: MSM8064 remove flags from SPMI/MPP IRQs
ARM: dts: mvebu: armada-390: add missing compatibility string and bracket
ARM: fix delays
x86/dumpstack: Fix x86_32 kernel_stack_pointer() previous stack access
x86/mm/pkeys: Do not skip PKRU register if debug registers are not used
arch/x86: Handle non enumerated CPU after physical hotplug
x86/apic: Get rid of apic_version[] array
x86/platform/intel-mid: Keep SRAM powered on at boot
x86/platform/intel-mid: Add Intel Penwell to ID table
x86/cpu: Rename Merrifield2 to Moorefield
x86/pkeys: Make protection keys an "eager" feature
x86/irq: Prevent force migration of irqs which are not in the vector domain
x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation
arm64: fix dump_backtrace/unwind_frame with NULL tsk
KVM: PPC: BookE: Fix a sanity check
KVM: arm/arm64: vgic: Don't flush/sync without a working vgic
KVM: arm64: Require in-kernel irqchip for PMU support
KVM: MIPS: Drop other CPU ASIDs on guest MMU changes
KVM: PPC: Book3s PR: Allow access to unprivileged MMCR2 register
xen/x86: Update topology map for PV VCPUs
mfd: wm8350-i2c: Make sure the i2c regmap functions are compiled
mfd: 88pm80x: Double shifting bug in suspend/resume
mfd: atmel-hlcdc: Do not sleep in atomic context
mfd: rtsx_usb: Avoid setting ucr->current_sg.status
ALSA: usb-line6: use the same declaration as definition in header for MIDI manufacturer ID
ALSA: usb-audio: Extend DragonFly dB scale quirk to cover other variants
ALSA: ali5451: Fix out-of-bound position reporting
phy: sun4i-usb: Use spinlock to guard phyctl register access
usb: dwc3: fix Clear Stall EP command failure
timekeeping: Fix __ktime_get_fast_ns() regression
usb: storage: fix runtime pm issue in usb_stor_probe2
Linux 4.8.1
ALSA: hda - Add the top speaker pin config for HP Spectre x360
ALSA: hda - Fix headset mic detection problem for several Dell laptops
ALSA: hda - Adding one more ALC255 pin definition for headset problem
Revert "usbtmc: convert to devm_kzalloc"
USB: serial: cp210x: Add ID for a Juniper console
usb: usbip: vudc: fix left shift overflow
Staging: fbtft: Fix bug in fbtft-core
usb: misc: legousbtower: Fix NULL pointer deference
Using BUG_ON() as an assert() is _never_ acceptable
arm64: debug: avoid resetting stepping state machine when TIF_SINGLESTEP
Using BUG_ON() as an assert() is _never_ acceptable
(From OE-Core rev: deb7d22d00ace3bfa1252e0a5df1961386231bc2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting commit 19be0eaffa [mm: remove gup_flags FOLL_WRITE games
from __get_user_pages()] to address the dirtycow exploit.
(From OE-Core rev: 8470ea4cfd5fca4c9573e39c7c3486aeb310990a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.4.23->26 -stable releases. Among other fixes
this contains commit:
mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
Which addresses CVE-2016-5195.
(From OE-Core rev: e2472c1a66ef62f6904cc9b635b275e7da32e51a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following patches into 4.4 and 4.8 to remove kernel
configuration warnings:
bbaf01752b01 meta-yocto-bsp: beaglebone: remove the stale kernel options
552a83790b17 features: Fix configcheck warnings in features used by intel-quark BSPs
c33d9c2c575f features: Fix configcheck warnings in features used by intel-core* BSPs
(From OE-Core rev: ac9842bc3a17f15c3807aa06e4469c030346420e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the do_kernel_link_images task is enabled, then it needs to run
before do_strip. The addtask statement for do_strip makes that
explicit. For consistency, make it explicit in the addtask statement
for do_kernel_link_images too.
(From OE-Core rev: 1296cc0538efe64d666868fd28c5b195ec9c08ff)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Realtek 8169 driver is needed by the Minnowboard MAX, one of the
boards we currently support, since some of our images do not contain
modules by default, the network isnt working on genericx86, genericx86-64
and intel-core2-32 (meta-intel) when no modules are installed.
This patch fixes network on images not containing modules when
using the previously mentioned MACHINES for this board.
(From OE-Core rev: 747f59f5103995654f2b10a52d1dfd2dd4ad1a0e)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gotmaker pointed out that a last minute merge to the 4.8 kernel
has the potential to hard hang a kernel when VM debugging is enabled:
https://lkml.org/lkml/2016/10/4/1
He also pointed out the fix for it in commit 21f54dda
[Using BUG_ON() as an assert() is _never_ acceptable].
While that fix will loop through -stable into 4.8.1, that will
likely be too late for our release. So I've cherry picked the
change to make it available.
(From OE-Core rev: eb4b39d5ffbe93d363b05c57196bdac61fa09c59)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before standard/intel/* was created in the 4.1 and 4.4 kernel trees,
some patches were merged to standard/base to add features/support for
intel platforms.
While this isn't entirely bad, there have been some compile issues
reported in some configurations. Since we don't need these commits
on standard/base, we can relocate them to make standard/base upstream
clean.
This commit removes those patches from standard/base, and restores
then to the standard/intel/* branches.
(From OE-Core rev: 2c19e6378697141992c9bd7ff2bd4d57a4f9fe9b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the common-pc* configuration to have the following mmc
configs available by default:
meta/common-pc-64: use mmc-sdhci feature
meta/common-pc: use mmc-sdhci feature
meta: add mmc/mmc-sdhci feature
meta: add mmc/mmc-block feature
meta: add mmc/base feature
(From OE-Core rev: 024ee2f47ebac39438f87069d48f5e34c9c81891)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure that the kernel_version_sanity_check task runs after all source
modifications are complete, including any that are introduced during the
kernel_metadata task. This also avoids any race condition issues when
kernel_version_sanity_check and kernel_metadata tasks are running at the
same time.
(From OE-Core rev: ac1b2fd1b1a76125a8cf45130c22fb66eb018555)
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This check ensures that when the PREFERRED_PROVIDER for virtual/kernel
changes, the previous instances gets removed correctly so when the new
instance installs files into the shared area there is not an overlap of
old and new.
[YOCTO #10278]
(From OE-Core rev: 6b67018c2c0229a91fbc55c6aafb86781caf2499)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Paul Gortmaker has made the preempt-rt patch available for the
4.8 kernel.
This commit merges his queue to standard/preempt-rt/rebase, which
will be kept up to date with a clean history, and it also makes
it available in standard/preempt-rt/base, which will be kept fast
forward for board support.
(From OE-Core rev: b475bb88cc5d6700b4fadff1b2bb43a376492c7b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the latest release candidate.
(From OE-Core rev: f15d5d8c09da9260a59ed396a4d5c9d009e5c751)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LINUX_VERSION was previously updated to 4.1.32, but the
SRCREVs for the actual content were missed. This gets our actual
version and the PV back in sync.
We also update the meta data to fix configuration audit warnings
from the beaglebone builds.
(From OE-Core rev: 255adfaddec0dc44db619bf8726cd7804c09400d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
squash with 4.1
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The kernel being built should match what the recipe claims it is
building. This function ensures that happens by comparing the version
information in the kernel's Makefile to the PV the recipe is using.
v2 changes:
* Match against PV instead of LINUX_VERSION
* Match against EXTRAVERSION as well (e.g., -rc4)
* Cleaned up version string building
Fixes [YOCTO #6767].
(From OE-Core rev: ec467cfaea5c8cf22c61daa8845c2e4e96449512)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SRCREVs were previously updated to -rc5, but the LINUX_VERSION
was missed. As such, we are building and booting -rc5, but all the
packaging says -rc4.
Worth a quick update while we wait for -rc6
(From OE-Core rev: ea2f99161a22ae2e9eefd3b337c9af7704c33e37)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following patch:
[
We try to make this change a generic extension, but it is
actually for a corner case. When a VM (qemu) gets a very limited
cpu bandwidth from host, which could be under a heavy load, the
existing 5000 ms timeout could occur and trigger error messages
in the task function's callers.
This change adds a new timeout parameter so that we can tweak
the value as a workaround or for troubleshooting purposes. In
the infinite wait case, A warning message is printed at 5000ms
interval.
In real world, the current 5 sec is generous enough for a video
request in my opinion, so this change could not be very useful.
Upstream Status: Inappropriate
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
]
(From OE-Core rev: 872a83be6e86005f6426c90073ece56de4534ac0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the meta-data from the 4.4 kernel was missing from the 4.8
branch. This resulted in some functionality drops and also a size/time
increase in the kernel build (due to debug being turned on).
With this resync, we now have the missing config restored.
(From OE-Core rev: eb0b4f05f89ae014953492ea7bc0afc9fef1abce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We enabled HW_RANDOM_VIRTIO for the 4.4+ kernels, but it is also needed
for 4.1 to ensure that VMs have sufficient entropy. Without this entropy
networking on qemuppc starves and triggers intermittent errors.
(From OE-Core rev: 89457aae92cf8748d8fbad2509f78f54a6b8fac1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating a series to expliclity set the quark build to 32 bits
and avoid 64 bit x86 defaults.
We also have a series of commits that fix configuration warnings on
x86 platforms:
intel-quark.cfg: Explicitly disable CONFIG_64BIT
common-pc-drivers.cfg: Remove I2O configs
features: Fix dependencies and =m vs =y discrepancies for corei7
intel-core2-32.cfg: Explicitly disable CONFIG_64BIT
features: Add 6lowpan feature and add it where necessary
(From OE-Core rev: cd20f6b1f0e20caa5c0aee0263fd9eb21c3566e9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
4.7+ requires a device tree for the arm versatile family of platforms.
We add the definition to our 4.8 linux-yocto recipes so we can continue
to boot!
(From OE-Core rev: 8c5cf8193441814e46b7e118655b4e622f785ce5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to address configuration warnings for
intel-corei7-64 and intel-core2-32:
features: Fix dependencies and =m vs =y discrepancies for corei7
intel-core2-32.cfg: Explicitly disable CONFIG_64BIT
(From OE-Core rev: b2a4e07390834fa41fe35d1124ac2a0cd6692524)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.4 kernel to v4.4.18 and the 4.1 kernel to v4.1.30.
We also tweak the configuration with the following commits to remove
warnings being generated from the 4.4 kernel (due to options being
dropped from the final .config):
features: Create mfd-intel-lpss feature and use where appropriate
features/iio: Set IIO_BUFFER_CB to =m instead of =y
features: Add 6lowpan feature and add it where necessary
Tested on qemux86, qemuppc, qemumips and qemuarm.
(From OE-Core rev: 18c6fb387aa6a15de514030c4a7c04dac9c68869)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The existing kernel patching scripts don't like () in patch names, since they
are detected as function calls. Although the scripts will be updated to avoid
this error, it is worthwhile fixing the patch names in the meantime.
(From OE-Core rev: de7e4da0c7abf5dcd8b95ec993e70041475603c2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following configuration changes:
features: usb-net: provide more coverage on USB network devices
features: broxton: enable iTCO watchdog support
features: broxton: enable iSMT support
features: broxton: enable LPC bridge function for Intel ICH and SCH
(From OE-Core rev: 02165c6bd9da6ac3a34eabe17d3a068afb6b1727)
Signed-off-by: Bruce Ashfield <bruce@zedd.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was an issue with a netfilter backport in 4.1.28-stable. To
address it, we backport the -stable fix:
netfilter: x_tables: fix stable backport
Stable-4.1 backport of mainline commit 364723410175 ("netfilter:
x_tables: validate targets of jumps") doesn't handle correctly the fact
that 4.1 kernel is missing commit 482cfc318559 ("netfilter: xtables:
avoid percpu ruleset duplication") so that t->entries is still a per-cpu
array in find_jump_target().
Use the same fix as e.g. stable-3.14 backport.
Fixes: 8163327a3a92 ("netfilter: x_tables: validate targets of jumps")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
(From OE-Core rev: c009297d44df98ba103ee267e40ffdbc837e411f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The v4.1.28 -stable update broke the build for some ppc and mips
platforms. We fix the errors by backporting a missing commit for
ppc:
powerpc/tm: Abort syscalls in active transactions
And by reverting a commit for mips (rather than backporting more
changes to -mm):
Revert "MIPS: Reserve nosave data for hibernation"
(From OE-Core rev: 02a1d6eb52b78c7fdcfe2a64e427488e6dd9ce4d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following two commits:
44af90071620 4.1.28 Fix bad backport of 8f182270dfec "mm/swap.c: flush lru pvecs on compound page arrival"
99c37e1500a6 i2c: ismt: Add Intel DNV PCI ID
And the following two meta-data changes:
afbc6bd00e6f bsp/axxiaarm64: Enable Axxia NCR and PEI drivers
6a2047c00450 common-pc: enforce 32 bit
(From OE-Core rev: d52e523b28cc95a741039018d76fa4c1a947a40f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.1 kernel to the korg -stable release
(From OE-Core rev: 3d888fa7b27865b5fc1b6ee5e138692847648f40)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was pointed out that the 4.4 version of -rt was lagging. I had done
the work some time ago, but didn't complete the testing effort.
I've now built and booted this on x86 and built it for ARM.
Two branches are available: standard/preempt-rt/base and standard/preempt-rt/rebase.
(From OE-Core rev: bb2ac258a80590a1c965b5da939d6531b3f2098a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating two changes to the 4.4 kernel:
mousedev: fix warning err caused by __cpu_to_le16p()
mousedev: fix warning err caused by __cpu_to_le16p()
following warning msg is found when compiling the kernel for qemumips:
.../drivers/input/mousedev.c:749:15: warning: passing argument 1 of
'__cpu_to_le16p' from incompatible pointer type [-Wincompatible-pointer-types]
convert the function's parameter to (__u16 *) to fix this warning.
Signed-off-by: Zhenbo Gao <zhenbo.gao@windriver.com>
printk.scc: don't include kernel-debug.scc
There is no need to include kernel-debug.scc into printk.scc as
options from printk.cfg don't depend on CONFIG_DEBUG* options from
kernel-debug.cfg
Moreover, enabling CONFIG_DEBUG* options makes kernel much bigger,
increases build time and consumed a lot of additional disk space.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 711274efbbf9a750a740065c1a538217a4f3fba3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following changes, that resolve issues with previous
functionality merges:
ddab24299940 mei: drop wr_msg from the mei_dev structure
26e282c0686e lx-dialog: fix merge issues
(From OE-Core rev: 84dbace51d86efcaa50c1b0cbc4d44ac884f26fc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.4 kernel to take the korg -stable release.
(From OE-Core rev: 605e7b4bfa766fb9db187586a06542e8af44a4c5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The use of the ${AUTOREV} variable means bitbake would always re-parse the
recipe. This isn't desirable when its disabled so undo the always parsing
flag in this case.
(From OE-Core rev: f1fce69766576ab62bfc5919af2af04028180950)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This recipe no longer functions after this change, revert it.
This reverts commit 3e0137113e.
(From OE-Core rev: 5e8cf6e568ab90365894478a272b5c28dc941031)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are experimenting some issues in the Autobuilder infraestructure
possible due to high I/O loads, in order to provide more information
about intervals of times in printk enable by default debug/printk.scc
on qemu development images.
[YOCTO #9299]
(From OE-Core rev: dfa8be08aa6e7ad6dbc615df8875dc2ac1ac8946)
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commits to tweak the default configuration
for powerclamp and gpio:
features/thermal: make INTEL_POWERCLAMP driver built as module
gpio: disable Intel PMIC gpio
(From OE-Core rev: b5541c3db22fbe8b4e0389b5937cbb5ae0284f00)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting upstream mei changes, and two pwm changes from
Mika Westerberg's pwm-4.4 branch:
pwm: lpss: Prevent on_time_div overflow on lower frequencies
pwm: lpss: fix base_unit calculation for PWM frequency
mei: don't use wake_up_interruptible for wr_ctrl
mei: fix waiting for wr_ctrl for corner cases.
mei: don't clean control queues on notify request timeout
mei: drop global me_client_index
mei: do not pin module if cldrv->probe() failed
mei: bus: use scnprintf in *_show
mei: fix format string in debug prints
mei: fix double freeing of a cb during link reset
mei: wd: drop AGAIN the watchdog code from the core mei driver
mei: split amthif client init from end of clients enumeration
mei: hbm: send immediate reply flag in enum request
mei: bus: run rescan on me_clients list change
mei: drop reserved host client ids
mei: hbm: warn about fw-initiated disconnect
mei: fixed address clients for the new platforms
mei: fill file pointer in read cb for fixed address client
mei: discard replies from unconnected fixed address clients
mei: clean write queues and wake waiters on disconnect
mei: wake blocked write on link reset
mei: drop superfluous closing bracket from write traces
mei: bus: fix notification event delivery
mei: bus: fix RX event scheduling
mei: amthif: interrupt reader on link reset
mei: amthif: use rx_wait queue also for amthif client
mei: amthif: drop parameter validation from mei_amthif_write
mei: amthif: replace amthif_rd_complete_list with rd_completed
mei: amthif: allow only one request at a time
mei: rename variable names 'file_object' to fp
mei: constify struct file pointer
mei: amthif: don't drop read packets on timeout
mei: amthif: don't copy from an empty buffer
mei: call stop on failed char device register
mei: fix possible integer overflow issue
mei: debugfs: allow hbm features list dump in earlier stages
mei: debugfs: adjust active clients print buffer
mei: trace pci configuration space io
watchdog: mei_wdt: re-register device on event
watchdog: mei_wdt: register wd device only if required
mei: bus: whitelist the watchdog client
watchdog: mei_wdt: add status debugfs entry
watchdog: mei_wdt: implement MEI iAMT watchdog driver
mei: wd: drop the watchdog code from the core mei driver
mei: drop nfc leftovers from the mei driver
mei: always copy the read buffer if data is ready
mei: prevent queuing new flow control credit.
mei: bus: remove redundant uuid string in debug messages
(From OE-Core rev: a525872906afbd76d8b3e1c53a5b8da3ffda81ee)
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following configuration changes into the 4.1 and
4.4 linux-yocto kernel meta data:
mei.cfg: mei driver is no longer in staging
bsp/intel-common: add keyboard-gpio to intel-common-drivers
features/thermal: Enable Intel PMIC thermal feature
broxton: Enable USB Type C feature for broxton
(From OE-Core rev: 5218a27645b57f0d38d9b17bcb2f41e3e04c0d67)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting a mainline commit to Intel uncore can be completely
modular.
(From OE-Core rev: 416b33bd2c6a79ce025c1a9943965497f17d7659)
Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following mainline changes to the 4.1 and 4.4
kernels:
device property: Avoid potential dereferences of invalid pointers
device property: convert to use match_string() helper
lib/string: introduce match_string() helper
device property: fix for a case of use-after-free
device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
xhci: harden xhci_find_next_ext_cap against device removal
xhci: rework xhci extended capability list parsing functions
xhci: parse xhci protocol speed ID list for usb 3.1 usage
extcon: Redefine the unique id of supported external connectors without 'enum extcon' type
extcon: Remove optional print_name() function pointer of extcon_dev
extcon: Update the prototype of extcon_register_notifier() with enum extcon
extcon: Use capital letter for the name of external connectors
extcon: Use the unique id for external connector instead of string
extcon: Remove the optional name of extcon device
extcon: adc-jack: Remove the unneeded num_cables field
extcon: Alter MHL-TA cable name to TA cable name
extcon: Unify the dock device names on max8997/77693
extcon: Unify the jig cable names on rt8973 and max14577/77693/77843
extcon: Fix the checkpatch warning and minor coding style issue
extcon: Add extcon_get_edev_name() API to get the extcon device name
extcon: Modify the device name as extcon[X] for sysfs
extcon: Add manufactor name of each extcon device
And the following config change:
mei.cfg: Add CONFIG_INTEL_MEI_TXE=m
(From OE-Core rev: a04c634adc3d073701ecf2576fe9dd0cf8ace629)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating the 4.1 and 4.4 kernels with mainlin backports for platform/feature
support.
Also updating the kernel meta data to configure and use those new features.
(From OE-Core rev: d33f1ccd8ddf8eeaf262267d8618f2422adda629)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After commit 0437a59e3c, the linux-yocto-dev
recipe is being parsed every time we run "bitbake -p". This was spotted
on some performance benchmarks and showed up as a performance regression.
We can tweak the recipe to ensure this doesn't happen and that its only
used if selected.
(From OE-Core rev: 5c21fd5eb8b689504e7f6a4ee2f674c32e3d928b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following two configuration changes:
Author: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
Date: Mon Jun 27 15:11:04 2016 +0800
broxton: set CONFIG_GPIO_GENERIC_PLATFORM instead of CONFIG_GPIO_GENERIC
CONFIG_GPIO_GENERIC option is tristate, this will ensure we
enable by selecting CONFIG_GPIO_GENERIC_PLATFORM.
This addresses the following message:
Value requested for CONFIG_GPIO_GENERIC not in final ".config"
Requested value: "CONFIG_GPIO_GENERIC=y"
Actual value set: ""
Signed-off-by: Rebecca Chang Swee Fun <rebecca.swee.fun.chang@intel.com>
Author: California Sullivan <california.l.sullivan@intel.com>
Date: Mon Jun 27 17:15:53 2016 -0700
features/input: Add keyboard-gpio feature
This feature adds keyboard-gpio support to the kernel. We also add a
specific implementation by default. More can be added as necessary.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(From OE-Core rev: 358fa56efa2db2a5276a910676e2e6093fe2da0f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
From Tom:
This is a small patchset for yocto-4.4 that removes open-coded VFAT_FS
and enables defaults that should be enabled along with it.
(From OE-Core rev: 0eb474575a96a525755c1d679015af49d7667283)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting mainline and development commits to for various subystems.
linux-yocto: 4.4:
ae6a527d93f i2c: add support for ACPI reconfigure notifications
f2422e12af53 acpi: add support for ACPI reconfiguration notifiers
bc87718fdb56 acpi: fix enumeration (visited) flags for bus rescans
linux-yocto: 4.1:
9f166e918f63 platform:x86 decouple telemetry driver from the optional IPC resources
adfc21c1f156 tpm: update PPI documentation to address the location change.
661b0190e412 x86 tsc: enumerate BXT tsc_khz via CPUID
78be69fa9d15 x86 tsc: enumerate SKL cpu_khz and tsc_khz via CPUID
(From OE-Core rev: fdde7061108f04b04a82ba76205ce85afc543a6f)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com>
Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following mainline commits to make additional sensor
drivers available:
iio: st-accel: add support for lis2dh12
iio: accel: add Freescale MMA7455L/MMA7456L 3-axis accelerometer driver
(From OE-Core rev: 952fdf647ee0223df2189bbb87437befcb0c2707)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following pstate changes:
fb0153332a1f intel_pstate: Add SKY-S support
7eb5c7e382a8 intel_pstate: enable HWP per CPU
d73ee41f9786 x86/mm: Decouple <linux/vmalloc.h> from <asm/io.h>
f447e3d661f7 intel_pstate: Force setting target pstate when required
7db69b864737 intel_pstate: change some inconsistent debug information
367ff9c73d83 intel_pstate: Add tsc collection and keep previous target pstate
(From OE-Core rev: acd05ec90cfa4c43b24904117e69c805892e2544)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following changes from the mainline kernel for improved
power, driver core and mmc support:
x86 tsc_msr: Remove irqoff around MSR-based TSC enumeration
x86 tsc_msr: Add Airmont reference clock values
x86 tsc_msr: Correct Silvermont reference clock values
x86 tsc_msr: Update comments, expand definitions
x86 tsc_msr: Remove debugging messages
x86 tsc_msr: Identify Intel-specific code
mmc: block: Pause re-tuning while switched to the RPMB partition
mmc: block: Always switch back to main area after RPMB access
mmc: core: Add a facility to "pause" re-tuning
mmc: block: Add new ioctl to send multi commands
cpuidle: powernv/pseries: Auto-promotion of snooze to deeper idle state
cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.c
cpuidle: Select a different state on tick_broadcast_enter() failures
sched / idle: Call default_idle_call() from cpuidle_enter_state()
sched / idle: Call idle_set_state() from cpuidle_enter_state()
cpuidle: Fix the kerneldoc comment for cpuidle_enter_state()
sched / idle: Eliminate the "reflect" check from cpuidle_idle_call()
cpuidle: Check the sign of index in cpuidle_reflect()
sched / idle: Move the default idle call code to a separate function
powercap / RAPL: Add support for Broadwell-H
module: add extra argument for parse_params() callback
Driver core: wakeup the parent device before trying probe
base:dd - Fix for typo in comment to function driver_deferred_probe_trigger().
(From OE-Core rev: 10c7d7747ec4e97d1770cc8e40883da25c37a709)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following mainline support for enhanced/improved support
on BXT based platforms.
spi: pxa2xx: Fix too early chipselect deassert
spi: pxa2xx: Update comment in int_transfer_complete()
spi: pxa2xx: Print actual DMA/PIO transfer mode in debug messages
spi: atmel: remove warning when !CONFIG_PM_SLEEP
spi: fix kernel-doc warnings in spi.h
spi: expose spi_master and spi_device statistics via sysfs
spi: meson: Fix module autoload for OF platform driver
spi: bcm2835: BUG: fix wrong use of PAGE_MASK
spi: bcm2835: fix overflow in calculation of transfer time
spi: bcm2835: bcm2835_dma_release() can be static
spi: bcm2835: fix kbuild compile warnings/errors and a typo
spi: bcm2835: enable dma modes for transfers meeting certain conditions
spi: bcm2835: fallback to interrupt for polling timeouts exceeding 2 jiffies
spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it
mfd: intel-lpss: Save register context on suspend
mfd: intel-lpss: Pass I2C configuration via properties on BXT
perf/x86: Fix time_shift in perf_event_mmap_page
perf/x86: Improve accuracy of perf/sched clock
ALSA: hda - Move send_cmd / get_response to hdac_bus_ops
ALSA: hda - Merge codec and controller helpers
ALSA: hda - moved alloc/free stream pages function to controller library
ALSA: hda - Add DSP loader to core library code
ALSA: hda - Add the controller helper codes to hda-core module
ALSA: hda - Handle error from get_response bus ops directly
Revert "ALSA: hda - fix number of devices query on hotplug"
(From OE-Core rev: 1ee07350eac47f389d6ef769c054d0ab2c258dd4)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following changes from the mainline kernel to enhance/add
support for tpm2, pinctrl, powercap and watchdog:
634eecdb20b watchdog: omap_wdt: fix null pointer dereference
79dcc6dabe63 Watchdog: Fix parent of watchdog_devices
94a2e8f1d47e watchdog: st_wdt: Update IP layout information to include Clocksource
3a74938a9610 watchdog: st_wdt: Add new driver for ST's LPC Watchdog
fb6b94faa82c watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC
22fb7b1353dd watchdog: omap_wdt: early_enable module parameter
aa70c2480483 watchdog: omap_wdt: implement get_timeleft
47b7a1a5f70f watchdog: docs: omap_wdt also understands nowayout
9d833b82f706 watchdog: omap: put struct watchdog_device into driver data
87ded7189286 watchdog: omap: use watchdog_init_timeout instead of open coding it
abccc104fcad watchdog: da9062: DA9062 watchdog driver
95f8b1024989 pinctrl: intel: fix offset calculation issue of register PAD_OWN
8e6606474fa0 pinctrl: intel: fix bug of register offset calculation
2423468cb317 MAINTAINERS: add new maintainer for TPM DEVICE DRIVER
cf94113f05a6 sysfs: added __compat_only_sysfs_link_entry_to_kobj()
cdb63d5cd801 tpm: fix missing migratable flag in sealing functionality for TPM2
95f738feaafe keys, trusted: seal/unseal with TPM 2.0 chips
92eb9052fd50 tpm: seal/unseal for TPM 2.0
d9c7bb89ec85 keys, trusted: move struct trusted_key_options to trusted-type.h
a3b394e91b31 tpm: introduce tpm_buf
bd68d3a21139 tpm: move the PPI attributes to character device directory.
54fb01659b83 tpm, tpm_crb: fix unaligned read of the command buffer address
0ab522f5ef11 powercap / RAPL: disable the 2nd power limit properly
9ba8c36e9ea7 thermal/powerclamp: remove cpu whitelist
2971561c8fc9 thermal/powerclamp: add cpu id for Skylake u/y
cec457da34d0 thermal/powerclamp: add cpu id for denlow platform
fc30ea2abdc5 thermal/powerclamp: add cpu id for skylake h/s
3eea18356747 intel powerclamp: support Knights Landing
(From OE-Core rev: ecb1fa6ed2366a031ba374d16d4ccbbd8b7fc7e6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These patches backport the upstream changes for powerclamp to support APL APU.
Dasaratharaman Chandramouli (1):
intel powerclamp: support Knights Landing
Jacob Pan (2):
thermal/powerclamp: add cpu id for denlow platform
thermal/powerclamp: remove cpu whitelist
Radivoje Jovanovic (2):
thermal/powerclamp: add cpu id for skylake h/s
thermal/powerclamp: add cpu id for Skylake u/y
(From OE-Core rev: 39207d4b5d2829a8811c182bedc2b1adb718e9d2)
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting mainline patches to add always running timer support (ART).
The main advantage of ART is that ART can be captured
simultaneous to the capture of audio and network device clocks,
allowing a correlation between timebases to be constructed.
Arnd Bergmann (1):
ntp/pps: replace getnstime_raw_and_real with 64-bit version
Christopher S. Hall (4):
time: Add cycles to nanoseconds translation
time: Add timekeeping snapshot code capturing system time and counter
time: Add driver cross timestamp interface for higher precision time synchronization
x86/tsc: Always Running Timer (ART) correlated clocksource
DengChao (1):
timekeeping: Provide internal function __ktime_get_real_seconds
(From OE-Core rev: c38faba29a2d76e8b12f80f7529918388f4e2170)
Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating upstream changes for intel_idle to support BXT CPU.
Dasaratharaman Chandramouli (1):
intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
Len Brown (4):
intel_idle: Skylake Client Support
intel_idle: Skylake Client Support - updated
intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled
intel_idle: add BXT support
(From OE-Core rev: 92c3d9c71718ff4f4d9ec40a90be2f99a64bec66)
Signed-off-by: Yu, Ong Hock <ong.hock.yu@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the 4.1.25 and 4.1.26 stable releases.
(From OE-Core rev: 298a3c38ac99282554b51bdc0abec2423b6ce694)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following commits for BXT and other device support:
b4acdc6d1ea9 serial: 8250_dw: Do not use readl/writel before checking port iotype
c439afb78cda serial: 8250_dw: Add support for big-endian MMIO accesses
9227cc288f7e serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()
9d608cf2b4c5 serial: 8250_dw: don't set UPF_BOOT_AUTOCONF flag
db4e65b3a854 serial: 8250_dw: cleanup dw8250_setup_port
f4885484ee87 serial: 8250_dw: cleanup dw8250_idma_filter
0912b12e5df0 serial: 8250_dw: rename and comment the fallback dma filter
3436bb74c86b serial: 8250_dw: proper support for UARTs without busy functionality
fac8ac4a8074 serial: 8250_dw: add dw8250_quirks function
0bba963bdd94 serial: 8250_dw: only setup the port from one place
d01850ea5471 serial: 8250_dw: hook the DMA in one place
585f11e24199 serial: 8250_dw: adapt to unified device property interface
df44bc6d8b61 serial: 8250_dw: add separate pointer for the uart_port to dw8250_probe
84e9183637e7 serial: 8250_dw: allow lower reference frequencies
70ce481f5678 serial:8250_dw: do not alter CTS and DCTS since AFE is enabled
739968950dc4 serial: 8250: Auto CTS control by HW if AFE enabled
074cdf88d099 serial: 8250_dw: support ACPI platforms with integrated DMA engine
0bb15fc79c22 serial: 8250_dma: no need to sync RX buffer
45082f48e5c6 dmaengine: idma: rename to INTEL_IDMA64
1f4c5fb48460 mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
6963cc8f6e2e mmc: sdhci-pci: Set MMC_CAP_AGGRESSIVE_PM for Broxton controllers
aab588165ee4 mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers
c51e080a85ac mmc: sdhci-acpi: Fix card detect race for Intel BXT/APL
fbbad4798f9c mmc: sdhci-pci: Fix card detect race for Intel BXT/APL
ce6717f7195e mmc: sdhci: Allow override of get_cd() called from sdhci_request()
abceeaf8efc8 mmc: sdhci: Allow override of mmc host operations
279c8ddf6b6d mmc: sdhci: make max-frequency property in device tree work
6e9d3ad3a003 mtd: spi-nor: add support for w25q128fw
(From OE-Core rev: 8d11341b23d4f8867b1d829adb8a30556c3a5d54)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following mcc commits to the 4.4 repo. These fix issues
being seen on broxton based boads:
1f3e98df094c mmc: core: Add a facility to "pause" re-tuning
b27fcd162327 mmc: block: Pause re-tuning while switched to the RPMB partition
9aa07b4e274e mmc: block: Always switch back to main area after RPMB access
(From OE-Core rev: 9161b0856ef48275df9fedd3174629e5b29812c5)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Importing i2c dtsi support from linux-omap. This enables the
busses for future development and application support.
(From OE-Core rev: 8933893886569f9bbfc4ba7b2678f8c7c6aec611)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We had a partial musb change merged into the 4.1 tree, which resulted in:
| kernel-source/drivers/usb/musb/musb_dsps.c:
In function 'dsps_create_musb_pdev':
| kernel-source/drivers/usb/musb/musb_dsps.c:750:8:
error: 'struct musb_hdrc_config' has no member named 'maximum_speed'
| config->maximum_speed = usb_get_maximum_speed(&parent->dev);
| ^~
By backporting commit:
9b7537642cb6a [usb: musb: set the controller speed based on the config setting]
We get our missing structure field, and we can once again build musb.
[YOCTO: #9680]
(From OE-Core rev: b746223787a0195c3a4d16523003c62ec0ac8451)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reverting the change that moved common-pc* to the intel staging
branches. This means that genericx86, qemux86*, etc, will continue
to use standard/base.
(From OE-Core rev: e3aa87a5d3a7cbe6f2c835273991a388101b0cde)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To provide timely support for Intel platforms, without risking
issues with other platforms, we create intel branches from the
common variants.
i.e. We now have standard/intel, which is from standard/base
These branches will be managed like any other in the tree, and
will get common -stable, -rt, bugs and CVE updates.
(From OE-Core rev: 5bc0ce92545b8940a90d96912e46d6320b3a015e)
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following mainline backports for better Broxton
support:
Adrian Hunter (3):
mmc: sdhci: Remove SDHCI_SDR104_NEEDS_TUNING
mmc: mmc: Attempt to flush cache before reset
mmc: mmc: Fix partition switch timeout for some eMMCs
Andy Shevchenko (12):
device property: always check for fwnode type
device property: rename helper functions
device property: refactor built-in properties support
device property: keep single value inplace
device property: improve readability of macros
device property: return -EINVAL when property isn't found in ACPI
device property: Fallback to secondary fwnode if primary misses the property
mfd: core: propagate device properties to sub devices drivers
mfd: intel-lpss: Pass HSUART configuration via properties
device property: avoid allocations of 0 length
lib/string: introduce match_string() helper
device property: convert to use match_string() helper
Bamvor Jian Zhang (1):
gpiolib: do not allow to insert an empty gpiochip
Christophe RICARD (2):
ACPI: Rename acpi_gsi_get_irq_type to acpi_dev_get_irq_type and export symbol
ACPI / gpio: Add irq_type when a GPIO is used as an interrupt
Dasaratharaman Chandramouli (1):
intel_idle: Support for Intel Xeon Phi Processor x200 Product Family
Gwendal Grignou (1):
mmc: core: Do regular power cycle when lacking eMMC HW reset support
Heikki Krogerus (4):
device property: helper macros for property entry creation
device property: the secondary fwnode needs to depend on the primary
device property: fwnode->secondary may contain ERR_PTR(-ENODEV)
device property: fix for a case of use-after-free
Len Brown (2):
intel_idle: Add SKX support
intel_idle: add BXT support
Linus Walleij (1):
Revert "gpio: revert get() to non-errorprogating behaviour"
Mika Westerberg (7):
pwm: lpss: Remove ->free() callback
pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
device property: Take a copy of the property set
driver core: platform: Add support for built-in device properties
mfd: intel-lpss: Add support for passing device properties
mfd: intel-lpss: Pass SDA hold time to I2C host controller driver
mfd: intel-lpss: Pass I2C configuration via properties on BXT
Qipeng Zha (1):
pinctrl: intel: make the high level interrupt working
Richard Cochran (10):
intel_idle: remove useless return from void function.
intel_idle: Fix a helper function's return value.
intel_idle: Remove redundant initialization calls.
intel_idle: Fix deallocation order on the driver exit path.
intel_idle: Fix dangling registration on error path.
intel_idle: Avoid a double free of the per-CPU data.
intel_idle: Setup the timer broadcast only on successful driver load.
intel_idle: Don't overreact to a cpuidle registration failure.
intel_idle: Propagate hot plug errors.
intel_idle: Clean up all registered devices on exit.
Wolfram Sang (1):
mmc: make MAN_BKOPS_EN message a debug
qipeng.zha (1):
pwm: lpss: Update PWM setting for Broxton
(From OE-Core rev: 232320c019240f90fd984a23e4d382cd7c3c018d)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rename do_kernel_link_vmlinux to do_kernel_link_images and make a
symbol link to vmlinuz(if exists) for reference in arch/$arch/boot
directory.
Signen-off-by: He Zhe <zhe.he@windriver.com>
(From OE-Core rev: 6e58f54be103814b6b8a85b236510633c49e6832)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add KERNEL_IMAGETYPES to support building packaging and installing
multi types of kernel images, such as zImage uImage, at one time.
KERNEL_IMAGETYPE and KERNEL_ALT_IMAGETYPE work as before.
(From OE-Core rev: 849b67b2e4820564b5e5c9bd4bb293c44351c5f3)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the korg stable release.
(From OE-Core rev: bb4ead9b7b1400c37a72d148d9775bdf4210ec37)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following meta data change:
[
In the current codes, we build the drivers for usb controller as
modules. But for some image types, such as minimal or
full-cmdline, these driver modules are not installed to the rootfs by
default. This makes the using of the usb pretty inconvenience. So
make them all builtin.
Reported-and-suggested-by: hiims <h@101.org.il>
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: cf5004a37f120043815bb9ee4ae065c1877f404a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping to the v4.1.24 -stable release, and backporting a ppc
gcc6 fix from the 4.4 kernel.
(From OE-Core rev: aee5a879032df0c1642f17408b70a33d06df972a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* just like linux-yocto-dev is doing
* fixes following errors in world builds:
ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt-sdk.bb DEPENDS on or otherwise requires it)
ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
ERROR: Required build target 'core-image-rt-sdk' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-rt-sdk', 'linux-yocto-rt']
ERROR: Nothing PROVIDES 'linux-yocto-rt' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-rt/images/core-image-rt.bb DEPENDS on or otherwise requires it)
ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
ERROR: linux-yocto-rt was skipped: PREFERRED_PROVIDER_virtual/kernel set to linux-yocto, not linux-yocto-rt
ERROR: Required build target 'core-image-rt' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-rt', 'linux-yocto-rt']
(From OE-Core rev: 048c901fc32a1fd9a6c4b6f68f618101dfdf94ad)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It doesn't need them.
(From OE-Core rev: dc7036e8bcddb1d29739ebd4c75b150283a10ec0)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
"/usr/src/kernel" is being hard-coded in multiple recipes so far, move its
definition to bitbake.conf.
(From OE-Core rev: eb9f900527e02ca08a1de14b4ac773f513bb1ee4)
Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem provided fixes to fix gcc6 build issues, these are safe for
all gcc versions, so we integrate them directly.
(From OE-Core rev: f1c75b93a4e11425e595c5ce043fbb0276a41931)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable modsetting out of the box, we must turn on DRM.
(From OE-Core rev: 8d2b635cc2491e3d88d3a98465a9c9c063b6b9b5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating to the v4.4.9 korg -stable release:
(From OE-Core rev: d8d93df3282ad0f3bd23566152db99577f27ad90)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following commits to refactor and add broxton support:
0d73a3bf6129 bsp/intel-corei7-64: Add intel-telemetry feature
cee29e6234c7 features: add intel-telemetry feature
3a700d737b65 bsp/intel-common: Add broxton to supported SoCs in intel-core* BSPs
f584a0c22a39 features: add broxton soc feature
7c2c2bd1a6aa baytrail;valleyisland: Use designware-usb3 feature instead of config
7216db4cc7a6 features/usb: Add usb-designware2 and 3 features
ade182658359 cfg/sound.cfg: Add USB audio support
18ee21d9fba8 features/i915: Add CONFIG_KMS_FB_HELPER=y
b3fa745962c2 features/soc/skylake: Refactor and comment config fragment
(From OE-Core rev: f6d09d460d8ef4b6468abf5b7813c5eba92adab3)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following patches for skylake features and config:
82c2ea9f6bf intel-common: enable support for skylake in intel common bsp
269b6a7a98e2 intel-common-drivers: enable OSS Support
71a19d3e6dc6 intel-pinctrl: enable pinctrl driver for skylake
281f7db8c839 features: soc: enable configurations for skylake.
(From OE-Core rev: ab94ad02c35effad6fd3a1472737d1c73f53f7b3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the better late than never category, this commit integrates the
ltsi content into linux-yocto 4.1. We we already matching LTSI on
the kernel version front with a small gap in patches. With this
commit, we have a "ltsi" branch that is pure ltsi on the mailine
kernel, and then that commit is merged into standard/base (to
make it available to all BSPs).
(From OE-Core rev: 7071ab47ce566398b398ac3d24eb3620a0353897)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When working on the yocto-bsp and kernel-lab update for yocto 1.2
we found it was impossible for a end-user BSP to isolate patches
on a branch, since with the following commit:
[kernel-yocto: enforce SRC_URI specified branch]
Any new branch would be switched to whatever was specified on the
SRC_URI and undoing the work that the yocto-bsp tool did to support
board specific patches.
To fix this, we'll keep the enforcing of branch consistency enabled
by default, but introduce a variable "KMETA_AUDIT" that when not
set will skip the check.
There's no impact for existing users, and it is only something that
other plumbing commands and tools will need to use (or care about).
[YOCTO: #9120]
(From OE-Core rev: 1d4c120edeb6e45665eafd6962a10ebb89d758eb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
backporting a mainline commit to address splats that have been
seen on the 4.4 kernel:
(From OE-Core rev: 52550828662cc430fe4c5273d44c4b818aa21150)
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit to have a more informative error
message:
uvesafb: print error message when task timeout occurs
The driver waits for response from user space for a pending
task until a timeout (UVESAFB_TIMEOUT) occurs. But the
existing error message in later steps is a little obscure.
This patch throws out an error message when timeout happens.
Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
(From OE-Core rev: 1c6ba3c57eae77adb9ae5c0a60e3a9174ef398b6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An always on configuration of aufs4 crept into the default kernel
configuration blocks.
With this change, aufs-enable.scc can be used to turn on aufs via
a KERNEL_FEATURES entry. We can now have co-existing unionfs solutions
and can update them without breaking builds that haven't opted-in.
(From OE-Core rev: 5d3d6224ec2abbbeb5b9a292d208040b89cc4b98)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Merging the following two commits:
ab0d998117cc ktypes/tiny/tiny.cfg: support /proc/sys
349e9ce59f7b features: enable pinctrl driver for Broxton
(From OE-Core rev: 2f719dc523439a73dd203e6f922a7b3ccaddbee1)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The gpio_drive_show/store use incorrect gpio_desc,
this causes the drive sysfs property cannot be used,
This patch fixes this issue
Upstream-status: Inappropriate, custom code for legacy userspace
(From OE-Core rev: ec13eb0b19ee1d433329af0dd88ac5b31b13c1af)
Signed-off-by: Yong Li <yong.b.li@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixed:
WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: After meta data application, the kernel tree branch is standard/tiny/common-pc. The
WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: SRC_URI specified branch standard/tiny/base. The branch will be forced to standard/tiny/base,
WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: but this means the board meta data (.scc files) do not match the SRC_URI specification.
WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: The meta data and branch standard/tiny/base should be inspected to ensure the proper
WARNING: linux-yocto-tiny-4.4.3+gitAUTOINC+770996a263_73481a3abd-r0 do_patch: kernel is being built.
Use standard/tiny/common-pc which is pointed by the .scc to fix problem.
Btw, standard/tiny/base and standard/tiny/common-pc points to the same
commit id.
(From OE-Core rev: 04556b33d5bf232ed4de14725cf94627f434131e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It only works with qemux86, but mismatched qemux86-64 which caused
runtime errros. (kernel is bigger, can't boot, no output, and so on).
Add '$' in the end to fix the problem.
(From OE-Core rev: 8069399d9fd29428b8f3d3db419b81913b57f997)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit:
[
Add support for Intel R200 depth camera in uvc driver.
This includes adding new uvc GUIDs for the new pixel formats,
adding new V4L pixel format definition to user api headers,
and updating the uvc driver GUID-to-4cc tables with the new formats.
Tested-by: Greenberg, Aviv D <aviv.d.greenberg@intel.com>
Signed-off-by: Aviv Greenberg <aviv.d.greenberg@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
]
(From OE-Core rev: 967009e91472db109bb94c8f865924fef1beaa22)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following mainline destined commits to fix PAT issues with
32bit x86 and qemu:
bc22b90fb583 x86/pat: Document the PAT initialization sequence
c534b1ec1991 x86/xen, pat: Remove PAT table init code from Xen
cd47692e804f x86/mtrr: Fix PAT init handling when MTRR is disabled
039434bdc165 x86/mtrr: Fix Xorg crashes in Qemu sessions
c08196e8064c x86/mm/pat: Replace cpu_has_pat with boot_cpu_has()
6928fce8c766 x86/mm/pat: Add pat_disable() interface
3163c8d5468d x86/mm/pat: Add support of non-default PAT MSR setting
With this change applied, we once again have working graphics and no special
work arounds.
(From OE-Core rev: 11cf8cb05975dda23370b7715872bc4a191a2ff6)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
enabling AHCI runtime PM support via the following commits:
f5b08e95bc03 ahci: Add runtime PM support for the host controller
e05e05973f39 ahci: Add functions to manage runtime PM of AHCI ports
558571930e2d ahci: Convert driver to use modern PM hooks
4a2c2074f209 ahci: Cache host controller version
21641413456c scsi: Drop runtime PM usage count after host is added
254ab69f652d scsi: Set request queue runtime PM status back to active on resume
61c02cb167ed block: Add blk_set_runtime_active()
7bcfbac98f3c ahci: Store irq number in struct ahci_host_priv
a5a093b7f6e4 ahci: Move interrupt enablement code to a separate function
(From OE-Core rev: 83a7fca3f07487cdb367c63ede177f059ff1a021)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reverting two previous gpio commits to allow the application of proper
upstream ready patches to add this support:
08943f2bbd50 gpio-pca953x: add "drive" property
a517d5b72e76 gpio: pca953x: provide GPIO base based on _UID
c91063f44368 gpio-pca953x: add PCAL9535 interrupt support
58f3c9f0ac6d Revert "gpio-pca953x: add "drive" property"
7abbd5fec15d Revert "gpio: pca953x: provide GPIO base based on _UID"
(From OE-Core rev: 053bffb7f1af4b295a59859dea07a74009c134a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To let overlayfs be used like aufs, we create a feature
fragment. Configurations that want this union FS type, can
enable it via KERNEL_FEATURES.
(From OE-Core rev: b5600da9cdbf9a5e3badd990f399591e48b09eae)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[
NUC6 (Skylake) graphics firmware fails to load without this patch.
From: Mat Martineau <mathew.j.martineau@linux.intel.com>
commit a41c8882592fb80458959b10e37632ce030b68ca upstream.
The driver does not load firmware for unknown steppings, so these new
steppings must be added to the list.
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454023163-25469-1-git-send-email-mathew.j.martineau@linux.intel.com
]
(From OE-Core rev: 754350eb937c38e1cbd2dd3de26cc93d61d01328)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following mainline changes:
afaf425e796c pwm: Add the pwm_is_enabled() helper
023721c3d067 pwm: atmel: Fix incorrect CDTY value after disabling
cd9fe8adb313 pwm: atmel: Fix incorrect CDTY value after enabling
3f445ca6df1f pwm: lpss: Rework the sequence of programming PWM_SW_UPDATE
9a51f622bdc9 pwm: lpss: Select core part automatically
8ee11b6f80ba pwm: lpss: Update PWM setting for Broxton
148228a52c2d pwm: lpss: Remove ->free() callback
e20d95bcd0b3 pwm: lpss: Add support for runtime PM
b2248acf6f8b pwm: lpss: Add more Intel Broxton IDs
85e8566bd241 pwm: lpss: Support all four PWMs on Intel Broxton
1bcdcb6275bf pwm: lpss: Add support for multiple PWMs
(From OE-Core rev: e721858657b8641fda94f84866c37668580bd7a9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backporting the following commits:
2b0cc0f0ca23 mmc: It is not an error for the card to be removed while suspended
67903c1f4c77 mmc: sdhci: 64-bit DMA actually has 4-byte alignment
4e434f483381 mmc: sdhci: Do not BUG on invalid vdd
05be442eb234 mmc: mmc: Fix incorrect use of driver strength switching HS200 and HS400
97a5f396dca6 mmc: core: Make runtime resume default behavior for MMC/SD
b6ee1ac07f14 mmc: mmc: Improve reliability of mmc_select_hs400()
45de48ce0b3c mmc: mmc: Move mmc_switch_status()
9d6aaaa0f6b7 mmc: mmc: Fix HS setting in mmc_select_hs400()
d7795de930c5 mmc: mmc: Improve reliability of mmc_select_hs200()
ac98e33a088d mmc: sdhci-acpi: Add more ACPI HIDs for Intel controllers
87f52cce8123 mmc: sdhci-pci: Add more PCI IDs for Intel controllers
cf3a4d2d4c7d mmc: sdhci-pci: Add another PCI ID for an Intel eMMC host controller
b3ef45585504 mmc: sdhci-pci: Build o2micro support in the same module
b32a4e71f49d mmc: sdhci: enable tuning for DDR50
f8e213bee1e1 mmc: sdhci: call sdhci_init() before request irq
ece0925eb94e mmc: sdhci-pci: Enable HS400 for some Intel host controllers
1c01bcdceaf6 mmc: sdhci-pci: Add support for drive strength selection for SPT
c1d6e92915a9 mmc: sdhci: Add a callback to select drive strength
40deb3ac3331 mmc: mmc: Add driver strength selection
e7d602f5992f mmc: mmc: Read card's valid driver strength mask
bc193a886571 mmc: core: Record card drive strength
a548d3993cc8 mmc: core: Factor out common code in drive strength selection
6713f5cf3164 mmc: core: Add 'card' to drive strength selection callback
852e6bd69b77 mmc: core: Simplify card drive strength mask
0bb40266bbb9 mmc: core: Allow card drive strength to be different to host
940d30f1a212 mmc: core: Reset driver type to default
efbc6ba8cd27 mmc: cast u8 to unsigned long long to avoid unexpected error
bafe0e5beba9 mmc: core: Don't print reset warning if reset is not supported
5b2789151852 mmc: block: Retry errored data requests when re-tuning is needed
d14211a4b2fe mmc: block: Check re-tuning in the recovery path
1ff15c648159 mmc: core: Flag re-tuning is needed on CRC errors
12544ee1cdbb mmc: sdhci: Change to new way of doing re-tuning
995073b182f7 mmc: core: Add support for HS400 re-tuning
53a0d731e824 mmc: core: Separate out the mmc_switch status check so it can be re-used
d3f59f108bf7 mmc: mmc: Hold re-tuning in mmc_sleep()
465db9504a27 mmc: core: Hold re-tuning while bkops ongoing
60cacf85ee10 mmc: core: Hold re-tuning during erase commands
5bd43535f4c1 mmc: core: Hold re-tuning during switch commands
4baa45ff8d15 mmc: core: Add support for re-tuning before each request
cd2ca27f9282 mmc: core: Enable / disable re-tuning
65723236b746 mmc: host: Add facility to support re-tuning
(From OE-Core rev: 934fd9d7310ffc72e206f48590a0f10ba0a78e1b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To enable Apollo Lake/Broxton, we backport the following changes:
da451824f75f i2c: designware: Convert to use unified device property API
58b1b5365f4a i2c: designware: Do not require clock when SSCN and FFCN are provided
8995091cfa0f i2c: designware: retry transfer on transient failure
1fc62907f84e i2c: designware: Move common probe code into i2c_dw_probe()
678110c0f2b8 i2c: designware: Rename platform driver probe and PM functions
c51c2e104d40 i2c: designware: Make dw_readl() and dw_writel() static
98d2b6e244ad i2c: designware: Remove unused functions
3d04c6e99652 i2c: designware: Disable interrupts before requesting PCI device interrupt
fb5b7be0fbe7 i2c: designware: Remove interrupt clearing from i2c_dw_pci_probe()
d48fd08b11c8 i2c: designware: Make debug print in i2c_dw_isr() shorter
28f94bc07450 i2c: designware-pci: use IRQF_COND_SUSPEND flag 95f494846fc1 i2c: designware: Avoid unnecessary resuming during system suspend
fb2ae3705a3a i2c: dw: Add APM X-Gene ACPI I2C device support
516a0fc91e00 i2c: designware: Add support for AMD Seattle I2C
874d63b3c95c i2c: designware: fix IO timeout issue for AMD controller
47543e80c6dd i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"
076fe383c4b5 i2c: designware: use to_pci_dev()
(From OE-Core rev: 7b4b8a2481ce256e35fb86ebdeb944ee29ad5231)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following 4.4 backports:
630b726098c9 mfd: make mfd_remove_devices() iterate in reverse order
aab24907568b driver core: Do not overwrite secondary fwnode with NULL if it is set
89775462ef50 device property: return -EINVAL when property isn't found in ACPI
a9eebae4a2c0 device property: check fwnode type in to_of_node()
(From OE-Core rev: 4dd3bd968042d943f279d91d220abc61ebd574a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was requested that CONFIG_COMPAT be enabled for qemuarm64 so that
32bit applications could be tested. This is simple enough to do, so
there is now a 32bit compat feature, and it is included only in
qemuarm64 to avoid impacting any other ARM targets (but the feature
is available for others to use).
[YOCTO #8646]
(From OE-Core rev: 26488894a2fdea0e0b003ff060b5a88ec6625a5f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following mainline commits for Apollo Lake/Broxton support:
568c4910b938 device property: always check for fwnode type
bd2ac1821e91 device property: fallback to pset when gettng one string
44a76bd61eed ACPI / property: Extend fwnode_property_* to data-only subnodes
76f301877fab ACPI / property: Add support for data-only subnodes
95010db1e8f9 ACPI / property: Add routine for extraction of _DSD properties
3d257abeae4d device property: Return -ENXIO if there is no suitable FW interface
15f7db3cd1d0 device property: attach 'else if' to the proper 'if'
effb3f07966e ACPI / OF: Rename of_node() and acpi_node() to to_of_node() and to_acpi_node()
30aa0ae9ebf0 ACPI / scan: Parse _CCA and setup device coherency
c8b4218d1523 ACPI / property: Define a symbol for PRP0001
3d20c5d27e99 ACPI / property: Refine consistency check for PRP0001
f753cbe35057 device property: avoid allocations of 0 length
6985a3d56431 device property: the secondary fwnode needs to depend on the primary
6c23f8de37ff device property: add spaces to PROPERTY_ENTRY_STRING macro
216b251c170c include/linux/property.h: fix build issues with gcc-4.4.4
c579da0b4812 device property: Take a copy of the property set
e0c7ce6ec1eb device property: Fallback to secondary fwnode if primary misses the property
a657577af2af device property: improve readability of macros
599f18f62daf device property: Add fwnode_property_match_string()
03599b274370 device property: helper macros for property entry creation
5247e6af02d6 device property: keep single value inplace
c12af01cf0d4 device property: refactor built-in properties support
1390c21efa11 device property: rename helper functions
(From OE-Core rev: cd4288126b01903fe69714eda772cd4f725ad43a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This enables the CONFIG_TMPFS_POSIX_ACL, which is wanted by things like
systemd. We also explicitly enable the features's dependencies and
options selected by the feature for clarity.
[YOCTO #9269]
(From OE-Core rev: 1f501a8f6e7b7f2d79bf2a18a8b83f413eb5cc19)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We backported a series of usb OTG commits for BSPs that required
updated support, but this commit was missed. We backport it as
well to fix build issues in some configurations.
(From OE-Core rev: 06ab1c7f60fbc0a9aebb9fd9321a1b7213378037)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
backporting the following powercap commits:
24e2e14aa446 powercap / RAPL: Enable Broxton RAPL support
6be05b47d625 powercap / RAPL: Add support for Skylake H/S
879e8d02e07d powercap / RAPL: Support Knights Landing
ec583656ad93 powercap / RAPL: Floor frequency setting in Atom SoC
(From OE-Core rev: 0c976d90781a1668c5f893d8c7f2509732679466)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Importing a series of mainline backports to support USB on a couple of
Intel platforms:
b5f6aa9957dd usb: otg: add usb_otg_caps structure for otg capabilities
bbce8fe2cc42 usb: dwc3: pci: add support for Intel Broxton SOC
e734e1d9f827 usb: dwc3: pci: Set enblslpm quirk for Synopsys platforms
1c6bb6694d50 usb: dwc3: Add dis_enblslpm_quirk
1c6be99e56b8 usb: dwc3: pci: trivial: Formatting
2f2b89764b97 usb: dwc3: pci: passing forward the ACPI companion
ea4b3c72d976 usb: dwc3: core: convert to unified device property interface
dc670b52c69a usb: common: of_usb_get_dr_mode to usb_get_dr_mode
586fc5174649 usb: dwc3: st: prepare the driver for generic usb_get_dr_mode function
0624bd9af7ef usb: common: of_usb_get_maximum_speed to usb_get_maximum_speed
e65bc5467e07 usb: dwc3: Add frame length adjustment quirk
a90954c5d267 usb: musb: dsps: control musb speed based on dts setting
b48ff160a993 usb: renesas_usbhs: Allow an OTG PHY driver to provide VBUS
d1c59752195e usb: chipidea: set usb otg capabilities
733eada2cdec usb: common: add API to update usb otg capabilities by device tree
7ab2108dd82b usb: dwc3: core: avoid NULL pointer dereference
1aedb48b7dc9 usb: dwc3: add ULPI interface support
07e42a29fb7e usb: dwc3: pci: add quirk for Baytrails
065917252622 usb: dwc3: add hsphy_interface property
b2bb32a363a3 usb: dwc3: setup phys earlier
bf6bb0a6ebb5 usb: dwc3: soft reset to it's own function
d481da949476 usb: dwc3: cache hwparams earlier
9ac66262a201 usb: dwc3: store driver data earlier
5f940588938c usb: dwc3: ULPI or UTMI+ select
04fdce097f83 usb: dwc3: USB2 PHY register access bits
b7209213cc05 usb: add bus type for USB ULPI
(From OE-Core rev: 46d173949675dde10b714f30b6f9c37c2e26a43a)
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>