This is the start of the stable review cycle for the 4.4.180 release.
There are 266 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Fri 17 May 2019 09:04:49 AM UTC.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.180-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 4.4.180-rc1
Laurentiu Tudor <[email protected]>
powerpc/booke64: set RI in default MSR
Dan Carpenter <[email protected]>
drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl
Dan Carpenter <[email protected]>
drivers/virt/fsl_hypervisor.c: dereferencing error pointers in ioctl
Jarod Wilson <[email protected]>
bonding: fix arp_validate toggling in active-backup mode
David Ahern <[email protected]>
ipv4: Fix raw socket lookup for local traffic
Stephen Suryaputra <[email protected]>
vrf: sit mtu should not be updated when vrf netdev is the link
Hangbin Liu <[email protected]>
vlan: disable SIOCSHWTSTAMP in container
YueHaibing <[email protected]>
packet: Fix error path in packet_init
Christophe Leroy <[email protected]>
net: ucc_geth - fix Oops when changing number of buffers in the ring
Tobin C. Harding <[email protected]>
bridge: Fix error path for kobject_init_and_add()
Breno Leitao <[email protected]>
powerpc/64s: Include cpu header
Johan Hovold <[email protected]>
USB: serial: fix unthrottle races
Oliver Neukum <[email protected]>
USB: serial: use variable for status
Ben Hutchings <[email protected]>
x86/bugs: Change L1TF mitigation string to match upstream
Josh Poimboeuf <[email protected]>
x86/speculation/mds: Fix documentation typo
Tyler Hicks <[email protected]>
Documentation: Correct the possible MDS sysfs values
speck for Pawan Gupta <[email protected]>
x86/mds: Add MDSUM variant to the MDS documentation
Josh Poimboeuf <[email protected]>
x86/speculation/mds: Add 'mitigations=' support for MDS
Josh Poimboeuf <[email protected]>
x86/speculation: Support 'mitigations=' cmdline option
Josh Poimboeuf <[email protected]>
cpu/speculation: Add 'mitigations=' cmdline option
Konrad Rzeszutek Wilk <[email protected]>
x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
Boris Ostrovsky <[email protected]>
x86/speculation/mds: Fix comment
Josh Poimboeuf <[email protected]>
x86/speculation/mds: Add SMT warning message
Josh Poimboeuf <[email protected]>
x86/speculation: Move arch_smt_update() call to after mitigation decisions
Andi Kleen <[email protected]>
x86/cpu/bugs: Use __initconst for 'const' init data
Thomas Gleixner <[email protected]>
Documentation: Add MDS vulnerability documentation
Thomas Gleixner <[email protected]>
Documentation: Move L1TF to separate directory
Thomas Gleixner <[email protected]>
x86/speculation/mds: Add mitigation mode VMWERV
Thomas Gleixner <[email protected]>
x86/speculation/mds: Add sysfs reporting for MDS
Ben Hutchings <[email protected]>
x86/speculation/l1tf: Document l1tf in sysfs
Thomas Gleixner <[email protected]>
x86/speculation/mds: Add mitigation control for MDS
Thomas Gleixner <[email protected]>
x86/speculation/mds: Conditionally clear CPU buffers on idle entry
Thomas Gleixner <[email protected]>
x86/speculation/mds: Clear CPU buffers on exit to user
Thomas Gleixner <[email protected]>
x86/speculation/mds: Add mds_clear_cpu_buffers()
Andi Kleen <[email protected]>
x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
Thomas Gleixner <[email protected]>
x86/speculation/mds: Add BUG_MSBDS_ONLY
Andi Kleen <[email protected]>
x86/speculation/mds: Add basic bug infrastructure for MDS
Thomas Gleixner <[email protected]>
x86/speculation: Consolidate CPU whitelists
Thomas Gleixner <[email protected]>
x86/msr-index: Cleanup bit defines
Eduardo Habkost <[email protected]>
kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
Thomas Gleixner <[email protected]>
x86/speculation: Provide IBPB always command line options
Thomas Gleixner <[email protected]>
x86/speculation: Add seccomp Spectre v2 user space protection mode
Thomas Gleixner <[email protected]>
x86/speculation: Enable prctl mode for spectre_v2_user
Thomas Gleixner <[email protected]>
x86/speculation: Add prctl() control for indirect branch speculation
Thomas Gleixner <[email protected]>
x86/speculation: Prevent stale SPEC_CTRL msr content
Thomas Gleixner <[email protected]>
x86/speculation: Prepare arch_smt_update() for PRCTL mode
Thomas Gleixner <[email protected]>
x86/speculation: Split out TIF update
Thomas Gleixner <[email protected]>
x86/speculation: Prepare for conditional IBPB in switch_mm()
Thomas Gleixner <[email protected]>
x86/speculation: Avoid __switch_to_xtra() calls
Thomas Gleixner <[email protected]>
x86/process: Consolidate and simplify switch_to_xtra() code
Tim Chen <[email protected]>
x86/speculation: Prepare for per task indirect branch speculation control
Thomas Gleixner <[email protected]>
x86/speculation: Add command line control for indirect branch speculation
Thomas Gleixner <[email protected]>
x86/speculation: Unify conditional spectre v2 print functions
Thomas Gleixner <[email protected]>
x86/speculataion: Mark command line parser data __initdata
Thomas Gleixner <[email protected]>
x86/speculation: Mark string arrays const correctly
Thomas Gleixner <[email protected]>
x86/speculation: Reorder the spec_v2 code
Thomas Gleixner <[email protected]>
x86/speculation: Rework SMT state change
Ben Hutchings <[email protected]>
sched: Add sched_smt_active()
Thomas Gleixner <[email protected]>
x86/Kconfig: Select SCHED_SMT if SMP enabled
Tim Chen <[email protected]>
x86/speculation: Reorganize speculation control MSRs update
Thomas Gleixner <[email protected]>
x86/speculation: Rename SSBD update functions
Tim Chen <[email protected]>
x86/speculation: Disable STIBP when enhanced IBRS is in use
Tim Chen <[email protected]>
x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
Tim Chen <[email protected]>
x86/speculation: Remove unnecessary ret variable in cpu_show_common()
Tim Chen <[email protected]>
x86/speculation: Clean up spectre_v2_parse_cmdline()
Tim Chen <[email protected]>
x86/speculation: Update the TIF_SSBD comment
Jiri Kosina <[email protected]>
x86/speculation: Propagate information about RSB filling mitigation to sysfs
Jiri Kosina <[email protected]>
x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
Jiri Kosina <[email protected]>
x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
Nadav Amit <[email protected]>
x86/mm: Use WRITE_ONCE() when setting PTEs
Thomas Gleixner <tglx@xxxxxxxxxxxxx>
KVM: x86: SVM: Call x86_spec_ctrl_set_guest/host() with interrupts disabled
Peter Zijlstra <[email protected]>
x86/cpu: Sanitize FAM6_ATOM naming
Filippo Sironi <[email protected]>
x86/microcode: Update the new microcode revision unconditionally
Prarit Bhargava <[email protected]>
x86/microcode: Make sure boot_cpu_data.microcode is up-to-date
Jiang Biao <[email protected]>
x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
Tom Lendacky <[email protected]>
x86/bugs: Fix the AMD SSBD usage of the SPEC_CTRL MSR
Will Deacon <[email protected]>
locking/atomics, asm-generic: Move some macros from <linux/bitops.h> to a new <linux/bits.h> file
Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Switch the selection of mitigation from CPU vendor to CPU features
Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Add AMD's SPEC_CTRL MSR usage
Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Add AMD's variant of SSB_NO
Dominik Brodowski <[email protected]>
x86/speculation: Simplify the CPU bug detection logic
Sai Praneeth <[email protected]>
x86/speculation: Support Enhanced IBRS on future CPUs
Ben Hutchings <[email protected]>
x86/cpufeatures: Hide AMD-specific speculation flags
Tony Luck <[email protected]>
x86/MCE: Save microcode revision in machine check records
Ashok Raj <[email protected]>
x86/microcode/intel: Check microcode revision before updating sibling threads
Matthias Kaehlcke <[email protected]>
bitops: avoid integer overflow in GENMASK(_ULL)
Nicolas Dichtel <[email protected]>
x86: stop exporting msr-index.h to userland
Borislav Petkov <[email protected]>
x86/microcode/intel: Add a helper which gives the microcode revision
Tony Luck <[email protected]>
locking/static_keys: Provide DECLARE and well as DEFINE macros
Nigel Croxon <[email protected]>
Don't jump to compute_result state from check_result state
Alistair Strachan <[email protected]>
x86/vdso: Pass --eh-frame-hdr to the linker
Wei Yongjun <[email protected]>
cw1200: fix missing unlock on error in cw1200_hw_scan()
Lucas Stach <[email protected]>
gpu: ipu-v3: dp: fix CSC handling
Po-Hsu Lin <[email protected]>
selftests/net: correct the return value for run_netsocktests
Arnd Bergmann <[email protected]>
s390: ctcm: fix ctcm_new_device error return code
Julian Anastasov <[email protected]>
ipvs: do not schedule icmp errors from tunnels
Dan Williams <[email protected]>
init: initialize jump labels before command line option parsing
Rikard Falkeborn <[email protected]>
tools lib traceevent: Fix missing equality check for strcmp
Vitaly Kuznetsov <[email protected]>
KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in tracing
Martin Schwidefsky <[email protected]>
s390/3270: fix lockdep false positive on view->lock
Peter Oberparleiter <[email protected]>
s390/dasd: Fix capacity calculation for large volumes
Aditya Pakki <[email protected]>
libnvdimm/btt: Fix a kmemdup failure check
Dmitry Torokhov <[email protected]>
HID: input: add mapping for keyboard Brightness Up/Down/Toggle keys
Dmitry Torokhov <[email protected]>
HID: input: add mapping for Expose/Overview key
Sven Van Asbroeck <[email protected]>
iio: adc: xilinx: fix potential use-after-free on remove
Gustavo A. R. Silva <[email protected]>
platform/x86: sony-laptop: Fix unintentional fall-through
Michal Hocko <[email protected]>
mm, vmstat: make quiet_vmstat lighter
Francesco Ruggeri <[email protected]>
netfilter: compat: initialize all fields in xt_init
Ben Hutchings <[email protected]>
timer/debug: Change /proc/timer_stats from 0644 to 0600
Ross Zwisler <[email protected]>
ASoC: Intel: avoid Oops if DMA setup fails
WANG Cong <[email protected]>
ipv6: fix a potential deadlock in do_ipv6_setsockopt()
Oliver Neukum <[email protected]>
UAS: fix alignment of scatter/gather segments
Marcel Holtmann <[email protected]>
Bluetooth: Align minimum encryption key size for LE and BR/EDR connections
Young Xiao <[email protected]>
Bluetooth: hidp: fix buffer overflow
Andrew Vasquez <[email protected]>
scsi: qla2xxx: Fix incorrect region-size setting in optrom SYSFS routines
Thinh Nguyen <[email protected]>
usb: dwc3: Fix default lpm_nyet_threshold value
Prasad Sodagudi <[email protected]>
genirq: Prevent use-after-free and work list corruption
Joerg Roedel <[email protected]>
iommu/amd: Set exclusion range correctly
Varun Prakash <[email protected]>
scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
Stephane Eranian <[email protected]>
perf/x86/intel: Fix handling of wakeup_events for multi-entry PEBS
Annaliese McDermond <[email protected]>
ASoC: tlv320aic32x4: Fix Common Pins
Daniel Mack <[email protected]>
ASoC: cs4270: Set auto-increment bit for register writes
Rander Wang <[email protected]>
ASoC:soc-pcm:fix a codec fixup issue in TDM case
Jason Yan <[email protected]>
scsi: libsas: fix a race condition when smp task timeout
Jacopo Mondi <[email protected]>
media: v4l2: i2c: ov7670: Fix PLL bypass register values
Tony Luck <[email protected]>
x86/mce: Improve error message when kernel cannot recover, p2
Ondrej Mosnacek <[email protected]>
selinux: never allow relabeling on context mounts
Anson Huang <[email protected]>
Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
Jeremy Fertic <[email protected]>
staging: iio: adt7316: fix the dac write calculation
Jeremy Fertic <[email protected]>
staging: iio: adt7316: fix the dac read calculation
Jeremy Fertic <[email protected]>
staging: iio: adt7316: allow adt751x to use internal vref for all dacs
Malte Leip <[email protected]>
usb: usbip: fix isoc packet num validation in get_pipe
Arnd Bergmann <[email protected]>
ARM: iop: don't use using 64-bit DMA masks
Arnd Bergmann <[email protected]>
ARM: orion: don't use using 64-bit DMA masks
Guenter Roeck <[email protected]>
xsysace: Fix error handling in ace_setup
Mike Kravetz <[email protected]>
hugetlbfs: fix memory leak for resv_map
Yonglong Liu <[email protected]>
net: hns: Fix WARNING when remove HNS driver with SMMU enabled
Yonglong Liu <[email protected]>
net: hns: Use NAPI_POLL_WEIGHT for hns driver
Michael Kelley <[email protected]>
scsi: storvsc: Fix calculation of sub-channel count
Louis Taylor <[email protected]>
vfio/pci: use correct format characters
Alexandre Belloni <[email protected]>
rtc: da9063: set uie_unsupported when relevant
Al Viro <[email protected]>
debugfs: fix use-after-free on symlink traversal
Al Viro <[email protected]>
jffs2: fix use-after-free on symlink traversal
Konstantin Khorenko <[email protected]>
bonding: show full hw address in sysfs for slave entries
Arvind Sankar <[email protected]>
igb: Fix WARN_ONCE on runtime suspend
Geert Uytterhoeven <[email protected]>
rtc: sh: Fix invalid alarm warning for non-enabled alarm
He, Bo <[email protected]>
HID: debug: fix race condition with between rdesc_show() and device removal
Alan Stern <[email protected]>
USB: core: Fix bug caused by duplicate interface PM usage counter
Alan Stern <[email protected]>
USB: core: Fix unterminated string returned by usb_string()
Alan Stern <[email protected]>
USB: w1 ds2490: Fix bug caused by improper use of altsetting array
Alan Stern <[email protected]>
USB: yurex: Fix protection fault after device removal
Willem de Bruijn <[email protected]>
packet: validate msg_namelen in send directly
Michael Chan <[email protected]>
bnxt_en: Improve multicast address setup logic.
Willem de Bruijn <[email protected]>
ipv6: invert flowlabel sharing check in process and user mode
Eric Dumazet <[email protected]>
ipv6/flowlabel: wait rcu grace period before put_pid()
Shmulik Ladkani <[email protected]>
ipv4: ip_do_fragment: Preserve skb_iif during fragmentation
Greg Kroah-Hartman <[email protected]>
ALSA: line6: use dynamic buffers
Alex Williamson <[email protected]>
vfio/type1: Limit DMA mappings per container
Changbin Du <[email protected]>
kconfig/[mn]conf: handle backspace (^H) key
raymond pang <[email protected]>
libata: fix using DMA buffers on stack
Steffen Maier <[email protected]>
scsi: zfcp: reduce flood of fcrscn1 trace records on multi-element RSCN
Al Viro <[email protected]>
ceph: fix use-after-free on symlink traversal
Mukesh Ojha <[email protected]>
usb: u132-hcd: fix resource leak
Kangjie Lu <[email protected]>
scsi: qla4xxx: fix a potential NULL pointer dereference
Wen Yang <[email protected]>
net: ethernet: ti: fix possible object reference leak
Wen Yang <[email protected]>
net: ibm: fix possible object reference leak
Wen Yang <[email protected]>
net: xilinx: fix possible object reference leak
Lukas Wunner <[email protected]>
net: ks8851: Set initial carrier state to down
Lukas Wunner <[email protected]>
net: ks8851: Delay requesting IRQ until opened
Lukas Wunner <[email protected]>
net: ks8851: Reassert reset pin if chip ID check fails
Lukas Wunner <[email protected]>
net: ks8851: Dequeue RX packets explicitly
Marco Felsch <[email protected]>
ARM: dts: pfla02: increase phy reset duration
Guido Kiener <[email protected]>
usb: gadget: net2272: Fix net2272_dequeue()
Guido Kiener <[email protected]>
usb: gadget: net2280: Fix net2280_dequeue()
Guido Kiener <[email protected]>
usb: gadget: net2280: Fix overrun of OUT messages
Mao Wenan <[email protected]>
sc16is7xx: missing unregister/delete driver on error in sc16is7xx_init()
Xin Long <[email protected]>
netfilter: bridge: set skb transport_header before entering NF_INET_PRE_ROUTING
Aditya Pakki <[email protected]>
qlcnic: Avoid potential NULL pointer dereference
Gustavo A. R. Silva <[email protected]>
usbnet: ipheth: fix potential null pointer dereference in ipheth_carrier_set
Alexander Kappner <[email protected]>
usbnet: ipheth: prevent TX queue timeouts when device not ready
Diana Craciun <[email protected]>
Documentation: Add nospectre_v1 parameter
Diana Craciun <[email protected]>
powerpc/fsl: Add FSL_PPC_BOOK3E as supported arch for nospectre_v2 boot arg
Diana Craciun <[email protected]>
powerpc/fsl: Fixed warning: orphan section `__btb_flush_fixup'
Diana Craciun <[email protected]>
powerpc/fsl: Sanitize the syscall table for NXP PowerPC 32 bit platforms
Diana Craciun <[email protected]>
powerpc/fsl: Flush the branch predictor at each kernel entry (32 bit)
Diana Craciun <[email protected]>
powerpc/fsl: Emulate SPRN_BUCSR register
Diana Craciun <[email protected]>
powerpc/fsl: Flush branch predictor when entering KVM
Diana Craciun <[email protected]>
powerpc/fsl: Enable runtime patching if nospectre_v2 boot arg is used
ZhangXiaoxu <[email protected]>
ipv4: set the tcp_min_rtt_wlen range from 0 to one day
Vinod Koul <[email protected]>
net: stmmac: move stmmac_check_ether_addr() to driver probe
Hangbin Liu <[email protected]>
team: fix possible recursive locking when add slaves
Eric Dumazet <[email protected]>
ipv4: add sanity checks in ipv4_link_failure()
Greg Kroah-Hartman <[email protected]>
Revert "block/loop: Use global lock for ioctl() operation."
Daniel Borkmann <[email protected]>
bpf: reject wrong sized filters earlier
Xin Long <[email protected]>
tipc: check link name with right length in tipc_nl_compat_link_set
Xin Long <[email protected]>
tipc: check bearer name with right length in tipc_nl_compat_bearer_enable
Florian Westphal <[email protected]>
netfilter: ebtables: CONFIG_COMPAT: drop a bogus WARN_ON
Tetsuo Handa <[email protected]>
NFS: Forbid setting AF_INET6 to "struct sockaddr_in"->sin_family.
YueHaibing <[email protected]>
fs/proc/proc_sysctl.c: Fix a NULL pointer dereference
Alexander Shishkin <[email protected]>
intel_th: gth: Fix an off-by-one in output unassigning
Linus Torvalds <[email protected]>
slip: make slhc_free() silently accept an error pointer
Xin Long <[email protected]>
tipc: handle the err returned from cmd header function
Christophe Leroy <[email protected]>
powerpc/fsl: Fix the flush of branch predictor.
Michael Ellerman <[email protected]>
powerpc/security: Fix spectre_v2 reporting
Diana Craciun <[email protected]>
powerpc/fsl: Update Spectre v2 reporting
Diana Craciun <[email protected]>
powerpc/fsl: Flush the branch predictor at each kernel entry (64bit)
Diana Craciun <[email protected]>
powerpc/fsl: Add nospectre_v2 command line argument
Diana Craciun <[email protected]>
powerpc/fsl: Fix spectre_v2 mitigations reporting
Diana Craciun <[email protected]>
powerpc/fsl: Add macro to flush the branch predictor
Diana Craciun <[email protected]>
powerpc/fsl: Add infrastructure to fixup branch predictor flush
Michael Neuling <[email protected]>
powerpc: Avoid code patching freed init sections
Michael Ellerman <[email protected]>
powerpc/powernv: Query firmware for count cache flush settings
Michael Ellerman <[email protected]>
powerpc/pseries: Query hypervisor for count cache flush settings
Michael Ellerman <[email protected]>
powerpc/64s: Add support for software count cache flush
Michael Ellerman <[email protected]>
powerpc/64s: Add new security feature flags for count cache flush
Michael Ellerman <[email protected]>
powerpc/asm: Add a patch_site macro & helpers for patching instructions
Diana Craciun <[email protected]>
powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E
Diana Craciun <[email protected]>
powerpc/64: Make meltdown reporting Book3S 64 specific
Michael Ellerman <[email protected]>
powerpc/64: Call setup_barrier_nospec() from setup_arch()
Michael Ellerman <[email protected]>
powerpc/64: Add CONFIG_PPC_BARRIER_NOSPEC
Diana Craciun <[email protected]>
powerpc/64: Make stf barrier PPC_BOOK3S_64 specific.
Diana Craciun <[email protected]>
powerpc/64: Disable the speculation barrier from the command line
Michael Ellerman <[email protected]>
powerpc64s: Show ori31 availability in spectre_v1 sysfs file not v2
Michal Suchanek <[email protected]>
powerpc/64s: Enhance the information in cpu_show_spectre_v1()
Michael Ellerman <[email protected]>
powerpc: Use barrier_nospec in copy_from_user()
Michael Ellerman <[email protected]>
powerpc/64: Use barrier_nospec in syscall entry
Michal Suchanek <[email protected]>
powerpc/64s: Enable barrier_nospec based on firmware settings
Michal Suchanek <[email protected]>
powerpc/64s: Patch barrier_nospec in modules
Michal Suchanek <[email protected]>
powerpc/64s: Add support for ori barrier_nospec patching
Michal Suchanek <[email protected]>
powerpc/64s: Add barrier_nospec
Nicholas Piggin <[email protected]>
powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit
Michael Ellerman <[email protected]>
powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()
Mauricio Faria de Oliveira <[email protected]>
powerpc/pseries: Restore default security feature flags on setup
Mauricio Faria de Oliveira <[email protected]>
powerpc: Move default security feature flags
Mauricio Faria de Oliveira <[email protected]>
powerpc/pseries: Fix clearing of security feature flags
Michael Ellerman <[email protected]>
powerpc/64s: Wire up cpu_show_spectre_v2()
Michael Ellerman <[email protected]>
powerpc/64s: Wire up cpu_show_spectre_v1()
Michael Ellerman <[email protected]>
powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()
Michael Ellerman <[email protected]>
powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()
Michael Ellerman <[email protected]>
powerpc/64s: Enhance the information in cpu_show_meltdown()
Michael Ellerman <[email protected]>
powerpc/64s: Move cpu_show_meltdown()
Michael Ellerman <[email protected]>
powerpc/powernv: Set or clear security feature flags
Michael Ellerman <[email protected]>
powerpc/pseries: Set or clear security feature flags
Michael Ellerman <[email protected]>
powerpc: Add security feature flags for Spectre/Meltdown
Michael Ellerman <[email protected]>
powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration
Michael Ellerman <[email protected]>
powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags
Mauricio Faria de Oliveira <[email protected]>
powerpc/rfi-flush: Differentiate enabled and patched flush types
Michael Ellerman <[email protected]>
powerpc/rfi-flush: Always enable fallback flush on pseries
Michael Ellerman <[email protected]>
powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again
Michael Ellerman <[email protected]>
powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code
Michael Ellerman <[email protected]>
powerpc/powernv: Support firmware disable of RFI flush
Michael Ellerman <[email protected]>
powerpc/pseries: Support firmware disable of RFI flush
Nicholas Piggin <[email protected]>
powerpc/64s: Improve RFI L1-D cache flush fallback
Michael Ellerman <[email protected]>
powerpc/xmon: Add RFI flush related fields to paca dump
Kai-Heng Feng <[email protected]>
USB: Consolidate LPM checks to avoid enabling LPM twice
Kai-Heng Feng <[email protected]>
USB: Add new USB LPM helpers
NeilBrown <[email protected]>
sunrpc: don't mark uninitialised items as VALID.
Trond Myklebust <[email protected]>
nfsd: Don't release the callback slot unless it was actually held
Yan, Zheng <[email protected]>
ceph: fix ci->i_head_snapc leak
Jeff Layton <[email protected]>
ceph: ensure d_name stability in ceph_dentry_hash()
Xie XiuQi <[email protected]>
sched/numa: Fix a possible divide-by-zero
Peter Zijlstra <[email protected]>
trace: Fix preempt_enable_no_resched() abuse
Aurelien Jarno <[email protected]>
MIPS: scall64-o32: Fix indirect syscall number load
Frank Sorenson <[email protected]>
cifs: do not attempt cifs operation on smb2+ rename error
Paolo Bonzini <[email protected]>
KVM: fail KVM_SET_VCPU_EVENTS with invalid exception number
Masahiro Yamada <[email protected]>
kbuild: simplify ld-option implementation
-------------
Diffstat:
Documentation/ABI/testing/sysfs-devices-system-cpu | 2 +
Documentation/hw-vuln/mds.rst | 305 ++++++++++
Documentation/kernel-parameters.txt | 110 +++-
Documentation/networking/ip-sysctl.txt | 1 +
Documentation/spec_ctrl.txt | 9 +
Documentation/usb/power-management.txt | 14 +-
Documentation/x86/mds.rst | 225 +++++++
Makefile | 4 +-
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 1 +
arch/arm/mach-iop13xx/setup.c | 8 +-
arch/arm/mach-iop13xx/tpmi.c | 10 +-
arch/arm/plat-iop/adma.c | 6 +-
arch/arm/plat-orion/common.c | 4 +-
arch/mips/kernel/scall64-o32.S | 2 +-
arch/powerpc/Kconfig | 7 +-
arch/powerpc/include/asm/asm-prototypes.h | 21 +
arch/powerpc/include/asm/barrier.h | 21 +
arch/powerpc/include/asm/code-patching-asm.h | 18 +
arch/powerpc/include/asm/code-patching.h | 2 +
arch/powerpc/include/asm/exception-64s.h | 35 ++
arch/powerpc/include/asm/feature-fixups.h | 40 ++
arch/powerpc/include/asm/hvcall.h | 5 +
arch/powerpc/include/asm/paca.h | 3 +-
arch/powerpc/include/asm/ppc-opcode.h | 1 +
arch/powerpc/include/asm/ppc_asm.h | 11 +
arch/powerpc/include/asm/reg_booke.h | 2 +-
arch/powerpc/include/asm/security_features.h | 92 +++
arch/powerpc/include/asm/setup.h | 23 +-
arch/powerpc/include/asm/uaccess.h | 18 +-
arch/powerpc/kernel/Makefile | 1 +
arch/powerpc/kernel/asm-offsets.c | 3 +-
arch/powerpc/kernel/entry_32.S | 10 +
arch/powerpc/kernel/entry_64.S | 69 +++
arch/powerpc/kernel/exceptions-64e.S | 27 +-
arch/powerpc/kernel/exceptions-64s.S | 98 ++--
arch/powerpc/kernel/head_booke.h | 12 +
arch/powerpc/kernel/head_fsl_booke.S | 15 +
arch/powerpc/kernel/module.c | 10 +-
arch/powerpc/kernel/security.c | 434 ++++++++++++++
arch/powerpc/kernel/setup_32.c | 3 +
arch/powerpc/kernel/setup_64.c | 51 +-
arch/powerpc/kernel/vmlinux.lds.S | 33 +-
arch/powerpc/kvm/bookehv_interrupts.S | 4 +
arch/powerpc/kvm/e500_emulate.c | 7 +
arch/powerpc/lib/code-patching.c | 29 +
arch/powerpc/lib/feature-fixups.c | 218 ++++++-
arch/powerpc/mm/mem.c | 2 +
arch/powerpc/mm/tlb_low_64e.S | 7 +
arch/powerpc/platforms/powernv/setup.c | 99 +++-
arch/powerpc/platforms/pseries/mobility.c | 3 +
arch/powerpc/platforms/pseries/pseries.h | 2 +
arch/powerpc/platforms/pseries/setup.c | 88 ++-
arch/powerpc/xmon/xmon.c | 2 +
arch/x86/Kconfig | 8 +-
arch/x86/entry/common.c | 3 +
arch/x86/entry/vdso/Makefile | 3 +-
arch/x86/include/asm/cpufeatures.h | 12 +-
arch/x86/include/asm/intel-family.h | 30 +-
arch/x86/include/asm/irqflags.h | 5 +
arch/x86/include/asm/microcode_intel.h | 15 +
arch/x86/include/asm/msr-index.h | 30 +-
arch/x86/include/asm/mwait.h | 7 +
arch/x86/include/asm/nospec-branch.h | 66 ++-
arch/x86/include/asm/pgtable_64.h | 16 +-
arch/x86/include/asm/processor.h | 7 +
arch/x86/include/asm/spec-ctrl.h | 20 +-
arch/x86/include/asm/switch_to.h | 3 -
arch/x86/include/asm/thread_info.h | 20 +-
arch/x86/include/asm/tlbflush.h | 8 +-
arch/x86/include/uapi/asm/Kbuild | 1 -
arch/x86/include/uapi/asm/mce.h | 4 +
arch/x86/kernel/cpu/bugs.c | 643 +++++++++++++++++----
arch/x86/kernel/cpu/common.c | 140 +++--
arch/x86/kernel/cpu/intel.c | 11 +-
arch/x86/kernel/cpu/mcheck/mce-severity.c | 5 +
arch/x86/kernel/cpu/mcheck/mce.c | 4 +-
arch/x86/kernel/cpu/microcode/amd.c | 22 +-
arch/x86/kernel/cpu/microcode/intel.c | 64 +-
arch/x86/kernel/cpu/perf_event_intel.c | 2 +-
arch/x86/kernel/nmi.c | 4 +
arch/x86/kernel/process.c | 101 +++-
arch/x86/kernel/process.h | 39 ++
arch/x86/kernel/process_32.c | 9 +-
arch/x86/kernel/process_64.c | 9 +-
arch/x86/kernel/traps.c | 8 +
arch/x86/kvm/cpuid.c | 13 +-
arch/x86/kvm/cpuid.h | 2 +-
arch/x86/kvm/svm.c | 10 +-
arch/x86/kvm/trace.h | 4 +-
arch/x86/kvm/x86.c | 4 +
arch/x86/mm/kaiser.c | 4 +-
arch/x86/mm/pgtable.c | 6 +-
arch/x86/mm/tlb.c | 114 +++-
drivers/ata/libata-zpodd.c | 34 +-
drivers/base/cpu.c | 8 +
drivers/block/loop.c | 42 +-
drivers/block/loop.h | 1 +
drivers/block/xsysace.c | 2 +
drivers/gpu/ipu-v3/ipu-dp.c | 12 +-
drivers/hid/hid-debug.c | 5 +
drivers/hid/hid-input.c | 6 +
drivers/hwtracing/intel_th/gth.c | 2 +-
drivers/iio/adc/xilinx-xadc-core.c | 2 +-
drivers/input/keyboard/snvs_pwrkey.c | 6 +-
drivers/iommu/amd_iommu_init.c | 2 +-
drivers/md/raid5.c | 19 +-
drivers/media/i2c/ov7670.c | 16 +-
drivers/net/bonding/bond_options.c | 7 -
drivers/net/bonding/bond_sysfs_slave.c | 4 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 9 +-
drivers/net/ethernet/freescale/ucc_geth_ethtool.c | 8 +-
drivers/net/ethernet/hisilicon/hns/hnae.c | 4 +-
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 7 +-
drivers/net/ethernet/ibm/ehea/ehea_main.c | 1 +
drivers/net/ethernet/intel/igb/e1000_defines.h | 2 +
drivers/net/ethernet/intel/igb/igb_main.c | 57 +-
drivers/net/ethernet/micrel/ks8851.c | 36 +-
.../net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c | 2 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +-
drivers/net/ethernet/ti/netcp_ethss.c | 8 +-
drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 +
drivers/net/slip/slhc.c | 2 +-
drivers/net/team/team.c | 6 +
drivers/net/usb/ipheth.c | 33 +-
drivers/net/wireless/cw1200/scan.c | 5 +-
drivers/nvdimm/btt_devs.c | 18 +-
drivers/platform/x86/sony-laptop.c | 8 +-
drivers/rtc/rtc-da9063.c | 7 +
drivers/rtc/rtc-sh.c | 2 +-
drivers/s390/block/dasd_eckd.c | 6 +-
drivers/s390/char/con3270.c | 2 +-
drivers/s390/char/fs3270.c | 3 +-
drivers/s390/char/raw3270.c | 3 +-
drivers/s390/char/raw3270.h | 4 +-
drivers/s390/char/tty3270.c | 3 +-
drivers/s390/net/ctcm_main.c | 1 +
drivers/s390/scsi/zfcp_fc.c | 21 +-
drivers/scsi/csiostor/csio_scsi.c | 5 +-
drivers/scsi/libsas/sas_expander.c | 9 +-
drivers/scsi/qla2xxx/qla_attr.c | 4 +-
drivers/scsi/qla4xxx/ql4_os.c | 2 +
drivers/scsi/storvsc_drv.c | 13 +-
drivers/staging/iio/addac/adt7316.c | 22 +-
drivers/tty/serial/sc16is7xx.c | 12 +-
drivers/usb/core/driver.c | 36 +-
drivers/usb/core/hub.c | 16 +-
drivers/usb/core/message.c | 7 +-
drivers/usb/core/sysfs.c | 5 +-
drivers/usb/core/usb.h | 10 +-
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/gadget/udc/net2272.c | 1 +
drivers/usb/gadget/udc/net2280.c | 8 +-
drivers/usb/host/u132-hcd.c | 3 +
drivers/usb/misc/yurex.c | 1 +
drivers/usb/serial/generic.c | 57 +-
drivers/usb/storage/realtek_cr.c | 13 +-
drivers/usb/storage/uas.c | 38 +-
drivers/usb/usbip/stub_rx.c | 18 +-
drivers/usb/usbip/usbip_common.h | 7 +
drivers/vfio/pci/vfio_pci.c | 4 +-
drivers/vfio/vfio_iommu_type1.c | 14 +
drivers/virt/fsl_hypervisor.c | 29 +-
drivers/w1/masters/ds2490.c | 6 +-
fs/ceph/dir.c | 6 +-
fs/ceph/inode.c | 2 +-
fs/ceph/mds_client.c | 9 +
fs/ceph/snap.c | 7 +-
fs/cifs/inode.c | 4 +
fs/debugfs/inode.c | 13 +-
fs/hugetlbfs/inode.c | 20 +-
fs/jffs2/readinode.c | 5 -
fs/jffs2/super.c | 5 +-
fs/nfs/super.c | 3 +-
fs/nfsd/nfs4callback.c | 8 +-
fs/nfsd/state.h | 1 +
fs/proc/proc_sysctl.c | 6 +-
include/linux/bitops.h | 21 +-
include/linux/bits.h | 26 +
include/linux/cpu.h | 19 +
include/linux/jump_label.h | 6 +
include/linux/ptrace.h | 21 +-
include/linux/sched.h | 9 +
include/linux/sched/smt.h | 20 +
include/linux/usb.h | 2 -
include/net/addrconf.h | 1 +
include/net/bluetooth/hci_core.h | 3 +
include/uapi/linux/prctl.h | 1 +
init/main.c | 4 +-
kernel/cpu.c | 23 +-
kernel/irq/manage.c | 4 +-
kernel/ptrace.c | 10 +
kernel/sched/core.c | 24 +
kernel/sched/fair.c | 4 +
kernel/sched/sched.h | 1 +
kernel/time/timer_stats.c | 2 +-
kernel/trace/ring_buffer.c | 2 +-
mm/vmstat.c | 68 ++-
net/8021q/vlan_dev.c | 4 +-
net/bluetooth/hci_conn.c | 8 +
net/bluetooth/hidp/sock.c | 1 +
net/bridge/br_if.c | 13 +-
net/bridge/br_netfilter_hooks.c | 1 +
net/bridge/br_netfilter_ipv6.c | 2 +
net/bridge/netfilter/ebtables.c | 3 +-
net/core/filter.c | 23 +-
net/ipv4/ip_output.c | 1 +
net/ipv4/raw.c | 4 +-
net/ipv4/route.c | 32 +-
net/ipv4/sysctl_net_ipv4.c | 5 +-
net/ipv6/ip6_flowlabel.c | 22 +-
net/ipv6/ipv6_sockglue.c | 3 +-
net/ipv6/mcast.c | 17 +-
net/ipv6/sit.c | 2 +-
net/netfilter/ipvs/ip_vs_core.c | 2 +-
net/netfilter/x_tables.c | 2 +-
net/packet/af_packet.c | 48 +-
net/sunrpc/cache.c | 3 +
net/tipc/netlink_compat.c | 24 +-
scripts/Kbuild.include | 4 +-
scripts/kconfig/lxdialog/inputbox.c | 3 +-
scripts/kconfig/nconf.c | 2 +-
scripts/kconfig/nconf.gui.c | 3 +-
security/selinux/hooks.c | 40 +-
sound/soc/codecs/cs4270.c | 1 +
sound/soc/codecs/tlv320aic32x4.c | 2 +
sound/soc/intel/common/sst-dsp.c | 8 +-
sound/soc/soc-pcm.c | 7 +-
sound/usb/line6/driver.c | 60 +-
sound/usb/line6/toneport.c | 24 +-
tools/lib/traceevent/event-parse.c | 2 +-
tools/power/x86/turbostat/Makefile | 2 +-
tools/testing/selftests/net/run_netsocktests | 2 +-
232 files changed, 4217 insertions(+), 1000 deletions(-)
commit 78e546c824fa8f96d323b7edd6f5cad5b74af057 upstream
This cannot be returned by KVM_GET_VCPU_EVENTS, so it is okay to return
EINVAL. It causes a WARN from exception_type:
WARNING: CPU: 3 PID: 16732 at arch/x86/kvm/x86.c:345 exception_type+0x49/0x50 [kvm]()
CPU: 3 PID: 16732 Comm: a.out Tainted: G W 4.4.6-300.fc23.x86_64 #1
Hardware name: LENOVO 2325F51/2325F51, BIOS G2ET32WW (1.12 ) 05/30/2012
0000000000000286 000000006308a48b ffff8800bec7fcf8 ffffffff813b542e
0000000000000000 ffffffffa0966496 ffff8800bec7fd30 ffffffff810a40f2
ffff8800552a8000 0000000000000000 00000000002c267c 0000000000000001
Call Trace:
[<ffffffff813b542e>] dump_stack+0x63/0x85
[<ffffffff810a40f2>] warn_slowpath_common+0x82/0xc0
[<ffffffff810a423a>] warn_slowpath_null+0x1a/0x20
[<ffffffffa0924809>] exception_type+0x49/0x50 [kvm]
[<ffffffffa0934622>] kvm_arch_vcpu_ioctl_run+0x10a2/0x14e0 [kvm]
[<ffffffffa091c04d>] kvm_vcpu_ioctl+0x33d/0x620 [kvm]
[<ffffffff81241248>] do_vfs_ioctl+0x298/0x480
[<ffffffff812414a9>] SyS_ioctl+0x79/0x90
[<ffffffff817a04ee>] entry_SYSCALL_64_fastpath+0x12/0x71
---[ end trace b1a0391266848f50 ]---
Testcase (beautified/reduced from syzkaller output):
#include <unistd.h>
#include <sys/syscall.h>
#include <string.h>
#include <stdint.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/kvm.h>
long r[31];
int main()
{
memset(r, -1, sizeof(r));
r[2] = open("/dev/kvm", O_RDONLY);
r[3] = ioctl(r[2], KVM_CREATE_VM, 0);
r[7] = ioctl(r[3], KVM_CREATE_VCPU, 0);
struct kvm_vcpu_events ve = {
.exception.injected = 1,
.exception.nr = 0xd4
};
r[27] = ioctl(r[7], KVM_SET_VCPU_EVENTS, &ve);
r[30] = ioctl(r[7], KVM_RUN, 0);
return 0;
}
Reported-by: Dmitry Vyukov <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Radim Krčmář <[email protected]>
Signed-off-by: Zubin Mithra <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/x86/kvm/x86.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -2972,6 +2972,10 @@ static int kvm_vcpu_ioctl_x86_set_vcpu_e
| KVM_VCPUEVENT_VALID_SMM))
return -EINVAL;
+ if (events->exception.injected &&
+ (events->exception.nr > 31 || events->exception.nr == NMI_VECTOR))
+ return -EINVAL;
+
/* INITs are latched while in SMM */
if (events->flags & KVM_VCPUEVENT_VALID_SMM &&
(events->smi.smm || events->smi.pending) &&
From: Peter Zijlstra <[email protected]>
commit d6097c9e4454adf1f8f2c9547c2fa6060d55d952 upstream.
Unless the very next line is schedule(), or implies it, one must not use
preempt_enable_no_resched(). It can cause a preemption to go missing and
thereby cause arbitrary delays, breaking the PREEMPT=y invariant.
Link: http://lkml.kernel.org/r/[email protected]
Cc: Waiman Long <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: the arch/x86 maintainers <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Tim Chen <[email protected]>
Cc: huang ying <[email protected]>
Cc: Roman Gushchin <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: [email protected]
Fixes: 2c2d7329d8af ("tracing/ftrace: use preempt_enable_no_resched_notrace in ring_buffer_time_stamp()")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
kernel/trace/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -701,7 +701,7 @@ u64 ring_buffer_time_stamp(struct ring_b
preempt_disable_notrace();
time = rb_time_stamp(buffer);
- preempt_enable_no_resched_notrace();
+ preempt_enable_notrace();
return time;
}
From: Nicholas Piggin <[email protected]>
commit bdcb1aefc5b3f7d0f1dc8b02673602bca2ff7a4b upstream.
The fallback RFI flush is used when firmware does not provide a way
to flush the cache. It's a "displacement flush" that evicts useful
data by displacing it with an uninteresting buffer.
The flush has to take care to work with implementation specific cache
replacment policies, so the recipe has been in flux. The initial
slow but conservative approach is to touch all lines of a congruence
class, with dependencies between each load. It has since been
determined that a linear pattern of loads without dependencies is
sufficient, and is significantly faster.
Measuring the speed of a null syscall with RFI fallback flush enabled
gives the relative improvement:
P8 - 1.83x
P9 - 1.75x
The flush also becomes simpler and more adaptable to different cache
geometries.
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/powerpc/include/asm/paca.h | 3 -
arch/powerpc/kernel/asm-offsets.c | 3 -
arch/powerpc/kernel/exceptions-64s.S | 76 ++++++++++++++++-------------------
arch/powerpc/kernel/setup_64.c | 13 -----
arch/powerpc/xmon/xmon.c | 2
5 files changed, 39 insertions(+), 58 deletions(-)
--- a/arch/powerpc/include/asm/paca.h
+++ b/arch/powerpc/include/asm/paca.h
@@ -199,8 +199,7 @@ struct paca_struct {
*/
u64 exrfi[13] __aligned(0x80);
void *rfi_flush_fallback_area;
- u64 l1d_flush_congruence;
- u64 l1d_flush_sets;
+ u64 l1d_flush_size;
#endif
};
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -245,8 +245,7 @@ int main(void)
DEFINE(PACA_IN_MCE, offsetof(struct paca_struct, in_mce));
DEFINE(PACA_RFI_FLUSH_FALLBACK_AREA, offsetof(struct paca_struct, rfi_flush_fallback_area));
DEFINE(PACA_EXRFI, offsetof(struct paca_struct, exrfi));
- DEFINE(PACA_L1D_FLUSH_CONGRUENCE, offsetof(struct paca_struct, l1d_flush_congruence));
- DEFINE(PACA_L1D_FLUSH_SETS, offsetof(struct paca_struct, l1d_flush_sets));
+ DEFINE(PACA_L1D_FLUSH_SIZE, offsetof(struct paca_struct, l1d_flush_size));
#endif
DEFINE(PACAHWCPUID, offsetof(struct paca_struct, hw_cpu_id));
DEFINE(PACAKEXECSTATE, offsetof(struct paca_struct, kexec_state));
--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -1571,39 +1571,37 @@ rfi_flush_fallback:
std r9,PACA_EXRFI+EX_R9(r13)
std r10,PACA_EXRFI+EX_R10(r13)
std r11,PACA_EXRFI+EX_R11(r13)
- std r12,PACA_EXRFI+EX_R12(r13)
- std r8,PACA_EXRFI+EX_R13(r13)
mfctr r9
ld r10,PACA_RFI_FLUSH_FALLBACK_AREA(r13)
- ld r11,PACA_L1D_FLUSH_SETS(r13)
- ld r12,PACA_L1D_FLUSH_CONGRUENCE(r13)
- /*
- * The load adresses are at staggered offsets within cachelines,
- * which suits some pipelines better (on others it should not
- * hurt).
- */
- addi r12,r12,8
+ ld r11,PACA_L1D_FLUSH_SIZE(r13)
+ srdi r11,r11,(7 + 3) /* 128 byte lines, unrolled 8x */
mtctr r11
DCBT_STOP_ALL_STREAM_IDS(r11) /* Stop prefetch streams */
/* order ld/st prior to dcbt stop all streams with flushing */
sync
-1: li r8,0
- .rept 8 /* 8-way set associative */
- ldx r11,r10,r8
- add r8,r8,r12
- xor r11,r11,r11 // Ensure r11 is 0 even if fallback area is not
- add r8,r8,r11 // Add 0, this creates a dependency on the ldx
- .endr
- addi r10,r10,128 /* 128 byte cache line */
+
+ /*
+ * The load adresses are at staggered offsets within cachelines,
+ * which suits some pipelines better (on others it should not
+ * hurt).
+ */
+1:
+ ld r11,(0x80 + 8)*0(r10)
+ ld r11,(0x80 + 8)*1(r10)
+ ld r11,(0x80 + 8)*2(r10)
+ ld r11,(0x80 + 8)*3(r10)
+ ld r11,(0x80 + 8)*4(r10)
+ ld r11,(0x80 + 8)*5(r10)
+ ld r11,(0x80 + 8)*6(r10)
+ ld r11,(0x80 + 8)*7(r10)
+ addi r10,r10,0x80*8
bdnz 1b
mtctr r9
ld r9,PACA_EXRFI+EX_R9(r13)
ld r10,PACA_EXRFI+EX_R10(r13)
ld r11,PACA_EXRFI+EX_R11(r13)
- ld r12,PACA_EXRFI+EX_R12(r13)
- ld r8,PACA_EXRFI+EX_R13(r13)
GET_SCRATCH0(r13);
rfid
@@ -1614,39 +1612,37 @@ hrfi_flush_fallback:
std r9,PACA_EXRFI+EX_R9(r13)
std r10,PACA_EXRFI+EX_R10(r13)
std r11,PACA_EXRFI+EX_R11(r13)
- std r12,PACA_EXRFI+EX_R12(r13)
- std r8,PACA_EXRFI+EX_R13(r13)
mfctr r9
ld r10,PACA_RFI_FLUSH_FALLBACK_AREA(r13)
- ld r11,PACA_L1D_FLUSH_SETS(r13)
- ld r12,PACA_L1D_FLUSH_CONGRUENCE(r13)
- /*
- * The load adresses are at staggered offsets within cachelines,
- * which suits some pipelines better (on others it should not
- * hurt).
- */
- addi r12,r12,8
+ ld r11,PACA_L1D_FLUSH_SIZE(r13)
+ srdi r11,r11,(7 + 3) /* 128 byte lines, unrolled 8x */
mtctr r11
DCBT_STOP_ALL_STREAM_IDS(r11) /* Stop prefetch streams */
/* order ld/st prior to dcbt stop all streams with flushing */
sync
-1: li r8,0
- .rept 8 /* 8-way set associative */
- ldx r11,r10,r8
- add r8,r8,r12
- xor r11,r11,r11 // Ensure r11 is 0 even if fallback area is not
- add r8,r8,r11 // Add 0, this creates a dependency on the ldx
- .endr
- addi r10,r10,128 /* 128 byte cache line */
+
+ /*
+ * The load adresses are at staggered offsets within cachelines,
+ * which suits some pipelines better (on others it should not
+ * hurt).
+ */
+1:
+ ld r11,(0x80 + 8)*0(r10)
+ ld r11,(0x80 + 8)*1(r10)
+ ld r11,(0x80 + 8)*2(r10)
+ ld r11,(0x80 + 8)*3(r10)
+ ld r11,(0x80 + 8)*4(r10)
+ ld r11,(0x80 + 8)*5(r10)
+ ld r11,(0x80 + 8)*6(r10)
+ ld r11,(0x80 + 8)*7(r10)
+ addi r10,r10,0x80*8
bdnz 1b
mtctr r9
ld r9,PACA_EXRFI+EX_R9(r13)
ld r10,PACA_EXRFI+EX_R10(r13)
ld r11,PACA_EXRFI+EX_R11(r13)
- ld r12,PACA_EXRFI+EX_R12(r13)
- ld r8,PACA_EXRFI+EX_R13(r13)
GET_SCRATCH0(r13);
hrfid
--- a/arch/powerpc/kernel/setup_64.c
+++ b/arch/powerpc/kernel/setup_64.c
@@ -902,19 +902,8 @@ static void init_fallback_flush(void)
memset(l1d_flush_fallback_area, 0, l1d_size * 2);
for_each_possible_cpu(cpu) {
- /*
- * The fallback flush is currently coded for 8-way
- * associativity. Different associativity is possible, but it
- * will be treated as 8-way and may not evict the lines as
- * effectively.
- *
- * 128 byte lines are mandatory.
- */
- u64 c = l1d_size / 8;
-
paca[cpu].rfi_flush_fallback_area = l1d_flush_fallback_area;
- paca[cpu].l1d_flush_congruence = c;
- paca[cpu].l1d_flush_sets = c / 128;
+ paca[cpu].l1d_flush_size = l1d_size;
}
}
--- a/arch/powerpc/xmon/xmon.c
+++ b/arch/powerpc/xmon/xmon.c
@@ -2146,8 +2146,6 @@ static void dump_one_paca(int cpu)
printf(" slb_cache[%d]: = 0x%016lx\n", i, p->slb_cache[i]);
DUMP(p, rfi_flush_fallback_area, "px");
- DUMP(p, l1d_flush_congruence, "llx");
- DUMP(p, l1d_flush_sets, "llx");
#endif
DUMP(p, dscr_default, "llx");
#ifdef CONFIG_PPC_BOOK3E
stable-rc/linux-4.4.y boot: 98 boots: 1 failed, 92 passed with 3 offline, 1 untried/unknown, 1 conflict (v4.4.179-267-gbe756dada5b7)
Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
Tree: stable-rc
Branch: linux-4.4.y
Git Describe: v4.4.179-267-gbe756dada5b7
Git Commit: be756dada5b771fe51be37a77ad0bdfba543fdae
Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
Tested: 44 unique boards, 21 SoC families, 14 builds out of 190
Boot Regressions Detected:
arm:
omap2plus_defconfig:
gcc-8:
omap4-panda:
lab-baylibre: new failure (last pass: v4.4.179-254-gce69be0d452a)
Boot Failure Detected:
arm64:
defconfig:
gcc-8:
qcom-qdf2400: 1 failed lab
Offline Platforms:
arm:
tegra_defconfig:
gcc-8
tegra20-iris-512: 1 offline lab
multi_v7_defconfig:
gcc-8
stih410-b2120: 1 offline lab
tegra20-iris-512: 1 offline lab
Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
arm:
omap2plus_defconfig:
omap4-panda:
lab-baylibre: FAIL (gcc-8)
lab-baylibre-seattle: PASS (gcc-8)
---
For more info write to <[email protected]>
On Wed, May 15, 2019 at 07:47:45AM -0700, kernelci.org bot wrote:
> stable-rc/linux-4.4.y boot: 98 boots: 1 failed, 92 passed with 3 offline, 1 untried/unknown, 1 conflict (v4.4.179-267-gbe756dada5b7)
>
> Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
> Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
>
> Tree: stable-rc
> Branch: linux-4.4.y
> Git Describe: v4.4.179-267-gbe756dada5b7
> Git Commit: be756dada5b771fe51be37a77ad0bdfba543fdae
> Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> Tested: 44 unique boards, 21 SoC families, 14 builds out of 190
>
> Boot Regressions Detected:
>
> arm:
>
> omap2plus_defconfig:
> gcc-8:
> omap4-panda:
> lab-baylibre: new failure (last pass: v4.4.179-254-gce69be0d452a)
Odd, is this specific to this release?
On 5/15/19 3:51 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.4.180 release.
> There are 266 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Fri 17 May 2019 09:04:49 AM UTC.
> Anything received after that time might be too late.
>
Build results:
total: 170 pass: 170 fail: 0
Qemu test results:
total: 296 pass: 296 fail: 0
Guenter
On Wed, 15 May 2019 at 16:33, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 4.4.180 release.
> There are 266 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Fri 17 May 2019 09:04:49 AM UTC.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.180-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Results from Linaro’s test farm.
No regressions on arm64, arm, x86_64, and i386.
Summary
------------------------------------------------------------------------
kernel: 4.4.180-rc1
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git branch: linux-4.4.y
git commit: be756dada5b771fe51be37a77ad0bdfba543fdae
git describe: v4.4.179-267-gbe756dada5b7
Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-4.4-oe/build/v4.4.179-267-gbe756dada5b7
No regressions (compared to build v4.4.179)
No fixes (compared to build v4.4.179)
Ran 13304 total tests in the following environments and test suites.
Environments
--------------
- i386
- juno-r2 - arm64
- qemu_arm
- qemu_i386
- qemu_x86_64
- x15 - arm
- x86_64
Test Suites
-----------
* build
* kselftest
* libhugetlbfs
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-cpuhotplug-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-open-posix-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-timers-tests
* perf
* prep-tmp-disk
* spectre-meltdown-checker-test
* kvm-unit-tests
* v4l2-compliance
* install-android-platform-tools-r2600
* kselftest-vsyscall-mode-native
* kselftest-vsyscall-mode-none
* ssuite
Summary
------------------------------------------------------------------------
kernel: 4.4.180-rc1
git repo: https://git.linaro.org/lkft/arm64-stable-rc.git
git branch: 4.4.180-rc1-hikey-20190515-440
git commit: 4acf8bfa73bb083efe32d6b2623a48f49e662657
git describe: 4.4.180-rc1-hikey-20190515-440
Test details: https://qa-reports.linaro.org/lkft/linaro-hikey-stable-rc-4.4-oe/build/4.4.180-rc1-hikey-20190515-440
No regressions (compared to build 4.4.180-rc1-hikey-20190515-439)
No fixes (compared to build 4.4.180-rc1-hikey-20190515-439)
Ran 3043 total tests in the following environments and test suites.
Environments
--------------
- hi6220-hikey - arm64
- qemu_arm64
Test Suites
-----------
* build
* install-android-platform-tools-r2600
* kselftest
* libhugetlbfs
* ltp-cap_bounds-tests
* ltp-commands-tests
* ltp-containers-tests
* ltp-cpuhotplug-tests
* ltp-cve-tests
* ltp-dio-tests
* ltp-fcntl-locktests-tests
* ltp-filecaps-tests
* ltp-fs-tests
* ltp-fs_bind-tests
* ltp-fs_perms_simple-tests
* ltp-fsx-tests
* ltp-hugetlb-tests
* ltp-io-tests
* ltp-ipc-tests
* ltp-math-tests
* ltp-mm-tests
* ltp-nptl-tests
* ltp-pty-tests
* ltp-sched-tests
* ltp-securebits-tests
* ltp-syscalls-tests
* ltp-timers-tests
* perf
* spectre-meltdown-checker-test
* v4l2-compliance
--
Linaro LKFT
https://lkft.linaro.org
On 15/05/2019 11:51, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.4.180 release.
> There are 266 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Fri 17 May 2019 09:04:49 AM UTC.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.180-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Boot regression detected for Tegra ...
Test results for stable-v4.4:
6 builds: 6 pass, 0 fail
15 boots: 6 pass, 9 fail
8 tests: 8 pass, 0 fail
Linux version: 4.4.180-rc1-gbe756da
Boards tested: tegra124-jetson-tk1, tegra20-ventana,
tegra30-cardhu-a04
Bisect is point to the following commit ...
# first bad commit: [7849d64a1700ddae1963ff22a77292e9fb5c2983] mm, vmstat: make quiet_vmstat lighter
Reverting this on top v4.4.180-rc1 fixes the problem.
Crash observed ...
[ 17.155812] ------------[ cut here ]------------
[ 17.160431] kernel BUG at /home/jonathanh/workdir/tegra/mlt-linux_stable-4.4/kernel/mm/vmstat.c:1425!
[ 17.169632] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 17.175450] Modules linked in: ttm
[ 17.178859] CPU: 0 PID: 92 Comm: kworker/0:2 Not tainted 4.4.179-00160-g7849d64a1700 #8
[ 17.186843] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[ 17.193100] Workqueue: vmstat vmstat_update
[ 17.197279] task: ee14e700 ti: ee17a000 task.ti: ee17a000
[ 17.202663] PC is at vmstat_update+0x9c/0xa4
[ 17.206921] LR is at vmstat_update+0x94/0xa4
[ 17.211179] pc : [<c00cdd80>] lr : [<c00cdd78>] psr: 20000113
[ 17.211179] sp : ee17bef8 ip : 00000000 fp : eef91ac0
[ 17.222629] r10: 00000008 r9 : 00000000 r8 : 00000000
[ 17.227840] r7 : eef99900 r6 : eef91ac0 r5 : eef8f34c r4 : ee13dc00
[ 17.234350] r3 : 00000001 r2 : 0000000f r1 : c0a885e0 r0 : 00000001
[ 17.240861] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 17.247978] Control: 10c5387d Table: ad02006a DAC: 00000051
[ 17.253708] Process kworker/0:2 (pid: 92, stack limit = 0xee17a210)
[ 17.259957] Stack: (0xee17bef8 to 0xee17c000)
[ 17.264301] bee0: ee13dc00 eef8f34c
[ 17.272459] bf00: eef91ac0 c003b69c eef91ac0 ee17a038 c0a4ba60 eef91ac0 eef91ad4 ee17a038
[ 17.280618] bf20: c0a4ba60 ee13dc18 ee13dc00 00000008 eef91ac0 c003b8f8 00000000 c09f6100
[ 17.288778] bf40: c003b8b0 ee102a00 00000000 ee13dc00 c003b8b0 00000000 00000000 00000000
[ 17.296937] bf60: 00000000 c0040ad0 00000000 00000000 00000000 ee13dc00 00000000 00000000
[ 17.305094] bf80: ee17bf80 ee17bf80 00000000 00000000 ee17bf90 ee17bf90 ee17bfac ee102a00
[ 17.313253] bfa0: c00409d0 00000000 00000000 c000f650 00000000 00000000 00000000 00000000
[ 17.321412] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 17.329570] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[ 17.337733] [<c00cdd80>] (vmstat_update) from [<c003b69c>] (process_one_work+0x124/0x338)
[ 17.345893] [<c003b69c>] (process_one_work) from [<c003b8f8>] (worker_thread+0x48/0x4c4)
[ 17.353966] [<c003b8f8>] (worker_thread) from [<c0040ad0>] (kthread+0x100/0x118)
[ 17.361348] [<c0040ad0>] (kthread) from [<c000f650>] (ret_from_fork+0x14/0x24)
[ 17.368553] Code: e5930010 eb05c417 e3500000 08bd8070 (e7f001f2)
[ 17.374633] ---[ end trace 17cf004302766810 ]---
Cheers
Jon
--
nvpublic
Hi Jon,
> Boot regression detected for Tegra ...
>
> Test results for stable-v4.4:
> 6 builds: 6 pass, 0 fail
> 15 boots: 6 pass, 9 fail
> 8 tests: 8 pass, 0 fail
>
> Linux version: 4.4.180-rc1-gbe756da
> Boards tested: tegra124-jetson-tk1, tegra20-ventana,
> tegra30-cardhu-a04
>
> Bisect is point to the following commit ...
>
> # first bad commit: [7849d64a1700ddae1963ff22a77292e9fb5c2983] mm, vmstat: make quiet_vmstat lighter
>
> Reverting this on top v4.4.180-rc1 fixes the problem.
I guess the patch depends on another change. I'll try to figure out what
is missing.
> Crash observed ...
>
> [ 17.155812] ------------[ cut here ]------------
> [ 17.160431] kernel BUG at /home/jonathanh/workdir/tegra/mlt-linux_stable-4.4/kernel/mm/vmstat.c:1425!
> [ 17.169632] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
> [ 17.175450] Modules linked in: ttm
> [ 17.178859] CPU: 0 PID: 92 Comm: kworker/0:2 Not tainted 4.4.179-00160-g7849d64a1700 #8
> [ 17.186843] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
> [ 17.193100] Workqueue: vmstat vmstat_update
> [ 17.197279] task: ee14e700 ti: ee17a000 task.ti: ee17a000
> [ 17.202663] PC is at vmstat_update+0x9c/0xa4
> [ 17.206921] LR is at vmstat_update+0x94/0xa4
> [ 17.211179] pc : [<c00cdd80>] lr : [<c00cdd78>] psr: 20000113
> [ 17.211179] sp : ee17bef8 ip : 00000000 fp : eef91ac0
> [ 17.222629] r10: 00000008 r9 : 00000000 r8 : 00000000
> [ 17.227840] r7 : eef99900 r6 : eef91ac0 r5 : eef8f34c r4 : ee13dc00
> [ 17.234350] r3 : 00000001 r2 : 0000000f r1 : c0a885e0 r0 : 00000001
> [ 17.240861] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
> [ 17.247978] Control: 10c5387d Table: ad02006a DAC: 00000051
> [ 17.253708] Process kworker/0:2 (pid: 92, stack limit = 0xee17a210)
> [ 17.259957] Stack: (0xee17bef8 to 0xee17c000)
> [ 17.264301] bee0: ee13dc00 eef8f34c
> [ 17.272459] bf00: eef91ac0 c003b69c eef91ac0 ee17a038 c0a4ba60 eef91ac0 eef91ad4 ee17a038
> [ 17.280618] bf20: c0a4ba60 ee13dc18 ee13dc00 00000008 eef91ac0 c003b8f8 00000000 c09f6100
> [ 17.288778] bf40: c003b8b0 ee102a00 00000000 ee13dc00 c003b8b0 00000000 00000000 00000000
> [ 17.296937] bf60: 00000000 c0040ad0 00000000 00000000 00000000 ee13dc00 00000000 00000000
> [ 17.305094] bf80: ee17bf80 ee17bf80 00000000 00000000 ee17bf90 ee17bf90 ee17bfac ee102a00
> [ 17.313253] bfa0: c00409d0 00000000 00000000 c000f650 00000000 00000000 00000000 00000000
> [ 17.321412] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [ 17.329570] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
> [ 17.337733] [<c00cdd80>] (vmstat_update) from [<c003b69c>] (process_one_work+0x124/0x338)
> [ 17.345893] [<c003b69c>] (process_one_work) from [<c003b8f8>] (worker_thread+0x48/0x4c4)
> [ 17.353966] [<c003b8f8>] (worker_thread) from [<c0040ad0>] (kthread+0x100/0x118)
> [ 17.361348] [<c0040ad0>] (kthread) from [<c000f650>] (ret_from_fork+0x14/0x24)
> [ 17.368553] Code: e5930010 eb05c417 e3500000 08bd8070 (e7f001f2)
> [ 17.374633] ---[ end trace 17cf004302766810 ]---
Thanks,
Daniel
On 5/15/19 4:51 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 4.4.180 release.
> There are 266 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Fri 17 May 2019 09:04:49 AM UTC.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.180-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>
Compiled and booted on my test system. No dmesg regressions.
thanks,
-- Shuah
On Thu, May 16, 2019 at 01:59:43PM +0200, Daniel Wagner wrote:
> Hi Jon,
>
> > Boot regression detected for Tegra ...
> >
> > Test results for stable-v4.4:
> > 6 builds: 6 pass, 0 fail
> > 15 boots: 6 pass, 9 fail
> > 8 tests: 8 pass, 0 fail
> >
> > Linux version: 4.4.180-rc1-gbe756da
> > Boards tested: tegra124-jetson-tk1, tegra20-ventana,
> > tegra30-cardhu-a04
> >
> > Bisect is point to the following commit ...
> >
> > # first bad commit: [7849d64a1700ddae1963ff22a77292e9fb5c2983] mm, vmstat: make quiet_vmstat lighter
> >
> > Reverting this on top v4.4.180-rc1 fixes the problem.
>
> I guess the patch depends on another change. I'll try to figure out what
> is missing.
Jon, thanks for the testing, I'll go drop this patch now from the final
version.
Daniel, if you can come up with a working series, I'll be glad to take
it. Or, I'd recommend you just move to a newer kernel :)
thanks,
greg k-h
Greg Kroah-Hartman <[email protected]> writes:
> On Wed, May 15, 2019 at 07:47:45AM -0700, kernelci.org bot wrote:
>> stable-rc/linux-4.4.y boot: 98 boots: 1 failed, 92 passed with 3 offline, 1 untried/unknown, 1 conflict (v4.4.179-267-gbe756dada5b7)
>>
>> Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
>> Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
>>
>> Tree: stable-rc
>> Branch: linux-4.4.y
>> Git Describe: v4.4.179-267-gbe756dada5b7
>> Git Commit: be756dada5b771fe51be37a77ad0bdfba543fdae
>> Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
>> Tested: 44 unique boards, 21 SoC families, 14 builds out of 190
>>
>> Boot Regressions Detected:
>>
>> arm:
>>
>> omap2plus_defconfig:
>> gcc-8:
>> omap4-panda:
>> lab-baylibre: new failure (last pass: v4.4.179-254-gce69be0d452a)
>
> Odd, is this specific to this release?
No, looks like a lab-specific hiccup.
A little bit further down in the original report (I know, not a useful
place for it) was this:
> Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
>
> arm:
> omap2plus_defconfig:
> omap4-panda:
> lab-baylibre: FAIL (gcc-8)
> lab-baylibre-seattle: PASS (gcc-8)
which means the same board passed in one lab, but not the other,
suggesting something.
This is a bug in our email reports. Regressions should not be reported
whene there are conflicting results from labs.
Kevin
On Thu, May 16, 2019 at 03:47:25PM -0700, Kevin Hilman wrote:
> Greg Kroah-Hartman <[email protected]> writes:
>
> > On Wed, May 15, 2019 at 07:47:45AM -0700, kernelci.org bot wrote:
> >> stable-rc/linux-4.4.y boot: 98 boots: 1 failed, 92 passed with 3 offline, 1 untried/unknown, 1 conflict (v4.4.179-267-gbe756dada5b7)
> >>
> >> Full Boot Summary: https://kernelci.org/boot/all/job/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
> >> Full Build Summary: https://kernelci.org/build/stable-rc/branch/linux-4.4.y/kernel/v4.4.179-267-gbe756dada5b7/
> >>
> >> Tree: stable-rc
> >> Branch: linux-4.4.y
> >> Git Describe: v4.4.179-267-gbe756dada5b7
> >> Git Commit: be756dada5b771fe51be37a77ad0bdfba543fdae
> >> Git URL: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> >> Tested: 44 unique boards, 21 SoC families, 14 builds out of 190
> >>
> >> Boot Regressions Detected:
> >>
> >> arm:
> >>
> >> omap2plus_defconfig:
> >> gcc-8:
> >> omap4-panda:
> >> lab-baylibre: new failure (last pass: v4.4.179-254-gce69be0d452a)
> >
> > Odd, is this specific to this release?
>
> No, looks like a lab-specific hiccup.
>
> A little bit further down in the original report (I know, not a useful
> place for it) was this:
>
> > Conflicting Boot Failure Detected: (These likely are not failures as other labs are reporting PASS. Needs review.)
> >
> > arm:
> > omap2plus_defconfig:
> > omap4-panda:
> > lab-baylibre: FAIL (gcc-8)
> > lab-baylibre-seattle: PASS (gcc-8)
>
> which means the same board passed in one lab, but not the other,
> suggesting something.
>
> This is a bug in our email reports. Regressions should not be reported
> whene there are conflicting results from labs.
Ah, thanks for the explaination, that makes more sense.
greg k-h
Hi Greg,
On 16.05.19 18:49, Greg Kroah-Hartman wrote:
> Jon, thanks for the testing, I'll go drop this patch now from the final
> version.
That's fine, I wanted to suggest this too. I have some time to look at
this next week. So there is no hurry with this patch.
> Daniel, if you can come up with a working series, I'll be glad to take
> it. Or, I'd recommend you just move to a newer kernel :)
Sure, I will see what is missing.
@Jon if I get have something to test, would you have time to give it a
try first?
There is someone constantly updating the v4.4.y tree, which makes me
update the -rt patches all the time. Don't fear, I am not running 4.4.y,
this is only for important infrastructure :)
Thanks,
Daniel
On 17/05/2019 08:44, Daniel Wagner wrote:
> Hi Greg,
>
> On 16.05.19 18:49, Greg Kroah-Hartman wrote:
>> Jon, thanks for the testing, I'll go drop this patch now from the final
>> version.
>
> That's fine, I wanted to suggest this too. I have some time to look at
> this next week. So there is no hurry with this patch.
>
>> Daniel, if you can come up with a working series, I'll be glad to take
>> it. Or, I'd recommend you just move to a newer kernel :)
>
> Sure, I will see what is missing.
>
> @Jon if I get have something to test, would you have time to give it a
> try first?
Yes no problem.
Cheers
Jon
--
nvpublic