Fix bump to Linux Kernel 4.4.227
Fixes the build issue with cd832d5 "Update Linux Kernel
to latest 4.4.227 version" and adds a shortlog of
PowePC-relevant changes since kernel 4.4.118:
Alan Modra (1):
powerpc/vdso: Correct call frame information
Alastair D'Silva (1):
powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
Alexey Kardashevskiy (5):
KVM: PPC: Book3S PR: Exit KVM on failed mapping
powerpc/powernv/ioda2: Reduce upper limit for DMA window size
powerpc/pci/of: Fix OF flags parsing for 64bit BARs
powerpc/pseries: Allow not having ibm, hypertas-functions::hcall-multi-tce for DDW
powerpc/pci/of: Parse unassigned resources
Andrew Donnellan (1):
powerpc/powernv: Restrict OPAL symbol map to only be readable by root
Aneesh Kumar K.V (1):
powerpc/mm/hash: Add missing isync prior to kernel stack SLB switch
Anthony Steinhauser (1):
powerpc/security/book3s64: Report L1TF status in sysfs
Anton Blanchard (1):
powerpc: Avoid taking a data miss on every userspace instruction miss
Ard Biesheuvel (1):
powerpc/archrandom: fix arch_get_random_seed_int()
Ben Hutchings (1):
powerpc: vdso: Make vdso32 installation conditional in vdso_install
Benjamin Herrenschmidt (2):
powerpc: Don't preempt_disable() in show_cpuinfo()
powerpc/44x/bamboo: Fix PCI range
Bjorn Helgaas (1):
PCI: Supply CPU physical address (not bus address) to iomem_is_exclusive()
Bo YU (1):
powerpc/boot: Fix missing check of lseek() return value
Breno Leitao (4):
selftests/powerpc: Kill child processes on SIGINT
powerpc/pseries/cpuidle: Fix preempt warning
powerpc/64s: Include cpu header
powerpc/iommu: Avoid derefence before pointer check
Chen Yu (1):
ACPI: processor_perflib: Do not send _PPC change notification if not ready
Christian Lamparter (2):
crypto: crypto4xx - properly set IV after de- and encrypt
powerpc/4xx/uic: clear pending interrupt after irq type/pol change
Christophe Leroy (16):
powerpc/8xx: fix invalid register expression in head_8xx.S
perf tools: Allow overriding MAX_NR_CPUS at compile time
powerpc/msi: Fix compile error on mpc83xx
powerpc/uaccess: fix warning/error with access_ok()
powerpc/32: Clear on-stack exception marker upon exception return
powerpc/wii: properly disable use of BATs when requested.
powerpc/83xx: Also save/restore SPRG4-7 during suspend
powerpc/fsl: Fix the flush of branch predictor.
powerpc/lib: fix book3s/32 boot failure due to code patching
powerpc/32s: fix suspend/resume when IBATs 4-7 are used
powerpc/futex: Fix warning: 'oldval' may be used uninitialized in this function
powerpc/book3s/32: fix number of bats in p/v_block_mapped()
powerpc/xmon: fix dump_segments()
powerpc/prom: fix early DEBUG messages
powerpc/mm: Make NULL pointer deferences explicit on bad page faults.
powerpc/irq: fix stack overflow verification
Christopher M. Riedl (1):
powerpc/64s: support nospectre_v2 cmdline option
Chunyu Hu (1):
cpufreq: cppc_cpufreq: Fix cppc_cpufreq_init() failure path
Colin Ian King (1):
atm: he: fix sign-extension overflow on large shift
Dan Carpenter (3):
powerpc: Fix size calculation using resource_size()
powerpc: Fix signedness bug in update_flash_db()
soc/fsl/qe: Fix an error code in qe_pin_request()
Daniel Axtens (3):
powerpc/nohash: fix undefined behaviour when testing page size support
crypto: vmx - CTR: always increment IV as quadword
powerpc/pseries/hvconsole: Fix stack overread via udbg
Daniel Borkmann (1):
bpf, mips: fix off-by-one in ctx offset allocation
Daniel Jurgens (1):
net/mlx4_core: Implement pci_resume callback
Dave Carroll (1):
scsi: aacraid: Insure command thread is not recursively stopped
David Hildenbrand (1):
powerpc/pseries/cmm: Implement release() function for sysfs device
Denis Kirjanov (1):
net: usb: pegasus: fix improper read if get_registers() fail
Desnes A. Nunes do Rosario (1):
powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
Diana Craciun (18):
powerpc/64: Disable the speculation barrier from the command line
powerpc/64: Make stf barrier PPC_BOOK3S_64 specific.
powerpc/64: Make meltdown reporting Book3S 64 specific
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E
powerpc/fsl: Add infrastructure to fixup branch predictor flush
powerpc/fsl: Add macro to flush the branch predictor
powerpc/fsl: Fix spectre_v2 mitigations reporting
powerpc/fsl: Add nospectre_v2 command line argument
powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
powerpc/fsl: Update Spectre v2 reporting
powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
powerpc/fsl: Flush branch predictor when entering KVM
powerpc/fsl: Emulate SPRN_BUCSR register
powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
powerpc/fsl: Sanitize the syscall table for NXP PowerPC 32 bit platforms
powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
Documentation: Add nospectre_v1 parameter
Erico Nunes (1):
i2c: dev: switch from register_chrdev to cdev API
Eryu Guan (1):
ext4: fix off-by-one on max nr_pages in ext4_find_unwritten_pgoff()
Finn Thain (1):
block/swim3: Fix -EBUSY error when re-opening device after unmount
Frank Rowand (1):
powerpc/pseries: add of_node_put() in dlpar_detach_node()
Gen Zhang (1):
powerpc/pseries/dlpar: Fix a missing check in dlpar_parse_cc_property()
Guenter Roeck (1):
powerpc/boot: Fix random libfdt related build errors
Gustavo L. F. Walbon (1):
powerpc/security: Fix wrong message when RFI Flush is disable
Hari Bathini (2):
powerpc/fadump: handle crash memory ranges array index overflow
powerpc/kdump: Handle crashkernel memory reservation failure
Heiko Carstens (1):
s390/uprobes: implement arch_uretprobe_is_alive()
Ivan Mikhaylov (1):
powerpc/[booke|4xx]: Don't clobber TCR[WP] when setting TCR[DIE]
Jiri Olsa (2):
perf tests: Use arch__compare_symbol_names to compare symbols
perf bench numa: Fix cpu0 binding
Jiri Slaby (1):
futex: Remove duplicated code and fix undefined behaviour
Joel Stanley (2):
powerpc/boot: Ensure _zimage_start is a weak symbol
powerpc/math-emu: Update macros from GCC
Jonathan Neuschäfer (1):
powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet
Jordan Niethe (1):
powerpc/powernv: Make opal log only readable by root
Josh Poimboeuf (2):
cpu/speculation: Add 'mitigations=' cmdline option
x86/speculation: Support 'mitigations=' cmdline option
Laurentiu Tudor (2):
powerpc/booke64: set RI in default MSR
powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
Madhavan Srinivasan (2):
powerpc/perf: Prevent kernel address leak to userspace via BHRB buffer
powerpc/perf: Remove PPMU_HAS_SSLOT flag for Power8
Mahesh Salgaonkar (4):
powerpc/fadump: Unregister fadump on kexec down path.
powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.
powerpc/pseries: Avoid using the size greater than RTAS_ERROR_LOG_MAX.
powerpc/book3s: Fix MCE console messages for unrecoverable MCE.
Mark Lord (1):
powerpc/bpf/jit: Fix 32-bit JIT for seccomp_data access
Masahiro Yamada (1):
usb: gadget: legacy: fix redundant initialization warnings
Mathieu Malaterre (5):
powerpc: Add missing prototype for arch_irq_work_raise()
powerpc/32: Add a missing include header
powerpc/chrp/time: Make some functions static, add missing header include
powerpc/powermac: Add missing prototype for note_bootable_part()
powerpc/powermac: Mark variable x as unused
Mauricio Faria de Oliveira (4):
powerpc/rfi-flush: Differentiate enabled and patched flush types
powerpc/pseries: Fix clearing of security feature flags
powerpc: Move default security feature flags
powerpc/pseries: Restore default security feature flags on setup
Mauro Carvalho Chehab (1):
media: ov9650: add a sanity check
Michael Bringmann (2):
powerpc/numa: Use ibm,max-associativity-domains to discover possible nodes
powerpc/numa: Ensure nodes initialized for hotplug
Michael Ellerman (44):
powerpc/64s: Fix RFI flush dependency on HARDLOCKUP_DETECTOR
powerpc/mm: Fix virt_addr_valid() etc. on 64-bit hash
selftests/powerpc: Fix TM resched DSCR test with some compilers
powerpc/spufs: Fix coredump of SPU contexts
powerpc/lib: Fix off-by-one in alternate feature patching
selftests/powerpc: Skip the subpage_prot tests if the syscall is unavailable
powerpc/mpic: Check if cpu_possible() in mpic_physmask()
powerpc/perf: Fix kernel address leak via sampling registers
selftests: Print the test we're running to /dev/kmsg
powerpc/xmon: Add RFI flush related fields to paca dump
powerpc/pseries: Support firmware disable of RFI flush
powerpc/powernv: Support firmware disable of RFI flush
powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again
powerpc/rfi-flush: Always enable fallback flush on pseries
powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
powerpc: Add security feature flags for Spectre/Meltdown
powerpc/pseries: Set or clear security feature flags
powerpc/powernv: Set or clear security feature flags
powerpc/64s: Move cpu_show_meltdown()
powerpc/64s: Enhance the information in cpu_show_meltdown()
powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
powerpc/64s: Wire up cpu_show_spectre_v1()
powerpc/64s: Wire up cpu_show_spectre_v2()
powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
powerpc/64: Use barrier_nospec in syscall entry
powerpc: Use barrier_nospec in copy_from_user()
powerpc64s: Show ori31 availability in spectre_v1 sysfs file not v2
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC
powerpc/64: Call setup_barrier_nospec() from setup_arch()
powerpc/asm: Add a patch_site macro & helpers for patching instructions
powerpc/64s: Add new security feature flags for count cache flush
powerpc/64s: Add support for software count cache flush
powerpc/pseries: Query hypervisor for count cache flush settings
powerpc/powernv: Query firmware for count cache flush settings
powerpc/security: Fix spectre_v2 reporting
powerpc/Makefile: Use cflags-y/aflags-y for setting endian options
powerpc/book3s64: Fix link stack flush on context switch
crypto: vmx - Avoid weird build failures
powerpc/pseries: Mark accumulate_stolen_time() as notrace
of: Add OF_DMA_DEFAULT_COHERENT & select it on powerpc
powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
Michael Neuling (9):
powerpc/eeh: Fix enabling bridge MMIO windows
powerpc/64s: Clear PCR on boot
powerpc/ptrace: Fix setting 512B aligned breakpoints with PTRACE_SET_DEBUGREG
powerpc/ptrace: Fix enforcement of DAWR constraints
powerpc/tm: Fix userspace r13 corruption
powerpc/tm: Avoid possible userspace r1 corruption on reclaim
powerpc: Avoid code patching freed init sections
powerpc/tm: Fix oops on sigreturn on systems without TM
powerpc/tm: Fix stack pointer corruption in __tm_recheckpoint()
Michal Suchanek (6):
powerpc/fadump: Return error when fadump registration fails
powerpc/64s: Add barrier_nospec
powerpc/64s: Add support for ori barrier_nospec patching
powerpc/64s: Patch barrier_nospec in modules
powerpc/64s: Enable barrier_nospec based on firmware settings
powerpc/64s: Enhance the information in cpu_show_spectre_v1()
Mike Rapoport (1):
powerpc: Ensure that swiotlb buffer is allocated from low memory
Nathan Chancellor (2):
powerpc/44x: Adjust indentation in ibm4xx_denali_fixup_memsize
lib/mpi: Fix building for powerpc with clang
Nathan Fontenot (1):
powerpc/pseries: Disable CPU hotplug across migrations
Nathan Lynch (5):
powerpc/numa: improve control of topology updates
powerpc/rtas: use device model APIs and serialization during LPM
powerpc/pseries/mobility: use cond_resched when updating device tree
powerpc/pseries: correctly track irq state in default idle
powerpc/cacheinfo: add cacheinfo_teardown, cacheinfo_rebuild
Naveen N. Rao (5):
recordmcount: Fix spurious mcount entries on powerpc
powerpc/pseries: Fix DTL buffer registration
powerpc/pseries: Fix how we iterate over the DTL entries
powerpc: Include .BTF section
perf tools: Fix perf regs mask generation
Nicholas Piggin (14):
powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()
powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently
powerpc/powernv: define a standard delay for OPAL_BUSY type retry loops
powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops
powerpc/powernv: Fix NVRAM sleep in invalid context when crashing
powerpc/64s: Fix compiler store ordering to SLB shadow area
powerpc/powernv: opal_put_chars partial write fix
powerpc/64s: Improve RFI L1-D cache flush fallback
powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit
powerpc/64s/exception: machine check use correct cfar for late handler
scsi: qla2xxx: stop timer in shutdown path
powerpc: Fix compiling a BE kernel with a powerpc64le toolchain
powerpc/boot: Request no dynamic linker for boot wrapper
powerpc/64s/hash: Fix stab_rr off by one initialization
Oliver O'Halloran (1):
powerpc/eeh: Handle hugepages in ioremap space
Ondrej Mosnacek (1):
crypto: vmx - Fix sleep-in-atomic bugs
Paul Mackerras (4):
KVM: PPC: Book3S PR: Check copy_to/from_user return values
KVM: PPC: Book3S HV: Don't truncate HPTE index in xlate function
powerpc: Fix COFF zImage booting on old powermacs
KVM: PPC: Book3S: Use new mutex to synchronize access to rtas token list
Peter Zijlstra (2):
mm/tlb: Remove tlb_remove_table() non-concurrent condition
perf/core: Fix perf_sample_regs_user() mm check
Pingfan Liu (1):
powerpc/pseries: Advance pfn if section is not present in lmb_is_removable()
Qian Cai (1):
asm-generic: fix -Wtype-limits compiler warnings
Radu Rendec (1):
powerpc/msi: Fix NULL pointer access in teardown code
Randy Dunlap (2):
net/ethernet/freescale/fman: fix cross-build error
usb/phy: fix PPC64 build errors in phy-fsl-usb.c
Ravi Bangoria (2):
powerpc/perf: Fix oops when grouping different pmu events
powerpc/watchpoint: Restore NV GPRs while returning from exception
Rikard Falkeborn (1):
tools lib traceevent: Fix missing equality check for strcmp
Rob Herring (1):
libfdt: Ensure INT_MAX is defined in libfdt_env.h
Sam Bobroff (1):
powerpc/eeh: Fix use of EEH_PE_KEEP on wrong field
Sandipan Das (4):
perf report powerpc: Fix crash if callchain is empty
perf powerpc: Fix callchain ip filtering when return address is in a register
perf powerpc: Fix callchain ip filtering
perf probe powerpc: Ignore SyS symbols irrespective of endianness
Satheesh Rajendran (1):
powerpc/numa: Suppress "VPHN is not supported" messages
Scott Wood (1):
KVM: PPC: Move and undef TRACE_INCLUDE_PATH/FILE
Sean Christopherson (1):
KVM: PPC: Book3S PR: Free shared page if mmu initialization fails
Seth Forshee (1):
powerpc: Always initialize input array when calling epapr_hypercall()
Stephen Rothwell (2):
fs/cifs: suppress a string overflow warning
tty: evh_bytechan: Fix out of bounds accesses
Stewart Smith (4):
powerpc/powernv: panic() on OPAL < V3
powerpc/powernv: Remove OPALv2 firmware define and references
powerpc/powernv: remove FW_FEATURE_OPALv3 and just use FW_FEATURE_OPAL
hvc_opal: don't set tb_ticks_per_usec in udbg_init_opal_common()
Vincenzo Frascino (1):
powerpc: Fix vDSO clock_getres()
Vlastimil Babka (1):
mm, slub: prevent kmalloc_node crashes and memory leaks
Wen Yang (5):
SoC: imx-sgtl5000: add missing put_device()
cpufreq: ppc_cbe: fix possible object reference leak
cpufreq/pasemi: fix possible object reference leak
cpufreq: pmac32: fix possible object reference leak
ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
YueHaibing (1):
fbdev: chipsfb: remove set but not used variable 'size'
wen yang (1):
ASoC: fsl-asoc-card: fix object reference leaks in fsl_asoc_card_probe
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
diff --git a/openpower/linux/0004-xhci-do-not-halt-the-secondary-HCD.patch b/openpower/linux/0004-xhci-do-not-halt-the-secondary-HCD.patch
index 0cfdd39..b6760c9 100644
--- a/openpower/linux/0004-xhci-do-not-halt-the-secondary-HCD.patch
+++ b/openpower/linux/0004-xhci-do-not-halt-the-secondary-HCD.patch
@@ -1,7 +1,7 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From de6c0cd214bbf94627c302db2c8101542f9b9e52 Mon Sep 17 00:00:00 2001
From: Joel Stanley <joel@jms.id.au>
Date: Tue, 19 Jul 2016 22:43:26 +0930
-Subject: [PATCH 04/11] xhci: do not halt the secondary HCD
+Subject: [PATCH 04/10] xhci: do not halt the secondary HCD
We can't halt the secondary HCD, because it's also the primary HCD,
which will cause problems if we have devices attached to the primary
@@ -15,10 +15,10 @@
1 file changed, 15 insertions(+), 5 deletions(-)
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
-index f2e9f59c90d6..28fad2949308 100644
+index af4e681..af702ba 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
-@@ -682,6 +682,21 @@ void xhci_stop(struct usb_hcd *hcd)
+@@ -680,6 +680,21 @@ void xhci_stop(struct usb_hcd *hcd)
mutex_lock(&xhci->mutex);
@@ -40,7 +40,7 @@
if (!(xhci->xhc_state & XHCI_STATE_HALTED)) {
spin_lock_irq(&xhci->lock);
-@@ -693,11 +708,6 @@ void xhci_stop(struct usb_hcd *hcd)
+@@ -691,11 +706,6 @@ void xhci_stop(struct usb_hcd *hcd)
spin_unlock_irq(&xhci->lock);
}
@@ -52,3 +52,6 @@
xhci_cleanup_msix(xhci);
/* Deleting Compliance Mode Recovery Timer */
+--
+1.9.4
+