Skip to contentSkip to conversation

4.9.312-rt193

ANNOUNCE Mark Gross 3 participants 6 messages May 10, 2022 – Oct 14, 2022

Subsystems (236)
lore
Share & tools
lore

Mark Gross

author
#0 lore raw

Hello RT-list!

I'm pleased to announce the 4.9.312-rt193 stable release.

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

branch: v4.9-rt
Head SHA1: 9fa8a14439281cb467a9bf7bdb8795e52bf2293c

Or to build 4.9.312-rt193 directly, the following patches should be applied:

https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.xz

https://www.kernel.org/pub/linux/kernel/v4.x/patch-4.9.312.xz

https://www.kernel.org/pub/linux/kernel/projects/rt/4.9/patch-4.9.312-rt193.patch.xz

You can also build from 4.9.303-rt192 by applying the incremental patch:

https://www.kernel.org/pub/linux/kernel/projects/rt/4.9/incr/patch-4.9.303-rt192-rt193.patch.xz

Signing key fingerprint:

A073 BC64 746A 086C DA24 97C8 F92D 73C9 A31A 1C17

Enjoy!
Mark Gross

Changes from v4.9.303-rt192:
---

Adrian Hunter (2):
perf/core: Fix address filter parser for multiple filters perf/x86/intel/pt: Fix address filter config for 32-bit kernel

Alan Stern (2):
usb: gadget: Fix use-after-free bug by not setting udc->dev.driver
USB: usb-storage: Fix use of bitfields for hardware data in ene_ub6250.c

Alexander Lobakin (2):
MIPS: smp: fill in sibling and core maps earlier
MIPS: fix fortify panic when copying asm exception handlers

Alexey Galakhov (1):
scsi: mvsas: Add PCI ID of RocketRaid 2640

Alexey Khoroshilov (2):
serial: 8250: fix error handling in of_platform_serial_probe()
NFS: remove unneeded check in decode_devicenotify_args()

Alistair Popple (1):
mm/pages_alloc.c: don't create ZONE_MOVABLE beyond the end of a node

Amadeusz Sławiński (1):
ASoC: topology: Allow TLV control to be either read or write

Andrew Price (1):
gfs2: Make sure FITRIM minlen is rounded up to fs block size

Anshuman Khandual (1):
arm64: Add Cortex-X2 CPU part definition

Armin Wolf (1):
hwmon: (sch56xx-common) Replace WDOG_ACTIVE with WDOG_HW_RUNNING

Arnaldo Carvalho de Melo (1):

      tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts

Arnd Bergmann (1):
arm64: arch_timer: avoid unused function warning

Baokun Li (3):
jffs2: fix use-after-free in jffs2_clear_xattr_subsystem
jffs2: fix memory leak in jffs2_do_mount_fs
jffs2: fix memory leak in jffs2_scan_medium

Bart Van Assche (1):
RDMA/ib_srp: Fix a deadlock

Benjamin Beichler (1):
mac80211_hwsim: report NOACK frames in tx_status

Bharata B Rao (1):
sched/debug: Remove mpol_get/put and task_lock/unlock from sched_show_numa

Bob Peterson (1):
gfs2: assign rgrp glock before compute_bitstructs

Borislav Petkov (3):
x86/speculation: Merge one test in spectre_v2_user_select_mitigation()
ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant
brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant

Brandon Wyman (1):
hwmon: (pmbus) Add Vin unit off handling

Casey Schaufler (1):
Fix incorrect type in assignment of ipv6 port for audit

Chaitanya Kulkarni (1):
loop: use sysfs_emit() in the sysfs xxx show()

Chen-Yu Tsai (2):
pinctrl: pinconf-generic: Print arguments for bias-pull-*
net: stmmac: Fix unset max_speed difference between DT and non-DT platforms

ChenXiaoSong (1):
configfs: fix a race in configfs_{,un}register_subsystem()

Chengming Zhou (1):
kselftest/vm: fix tests build with old libc

Christian Göttsche (1):
selinux: use correct type for context length

Christophe JAILLET (2):
iio: adc: men_z188_adc: Fix a resource leak in an error handling path
scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one()

Codrin Ciubotariu (1):
ASoC: dmaengine: do not use a NULL prepare_slave_config() callback

Colin Ian King (2):
carl9170: fix missing bit-wise or operator for tx_params
iwlwifi: Fix -EIO error code that is never returned

Corentin Labbe (1):
ARM: dts: rockchip: fix a typo on rk3288 crypto-controller

Daehwan Jung (1):
usb: gadget: rndis: add spinlock for rndis response list

Damien Le Moal (6):
scsi: libsas: Fix sas_ata_qc_issue() handling of NCQ NON DATA commands
scsi: pm8001: Fix command initialization in pm80XX_send_read_log()
scsi: pm8001: Fix command initialization in pm8001_chip_ssp_tm_req()
scsi: pm8001: Fix payload initialization in pm80xx_set_thermal_config()
scsi: pm8001: Fix abort all task initialization
scsi: pm8001: Fix pm8001_mpi_task_abort_resp()

Dan Carpenter (6):
staging: gdm724x: fix use after free in gdm_lte_rx()
usb: gadget: rndis: prevent integer overflow in rndis_set_response()
NFSD: prevent underflow in nfssvc_decode_writeargs()
video: fbdev: fbcvt.c: fix printing in fb_cvt_print_name()
media: usb: go7007: s2250-board: fix leak in probe()
USB: storage: ums-realtek: fix error code in rts51x_read_mem()

Daniel González Cabanelas (1):
media: cx88-mpeg: clear interrupt status register before streaming video

Daniele Palmas (2):
USB: serial: option: add Telit LE910R1 compositions
net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990

Darren Hart (1):
ACPI/APEI: Limit printable size of BERT table data

Dave Martin (1):
arm64: capabilities: Update prototype for enable call back

David Heidelberg (1):
ARM: dts: qcom: fix gic_irq_domain_translate warnings for msm8960

David Howells (1):
cifs: Check the IOCB_DIRECT flag, not O_DIRECT

David Matlack (1):
KVM: Prevent module exit until all VMs are freed

Ding Tianhong (2):
clocksource/drivers/arm_arch_timer: Remove fsl-a008585 parameter clocksource/drivers/arm_arch_timer: Introduce generic errata handling infrastructure

Dinh Nguyen (1):
net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link

Dirk Müller (1):
lib/raid6/test: fix multiple definition linking error

Dmitry Baryshkov (1):
PM: core: keep irq flags in device_pm_check_callbacks()

Dmitry Torokhov (1):
HID: i2c-hid: fix GET/SET_REPORT for unnumbered reports

Dmytro Bagrii (1):
Revert "USB: serial: ch341: add new Product ID for CH341A"

Dongliang Mu (2):
ntfs: add sanity check on allocation size
media: hdpvr: initialize dev->worker at hdpvr_register_videodev

Duoming Zhou (4):
ax25: Fix NULL pointer dereference in ax25_kill_by_device
drivers: hamradio: 6pack: fix UAF bug caused by mod_timer() net/x25: Fix null-ptr-deref caused by x25_disconnect
drivers: net: slip: fix NPD bug in sl_tx_timeout()

Dāvis Mosāns (1):
crypto: ccp - ccp_dmaengine_unregister release dma channels

Eddie James (1):
USB: serial: pl2303: add IBM device IDs

Emmanuel Gil Peyrot (1):
ARM: fix build error when BPF_SYSCALL is disabled

Eric Anholt (1):
i2c: bcm2835: Avoid clock stretching timeouts

Eric Dumazet (7):
net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends
sctp: fix kernel-infoleak for SCTP sockets
tcp: make tcp_read_sock() more robust
net/packet: fix slab-out-of-bounds access in packet_recvmsg()
llc: fix netdevice reference leaks in llc_ui_bind()
llc: only change llc->dev when bind() succeeds
netlink: reset network and mac headers in netlink_dump()

Evgeny Novikov (1):
video: fbdev: w100fb: Reset global state

Fabio M. De Francesco (1):
ALSA: pcm: Test for "silence" field in struct "pcm_format_data"

Fangrui Song (1):
arm64: module: remove (NOLOAD) from linker script

Florian Fainelli (1):
net: phy: broadcom: Fix brcm_fet_config_init()

Florian Westphal (2):
netfilter: nf_queue: don't assume sk is full socket
netfilter: nf_queue: fix possible use-after-free

Frank Wunderlich (1):
arm64: dts: broadcom: Fix sata nodename

Gal Pressman (1):
net/mlx5e: Fix wrong return value on ioctl EEPROM query failure

George Kennedy (1):
video: fbdev: cirrusfb: check pixclock to avoid divide by zero

Giacomo Guiduzzi (1):
ALSA: pci: fix reading of swapped values from pcmreg in AC97 codec

Giovanni Cabiddu (1):
crypto: qat - disable registration of algorithms

Greg Kroah-Hartman (9):

      Linux 4.9.304
      Linux 4.9.305
      Linux 4.9.306
      Linux 4.9.307
      Linux 4.9.308
      Linux 4.9.309
      Linux 4.9.310
      Linux 4.9.311
      Linux 4.9.312

Guillaume Nault (1):
veth: Ensure eth header is in skb's linear part

Guo Ren (1):
arm64: patch_text: Fixup last cpu should be master

H. Nikolaus Schaller (1):
usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm

Haimin Zhang (2):
af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register
jfs: prevent NULL deref in diFree

Hangbin Liu (1):
net/packet: fix packet_sock xmit return value checking

Hangyu Hua (3):
usb: gadget: don't release an existing dev->buf
usb: gadget: clear related members when goto fail
can: ems_usb: ems_usb_start_xmit(): fix double dev_kfree_skb() in error path

Hans de Goede (2):
Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power()
Input: elan_i2c - fix regulator enable count imbalance after suspend/resume

Harshit Mogalapalli (1):
cifs: potential buffer overflow in handling symlinks

Hector Martin (2):
brcmfmac: firmware: Allocate space for default boardrev in nvram
brcmfmac: pcie: Replace brcmf_pcie_copy_mem_todev with memcpy_toio

Helge Deller (3):
parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel parisc/unaligned: Fix ldw() and stw() unalignment handlers
video: fbdev: sm712fb: Fix crash in smtcfb_read()

Herbert Xu (1):
crypto: authenc - Fix sleep in atomic context in decrypt_tail

Hongbin Wang (1):
vxlan: fix error return code in vxlan_fdb_append

Hongyu Xie (1):
xhci: Prevent futile URB re-submissions due to incorrect return value.

Hou Wenlong (1):
KVM: x86/emulator: Defer not-present segment check in __load_segment_descriptor()

Huang Pei (1):
hamradio: fix macro redefine warning

Hugh Dickins (2):
memfd: fix F_SEAL_WRITE after shmem huge page allocated
mempolicy: mbind_range() set_policy() after vma_merge()

JaeMan Park (1):

      mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work

Jakob Koschel (1):
powerpc/sysdev: fix incorrect use to determine if list is empty

James Clark (1):
coresight: Fix TRCCONFIGR.QE sysfs interface

James Morse (20):
arm64: Remove useless UAO IPI and describe how this gets enabled
arm64: entry.S: Add ventry overflow sanity checks
arm64: entry: Make the trampoline cleanup optional
arm64: entry: Free up another register on kpti's tramp_exit path
arm64: entry: Move the trampoline data page before the text page
arm64: entry: Allow tramp_alias to access symbols after the 4K boundary
arm64: entry: Don't assume tramp_vectors is the start of the vectors
arm64: entry: Move trampoline macros out of ifdef'd section
arm64: entry: Make the kpti trampoline's kpti sequence optional
arm64: entry: Allow the trampoline text to occupy multiple pages
arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations
arm64: Move arm64_update_smccc_conduit() out of SSBD ifdef
arm64: entry: Add vectors that have the bhb mitigation sequences
arm64: entry: Add macro for reading symbol addresses from the trampoline
arm64: Add percpu vectors for EL1
KVM: arm64: Add templates for BHB mitigation sequences
arm64: Mitigate spectre style branch history side channels
KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
arm64: add ID_AA64ISAR2_EL1 sys register
arm64: Use the clearbhb instruction in mitigations

Jann Horn (2):
efivars: Respect "block" flag in efivar_entry_set_safe()
ptrace: Check PTRACE_O_SUSPEND_SECCOMP permission on PTRACE_SEIZE

Jason A. Donenfeld (1):
gcc-plugins: latent_entropy: use /dev/urandom

Jia-Ju Bai (4):
net: chelsio: cxgb3: check the return value of pci_find_capability()
net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare()
atm: firestream: check the return value of ioremap() in fs_init()
memory: emif: check the pointer temp in get_device_details()

Jianglei Nie (1):
scsi: libfc: Fix use after free in fc_exch_abts_resp()

Jiapeng Chong (1):
platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative

Jiasheng Jiang (17):
soc: fsl: qe: Check of ioremap return value
net: ethernet: lpc_eth: Handle error for clk_enable
atm: eni: Add check for dma_map_single
ASoC: ti: davinci-i2s: Add check for clk_enable()
ALSA: spi: Add check for clk_enable()
ASoC: mxs-saif: Handle errors for clk_enable
ASoC: atmel_ssc_dai: Handle errors for clk_enable
memory: emif: Add check for setup_interrupts
ASoC: wm8350: Handle error for wm8350_register_irq
ASoC: fsi: Add check for clk_enable
mtd: onenand: Check for error irq
ray_cs: Check ioremap return value
power: supply: wm8350-power: Handle error for wm8350_register_irq
power: supply: wm8350-power: Add missing free in free_charger_irq
mfd: mc13xxx: Add check for mc13xxx_irq_request
iio: adc: Add check for devm_request_threaded_irq
rtc: wm8350: Handle error for wm8350_register_irq

Jim Mattson (1):
KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs

Jing Yao (2):
video: fbdev: omapfb: panel-dsi-cm: Use sysfs_emit() instead of snprintf()
video: fbdev: omapfb: panel-tpo-td043mtea1: Use sysfs_emit() instead of snprintf()

Jiri Bohac (1):
xfrm: fix MTU regression

Jiri Slaby (2):

      mxser: fix xmit_buf leak in activate when LSR == 0xff
      serial: samsung_tty: do not unlock port->lock for uart_write_wakeup()

Johan Hovold (3):
firmware: qemu_fw_cfg: fix kobject leak in probe error path
USB: serial: simple: add Nokia phone driver
media: davinci: vpif: fix unbalanced runtime PM get

Jonathan Neuschäfer (2):
clk: loongson1: Terminate clk_div_table with sentinel element
clk: clps711x: Terminate clk_div_table with sentinel element

Jonathan Teh (1):
ALSA: cmipci: Restore aux vol on suspend/resume

Jordy Zomer (2):
nfc: st21nfca: Fix potential buffer overflows in EVT_TRANSACTION dm ioctl: prevent potential spectre v1 gadget

Josh Poimboeuf (4):
Documentation: Add swapgs description to the Spectre v1 documentation x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting x86/speculation: Warn about Spectre v2 LFENCE mitigation x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT

José Expósito (3):
Input: clear BTN_RIGHT/MIDDLE on buttonpads Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads" drm/imx: Fix memory leak in imx_pd_connector_get_modes

Juergen Gross (10):
xen/xenbus: don't let xenbus_grant_ring() remove grants in error case xen/grant-table: add gnttab_try_end_foreign_access() xen/blkfront: don't use gnttab_query_foreign_access() for mapped status xen/netfront: don't use gnttab_query_foreign_access() for mapped status xen/scsifront: don't use gnttab_query_foreign_access() for mapped status xen/gntalloc: don't use gnttab_query_foreign_access()
xen: remove gnttab_query_foreign_access()
xen/gnttab: fix gnttab_end_foreign_access() without page specified xen/netfront: react properly to failing gnttab_end_foreign_access_ref() mm, page_alloc: fix build_zonerefs_node()

Julian Braha (1):
ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE

Kees Cook (2):
etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
ARM: vexpress/spc: Avoid negative array index when !SMP

Khazhismel Kumykov (1):
block/compat_ioctl: fix range check in BLKGETSIZE

Kim Phillips (2):
x86/speculation: Use generic retpoline by default on AMD x86/speculation: Update link to AMD speculation whitepaper

Krzysztof Kozlowski (3):
ARM: dts: exynos: fix UART3 pins configuration in Exynos5250
ARM: dts: exynos: add missing HDMI supplies on SMDK5250
ARM: dts: exynos: add missing HDMI supplies on SMDK5420

Kuldeep Singh (3):
arm64: dts: ns2: Fix spi-cpol and spi-cpha property
ARM: dts: spear1340: Update serial node properties
ARM: dts: spear13xx: Update SPI dma properties

Kunihiko Hayashi (1):
clk: uniphier: Fix fixed-rate initialization

Lad Prabhakar (1):
can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready

Lars-Peter Clausen (1):
ALSA: usb-audio: Add mute TLV for playback volumes on RODE NT-USB

Leo Ruan (1):
gpu: ipu-v3: Fix dev_dbg frequency output

Liam Beguin (2):
iio: inkern: apply consumer scale on IIO_VAL_INT cases
iio: inkern: make a best effort on offset calculation

Liguang Zhang (1):
PCI: pciehp: Clear cmd_busy bit in polling mode

Lin Ma (1):
nfc: nci: add flush_workqueue to prevent uaf

Linus Lüssing (1):
mac80211: fix potential double free on mesh join

Linus Torvalds (1):
fget: clarify and improve __fget_files() implementation

Lucas Denefle (1):
w1: w1_therm: fixes w1_seq for ds28ea00 sensors

Lucas Wei (1):
fs: sysfs_emit: Remove PAGE_SIZE alignment check

Luiz Augusto von Dentz (1):
Bluetooth: Fix use after free in hci_send_acl

Lukas Bulwahn (1):
Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization

Lv Yunlong (1):
drbd: Fix five use after free bugs in get_initial_state

Maciej W. Rozycki (1):
DEC: Limit PMAX memory probing to R3k systems

Marc Zyngier (6):
arm64: arch_timer: Add infrastructure for multiple erratum detection methods
arm64: arch_timer: Add erratum handler for CPU-specific capability
arm64: arch_timer: Add workaround for ARM erratum 1188873
arm64: Add silicon-errata.txt entry for ARM erratum 1188873
arm64: Make ARM64_ERRATUM_1188873 depend on COMPAT
arm64: Add part number for Neoverse N1

Marek Marczykowski-Górecki (1):
Revert "xen-netback: Check for hotplug-status existence before watching"

Marek Vasut (1):
ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min

Mark Cilissen (1):
ACPI / x86: Work around broken XSDT on Advantech DAC-BJ01 board

Mark Featherston (1):
gpio: ts4900: Do not set DAT and OE together

Mark Gross (2):

      Merge tag 'v4.9.312' into v4.9-rt
      Linux 4.9.312-rt193

Mark Rutland (1):

      arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()

Martin Povišer (1):
i2c: pasemi: Wait for write xfers to finish

Martin Varghese (1):
openvswitch: Fixed nd target mask field in the flow dump.

Masahiro Yamada (1):
x86/build: Fix compiler support check for CONFIG_RETPOLINE

Mauricio Faria de Oliveira (1):
mm: fix race between MADV_FREE reclaim and blkdev direct IO read

Max Filippov (1):
xtensa: fix DTC warning unit_address_format

Maxim Kiselev (1):
powerpc: dts: t104xrdb: fix phy type for FMAN 4/5

Maxime Ripard (2):
drm/edid: Always set RGB444
drm/edid: Don't clear formats if using deep color

Maximilian Luz (1):
ACPI: battery: Add device HID and quirk for Microsoft Surface Go 3

Miaohe Lin (2):
memblock: use kfree() to release kmalloced memblock regions mm/mempolicy: fix mpol_new leak in shared_policy_replace

Miaoqian Lin (15):
ethernet: Fix error handling in xemaclite_of_probe
spi: tegra114: Add missing IRQ check in tegra_spi_probe
soc: ti: wkup_m3_ipc: Fix IRQ check in wkup_m3_ipc_probe
ASoC: atmel: Add missing of_node_put() in at91sam9g20ek_audio_probe
video: fbdev: omapfb: Add missing of_node_put() in dvic_probe_of
ASoC: mxs: Fix error handling in mxs_sgtl5000_probe
power: supply: ab8500: Fix memory leak in ab8500_fg_sysfs_init drm/tegra: Fix reference leak in tegra_dsi_ganged_probe
mfd: asic3: Add missing iounmap() on error asic3_mfd_probe
remoteproc: qcom_wcnss: Add missing of_node_put() in wcnss_alloc_memory_region
clk: tegra: tegra124-emc: Fix missing put_device() call in emc_ensure_emc_driver
pinctrl: mediatek: Fix missing of_node_put() in mtk_pctrl_init
pinctrl: nomadik: Add missing of_node_put() in nmk_pinctrl_probe pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
dmaengine: imx-sdma: Fix error checking in sdma_event_remap

Michael Chan (1):
bnxt_en: Eliminate unintended link toggle during FW reset

Michael S. Tsirkin (1):
virtio_console: break out of buf poll on remove

Michael Schmitz (1):
video: fbdev: atari: Atari 2 bpp (STe) palette bugfix

Mike Kravetz (1):
selftests/memfd: clean up mapping in mfd_fail_write

Minghao Chi (1):
spi: tegra20: Use of_device_get_match_data()

Mohammad Kabat (1):
net/mlx5: Fix size field in bufferx_reg struct

Muhammad Usama Anjum (1):
selftests/x86: Add validity check and allow field splitting

Nadav Amit (1):
smp: Fix offline cpu check in flush_smp_call_function_queue()

Nathan Chancellor (2):
ARM: Do not use NOCROSSREFS directive with ld.lld
ARM: davinci: da850-evm: Avoid NULL pointer dereference

NeilBrown (2):
SUNRPC: avoid race between mod_timer() and del_timer_sync() SUNRPC/call_alloc: async tasks mustn't block waiting for memory

Nicolas Escande (1):
mac80211: fix forwarded mesh frames AC & queue selection

Niels Dossche (1):

      sfc: extend the locking on mcdi->seqno

Oliver Graute (1):
staging: fbtft: fb_st7789v: reset display before initialization

Oliver Neukum (2):
sr9700: sanity check for packet length
USB: zaurus: support another broken Zaurus

Pablo Neira Ayuso (2):
netfilter: nf_tables: initialize registers in nft_do_chain()
netfilter: nf_conntrack_tcp: preserve liberal flag in tcp options

Paolo Bonzini (1):
mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0)

Paolo Valerio (1):
openvswitch: fix OOB access in reserve_sfa_size()

Patrick Rudolph (1):
hwmon: (pmbus) Add mutex to regulator ops

Patrick Wang (1):
mm: kmemleak: take a full lowmem check in kmemleak_*_phys()

Paul Blakey (1):
openvswitch: Fix setting ipv6 fields causing hw csum failure

Pavel Kubelun (1):
ARM: dts: qcom: ipq4019: fix sleep clock

Pavel Skripkin (4):
NFC: port100: fix use-after-free in port100_send_complete
Input: aiptek - properly check endpoint type
ath9k_htc: fix uninit value bugs
jfs: fix divide error in dbNextAG

Pawan Gupta (2):
x86/pm: Save the MSR validity status at context setup x86/speculation: Restore speculation related MSRs during S3 resume

Peter Rosin (1):
i2c: mux: demux-pinctrl: do not deactivate a master that is not active

Peter Xu (1):
mm: don't skip swap entry even if zap_details specified

Peter Zijlstra (3):
x86,bugs: Unconditionally allow spectre_v2=retpoline,amd x86/speculation: Add eIBRS + Retpoline options Documentation/hw-vuln: Update spectre doc

Peter Zijlstra (Intel) (1):
x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE

Petr Machata (1):
af_netlink: Fix shift out of bounds in group mask calculation

Petr Vorel (1):
crypto: vmx - add missing dependencies

QintaoShen (1):
drm/amdkfd: Check for potential null return of kmalloc_array()

Qiushi Wu (1):
firmware: Fix a reference count leak.

Qu Wenruo (1):
btrfs: unlock newly allocated extent buffer after error

Quinn Tran (1):
scsi: qla2xxx: Fix incorrect reporting of task management failure

Rafael J. Wysocki (2):
ACPICA: Avoid walking the ACPI Namespace if it is not there
ACPI: CPPC: Avoid out of bounds access when parsing _CPC data

Randy Dunlap (20):
net: stmmac: fix return value of __setup handler
net: sxgbe: fix return value of __setup handler
ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions
ARM: Spectre-BHB: provide empty stub for non-config
PM: hibernate: fix __setup handler error handling
PM: suspend: fix return value of __setup handler
clocksource: acpi_pm: fix return value of __setup handler
printk: fix return value of printk.devkmsg __setup handler
TOMOYO: fix __setup handlers return values
MIPS: RB532: fix return value of __setup handler
tty: hvc: fix return value of __setup handler
kgdboc: fix return value of __setup handler
kgdbts: fix return value of __setup handler
mm/mmap: return 1 from stack_guard_gap __setup() handler mm/memcontrol: return 1 from cgroup.memory __setup() handler
ARM: 9187/1: JIVE: fix return value of __setup handler
scsi: aha152x: Fix aha152x_setup() __setup handler return value init/main.c: return 1 from handled __setup() functions
virtio_console: eliminate anonymous module_init & module_exit
net: micrel: fix KS8851_MLL Kconfig

Richard Leitner (1):
ARM: tegra: tamonten: Fix I2C3 pad setting

Richard Schleich (1):
ARM: dts: bcm2837: Add the missing L1/L2 cache information

Rob Herring (1):
arm64: Add part number for Arm Cortex-A77

Robert Hancock (2):
serial: 8250: of: Fix mapped region size when using reg-offset property
i2c: xiic: Make bus names unique

Robert Richter (1):
arm64: errata: Provide macro for major and minor cpu revisions

Ronnie Sahlberg (1):
cifs: fix double free race when mount fails in cifs_get_root()

Russell King (Oracle) (8):
ARM: report Spectre v2 status through sysfs
ARM: early traps initialisation
ARM: use LOADADDR() to get load address of sections
ARM: Spectre-BHB workaround
ARM: include unprivileged BPF status in Spectre V2 reporting
ARM: fix co-processor register typo
ARM: fix build warning in proc-v7-bugs.c
ARM: fix Thumb2 regression with Spectre BHB

Sasha Neftin (1):
e1000e: Fix possible overflow in LTR decoding

Sebastian Andrzej Siewior (1):
usb: dwc3: gadget: Let the interrupt handler disable bottom halves.

Sergey Matyukevich (1):
ARC: entry: fix syscall_trace_exit argument

Sergey Shtylyov (2):
ata: pata_hpt37x: disable primary channel on HPT371
ata: pata_hpt37x: fix PCI clock detection

Shengjiu Wang (1):
ASoC: soc-core: skip zero num_dai component in searching dai name

Slark Xiao (1):
USB: serial: option: add support for DW5829e

Souptick Joarder (HPE) (1):
irqchip/nvic: Release nvic_base upon failure

Sreeramya Soratkal (1):
nl80211: Update bss channel on channel switch for P2P_CLIENT

Srinivas Pandruvada (1):

      thermal: int340x: Increase bitmap size

Stefano Garzarella (1):
vhost/vsock: don't check owner in vhost_vsock_stop() while releasing

Steven Price (1):
arm/arm64: Provide a wrapper for SMCCC 1.1 calls

Steven Rostedt (Google) (1):
tracefs: Set the group ownership in apply_options() not parse_options()

Suzuki K Poulose (10):
arm64: Add MIDR encoding for Arm Cortex-A55 and Cortex-A35
arm64: capabilities: Move errata work around check on boot CPU
arm64: capabilities: Move errata processing code
arm64: capabilities: Prepare for fine grained capabilities
arm64: capabilities: Add flags to handle the conflicts on late CPU
arm64: capabilities: Clean up midr range helpers
arm64: Add helpers for checking CPU MIDR against a range
arm64: capabilities: Add support for checks based on a list of MIDRs
arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
arm64: Add helper to decode register from instruction

Sven Eckelmann (2):
batman-adv: Request iflink once in batadv-on-batadv check
batman-adv: Don't expect inter-netns unique iflink indices

Sven Schnelle (1):
tracing: Ensure trace buffer is at least 4096 bytes large

Szymon Heidrich (1):
USB: gadget: validate endpoint index for xilinx udc

Tadeusz Struk (2):
net: ipv6: fix skb_over_panic in __ip6_append_data
ext4: limit length to bitmap_maxbytes - blocksize in punch_hole

Takashi Iwai (2):
ALSA: pcm: Add stream lock during PCM reset ioctl operations
ALSA: usb-audio: Clear MIDI port active flag after draining

Takashi Sakamoto (1):
ALSA: firewire-lib: fix uninitialized flag for AV/C deferred transaction

Taniya Das (1):
clk: qcom: clk-rcg2: Update the frac table for pixel clock

Tao Liu (1):
gso: do not skip outer ip header in case of ipip and net_failover

Theodore Ts'o (3):
ext4: don't BUG if someone dirty pages without asking ext4 first
ext4: fix overhead calculation to account for the reserved gdt blocks
ext4: force overhead calculation if the s_overhead_cluster makes no sense

Tim Chen (1):
Documentation: Add section about CPU vulnerabilities for Spectre

Tim Gardner (1):
video: fbdev: nvidiafb: Use strscpy() to prevent buffer overflow

Tom Rix (2):
qed: return status of qed_iov_get_link
qlcnic: dcb: default to returning -EOPNOTSUPP

Tomas Paukrt (1):
crypto: mxs-dcp - Fix scatterlist processing

Tyrel Datwyler (1):
scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024

Ulf Hansson (1):

      mmc: host: Return an error when ->enable_sdio_irq() ops is missing

Uwe Kleine-König (2):
pwm: lpc18xx-sct: Initialize driver data and hardware before pwmchip_add()
ARM: mmp: Fix failure to remove sram device

Vincent Mailhol (1):
can: gs_usb: change active_channels's type from atomic_t to u8

Vinod Koul (1):
dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error"

Vitaly Kuznetsov (1):
KVM: x86: Forbid VMM to set SYNIC/STIMER MSRs when SynIC wasn't activated

Vladimir Oltean (2):
net: dcb: flush lingering app table entries for unregistered devices
net: dcb: disable softirqs in dcbnl_flush_dev()

WANG Chao (1):
x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE

Wang Hai (1):
video: fbdev: smscufx: Fix null-ptr-deref in ufx_usb_probe()

Wang Wensheng (1):
ASoC: imx-es8328: Fix error return code in imx_es8328_probe()

Werner Sembach (1):
ACPI: video: Force backlight native for Clevo NL5xRU and NL5xNU

William Mahon (1):
HID: add mapping for KEY_ALL_APPLICATIONS

Wolfram Sang (1):
i2c: qup: allow COMPILE_TEST

Xiaoke Wang (1):
drm/msm/mdp5: check the return of kzalloc()

Xiaomeng Tong (3):
ALSA: cs4236: fix an incorrect NULL check on list iterator
dma: at_xdmac: fix a missing check on list iterator
ASoC: soc-dapm: fix two incorrect uses of list iterator

Xie Yongji (2):
block: Add a helper to validate the block size
virtio-blk: Use blk_validate_block_size() to validate block size

Xin Long (1):
xfrm: policy: match with both mark and mask on user interfaces

Xiongwei Song (1):
mm: page_alloc: fix building error on -Werror=array-compare

Yajun Deng (1):
netdevice: add the case if dev is NULL

Yan Yan (1):
xfrm: Fix xfrm migrate issues when address family changes

Yang Guang (4):
video: fbdev: omapfb: acx565akm: replace snprintf with sysfs_emit
ptp: replace snprintf with sysfs_emit
scsi: mvsas: Replace snprintf() with sysfs_emit()
scsi: bfa: Replace snprintf() with sysfs_emit()

Yongzhi Liu (1):
dmaengine: shdma: Fix runtime PM imbalance on error

Zekun Shen (1):
ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111

Zhang Yi (1):
ext2: correct max file size computing

Zhenzhong Duan (4):
x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support x86/retpoline: Remove minimal retpoline support
KVM: x86: Fix emulation in writing cr8

Zheyu Ma (4):
net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe()
ethernet: sun: Free the coherent when failing in probing
video: fbdev: sm712fb: Fix crash in smtcfb_write()
ata: pata_marvell: Check the 'bmdma_addr' beforing reading

Zhihao Cheng (3):
ubifs: Add missing iput if do_tmpfile() failed in rename whiteout
ubifs: setflags: Make dirtied_ino_d 8 bytes aligned
ubi: fastmap: Return error code if memory allocation fails in add_aeb()

Zhou Guanghui (1):
iommu/arm-smmu-v3: fix event handling soft lockup

[email protected] (2):
tty: n_gsm: fix encoding of control signal octet bit DV
tty: n_gsm: fix proper link termination after failed open

david regan (1):
mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status

suresh kumar (1):
net-sysfs: add check for netdevice being present to speed_show
---
Documentation/arm64/silicon-errata.txt | 1 +

 Documentation/hw-vuln/index.rst                    |   1 +
 Documentation/hw-vuln/spectre.rst                  | 785 +++++++++++++++++++++
 Documentation/kernel-parameters.txt                |  17 +-
 Makefile                                           |   2 +-
 arch/arc/kernel/entry.S                            |   1 +
 arch/arm/boot/dts/exynos5250-pinctrl.dtsi          |   2 +-
 arch/arm/boot/dts/exynos5250-smdk5250.dts          |   3 +
 arch/arm/boot/dts/exynos5420-smdk5420.dts          |   3 +
 arch/arm/boot/dts/qcom-ipq4019.dtsi                |   3 +-
 arch/arm/boot/dts/qcom-msm8960.dtsi                |   8 +-
 arch/arm/boot/dts/rk3288.dtsi                      |   2 +-
 arch/arm/boot/dts/spear1340.dtsi                   |   6 +-
 arch/arm/boot/dts/spear13xx.dtsi                   |   6 +-
 arch/arm/boot/dts/tegra20-tamonten.dtsi            |   6 +-
 arch/arm/include/asm/assembler.h                   |  10 +
 arch/arm/include/asm/kvm_host.h                    |   5 +
 arch/arm/include/asm/spectre.h                     |  38 +
 arch/arm/kernel/Makefile                           |   2 +
 arch/arm/kernel/entry-armv.S                       |  79 ++-
 arch/arm/kernel/entry-common.S                     |  24 +
 arch/arm/kernel/spectre.c                          |  71 ++
 arch/arm/kernel/traps.c                            |  65 +-
 arch/arm/kernel/vmlinux-xip.lds.S                  |  45 +-
 arch/arm/kernel/vmlinux.lds.S                      |  45 +-
 arch/arm/kvm/psci.c                                |   4 +
 arch/arm/mach-davinci/board-da850-evm.c            |   4 +-
 arch/arm/mach-mmp/sram.c                           |  22 +-
 arch/arm/mach-s3c24xx/mach-jive.c                  |   6 +-
 arch/arm/mach-vexpress/spc.c                       |   2 +-
 arch/arm/mm/Kconfig                                |  11 +
 arch/arm/mm/mmu.c                                  |   2 +
 arch/arm/mm/proc-v7-bugs.c                         | 199 +++++-
 arch/arm64/Kconfig                                 |  24 +
 arch/arm64/boot/dts/broadcom/bcm2837.dtsi          |  49 ++
 arch/arm64/boot/dts/broadcom/ns2-svk.dts           |   8 +-
 arch/arm64/boot/dts/broadcom/ns2.dtsi              |   2 +-
 arch/arm64/include/asm/arch_timer.h                |  44 +-
 arch/arm64/include/asm/assembler.h                 |  34 +
 arch/arm64/include/asm/cpu.h                       |   1 +
 arch/arm64/include/asm/cpucaps.h                   |   4 +-
 arch/arm64/include/asm/cpufeature.h                | 232 +++++-
 arch/arm64/include/asm/cputype.h                   |  63 ++
 arch/arm64/include/asm/fixmap.h                    |   6 +-
 arch/arm64/include/asm/insn.h                      |   2 +
 arch/arm64/include/asm/kvm_host.h                  |   4 +
 arch/arm64/include/asm/kvm_mmu.h                   |   2 +-
 arch/arm64/include/asm/mmu.h                       |   8 +-
 arch/arm64/include/asm/processor.h                 |   6 +-
 arch/arm64/include/asm/sections.h                  |   6 +
 arch/arm64/include/asm/sysreg.h                    |   5 +
 arch/arm64/include/asm/vectors.h                   |  74 ++
 arch/arm64/kernel/bpi.S                            |  55 ++
 arch/arm64/kernel/cpu_errata.c                     | 595 +++++++++++++---
 arch/arm64/kernel/cpufeature.c                     | 167 +++--
 arch/arm64/kernel/cpuinfo.c                        |   1 +
 arch/arm64/kernel/entry.S                          | 197 ++++--
 arch/arm64/kernel/fpsimd.c                         |   1 +
 arch/arm64/kernel/insn.c                           |  33 +-
 arch/arm64/kernel/module.lds                       |   2 +-
 arch/arm64/kernel/smp.c                            |   6 -
 arch/arm64/kernel/traps.c                          |   4 +-
 arch/arm64/kernel/vmlinux.lds.S                    |   2 +-
 arch/arm64/kvm/hyp/hyp-entry.S                     |   4 +
 arch/arm64/kvm/hyp/switch.c                        |   9 +-
 arch/arm64/mm/fault.c                              |  17 +-
 arch/arm64/mm/mmu.c                                |  11 +-
 arch/mips/dec/prom/Makefile                        |   2 +-
 arch/mips/include/asm/dec/prom.h                   |  15 +-
 arch/mips/include/asm/setup.h                      |   2 +-
 arch/mips/kernel/smp.c                             |   6 +-
 arch/mips/kernel/traps.c                           |  22 +-
 arch/mips/rb532/devices.c                          |   6 +-
 arch/parisc/kernel/unaligned.c                     |  14 +-
 arch/powerpc/boot/dts/fsl/t104xrdb.dtsi            |   4 +-
 arch/powerpc/sysdev/fsl_gtm.c                      |   4 +-
 arch/x86/Kconfig                                   |   4 -
 arch/x86/Makefile                                  |  11 +-
 arch/x86/events/intel/pt.c                         |   2 +-
 arch/x86/include/asm/cpufeatures.h                 |   2 +-
 arch/x86/include/asm/nospec-branch.h               |  41 +-
 arch/x86/kernel/acpi/boot.c                        |  24 +
 arch/x86/kernel/cpu/bugs.c                         | 225 ++++--
 arch/x86/kvm/emulate.c                             |  14 +-
 arch/x86/kvm/hyperv.c                              |  15 +
 arch/x86/kvm/lapic.c                               |   5 +-
 arch/x86/kvm/pmu_amd.c                             |   8 +-
 arch/x86/power/cpu.c                               |  21 +-
 arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi        |   8 +-
 arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi         |   8 +-
 arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi          |   4 +-
 block/compat_ioctl.c                               |   2 +-
 crypto/authenc.c                                   |   2 +-
 drivers/acpi/acpica/nswalk.c                       |   3 +
 drivers/acpi/apei/bert.c                           |   8 +-
 drivers/acpi/battery.c                             |  12 +
 drivers/acpi/cppc_acpi.c                           |   5 +
 drivers/acpi/video_detect.c                        |  75 ++
 drivers/ata/pata_hpt37x.c                          |  18 +-
 drivers/ata/pata_marvell.c                         |   2 +
 drivers/atm/eni.c                                  |   2 +
 drivers/atm/firestream.c                           |   2 +
 drivers/base/power/main.c                          |   6 +-
 drivers/block/drbd/drbd_int.h                      |   8 +-
 drivers/block/drbd/drbd_nl.c                       |  41 +-
 drivers/block/drbd/drbd_state.c                    |  18 +-
 drivers/block/drbd/drbd_state_change.h             |   8 +-
 drivers/block/loop.c                               |  10 +-
 drivers/block/virtio_blk.c                         |  12 +-
 drivers/block/xen-blkfront.c                       |  67 +-
 drivers/char/virtio_console.c                      |  15 +-
 drivers/clk/clk-clps711x.c                         |   2 +
 drivers/clk/loongson1/clk-loongson1c.c             |   1 +
 drivers/clk/qcom/clk-rcg2.c                        |   1 +
 drivers/clk/tegra/clk-emc.c                        |   1 +
 drivers/clk/uniphier/clk-uniphier-fixed-rate.c     |   1 +
 drivers/clocksource/Kconfig                        |   4 +
 drivers/clocksource/acpi_pm.c                      |   6 +-
 drivers/clocksource/arm_arch_timer.c               | 192 ++++-
 drivers/crypto/ccp/ccp-dmaengine.c                 |  16 +
 drivers/crypto/mxs-dcp.c                           |   2 +-
 drivers/crypto/qat/qat_common/qat_crypto.c         |   8 +
 drivers/crypto/vmx/Kconfig                         |   4 +
 drivers/dma/at_xdmac.c                             |  12 +-
 drivers/dma/imx-sdma.c                             |   4 +-
 drivers/firmware/efi/vars.c                        |   5 +-
 drivers/firmware/psci.c                            |  15 +
 drivers/firmware/qemu_fw_cfg.c                     |  10 +-
 drivers/gpio/gpio-ts4900.c                         |  24 +-
 drivers/gpu/drm/amd/amdkfd/kfd_events.c            |   2 +
 drivers/gpu/drm/drm_edid.c                         |  10 +-
 drivers/gpu/drm/imx/parallel-display.c             |   4 +-
 drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c          |   3 +
 drivers/gpu/drm/tegra/dsi.c                        |   4 +-
 drivers/gpu/ipu-v3/ipu-di.c                        |   5 +-
 drivers/hid/hid-debug.c                            |   4 +-
 drivers/hid/hid-input.c                            |   2 +
 drivers/hid/i2c-hid/i2c-hid-core.c                 |  32 +-
 drivers/hwmon/pmbus/pmbus.h                        |   1 +
 drivers/hwmon/pmbus/pmbus_core.c                   |  18 +-
 drivers/hwmon/sch56xx-common.c                     |   2 +-
 .../hwtracing/coresight/coresight-etm4x-sysfs.c    |   8 +-
 drivers/i2c/busses/Kconfig                         |   2 +-
 drivers/i2c/busses/i2c-bcm2835.c                   |  11 +
 drivers/i2c/busses/i2c-pasemi.c                    |   6 +
 drivers/i2c/busses/i2c-xiic.c                      |   3 +-
 drivers/i2c/muxes/i2c-demux-pinctrl.c              |   5 +-
 drivers/iio/adc/men_z188_adc.c                     |   9 +-
 drivers/iio/adc/twl6030-gpadc.c                    |   2 +
 drivers/iio/inkern.c                               |  34 +-
 drivers/infiniband/ulp/srp/ib_srp.c                |   6 +-
 drivers/input/mouse/elan_i2c_core.c                |  64 +-
 drivers/input/tablet/aiptek.c                      |  10 +-
 drivers/iommu/arm-smmu-v3.c                        |   1 +
 drivers/irqchip/irq-nvic.c                         |   2 +
 drivers/md/dm-ioctl.c                              |   2 +
 drivers/media/pci/cx88/cx88-mpeg.c                 |   3 +
 drivers/media/platform/davinci/vpif.c              |   1 +
 drivers/media/usb/go7007/s2250-board.c             |  10 +-
 drivers/media/usb/hdpvr/hdpvr-video.c              |   4 +-
 drivers/memory/emif.c                              |   8 +-
 drivers/mfd/asic3.c                                |  10 +-
 drivers/mfd/mc13xxx-core.c                         |   4 +-
 drivers/misc/kgdbts.c                              |   4 +-
 drivers/mmc/core/host.c                            |  15 +-
 drivers/mtd/nand/brcmnand/brcmnand.c               |   2 +-
 drivers/mtd/onenand/generic.c                      |   7 +-
 drivers/mtd/ubi/fastmap.c                          |  28 +-
 drivers/net/arcnet/com20020-pci.c                  |   3 +
 drivers/net/can/rcar/rcar_canfd.c                  |   6 +-
 drivers/net/can/usb/ems_usb.c                      |   1 -
 drivers/net/can/usb/gs_usb.c                       |  10 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c  |   4 +-
 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c         |   2 +
 drivers/net/ethernet/intel/e1000e/ich8lan.c        |   4 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |   2 +-
 drivers/net/ethernet/micrel/Kconfig                |   1 +
 drivers/net/ethernet/nxp/lpc_eth.c                 |   5 +-
 drivers/net/ethernet/qlogic/qed/qed_sriov.c        |  18 +-
 drivers/net/ethernet/qlogic/qed/qed_vf.c           |   7 +
 drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h    |  10 +-
 drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c    |   6 +-
 drivers/net/ethernet/sfc/mcdi.c                    |   2 +-
 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c |   8 -
 drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.h |   4 +
 .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c    |  13 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   6 +-
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |   3 +-
 drivers/net/ethernet/sun/sunhme.c                  |   6 +-
 drivers/net/ethernet/xilinx/xilinx_emaclite.c      |   4 +-
 drivers/net/hamradio/6pack.c                       |   4 +-
 drivers/net/hamradio/mkiss.c                       |   2 +
 drivers/net/phy/broadcom.c                         |  21 +
 drivers/net/slip/slip.c                            |   2 +-
 drivers/net/usb/cdc_ether.c                        |  12 +
 drivers/net/usb/cdc_mbim.c                         |   5 +
 drivers/net/usb/sr9700.c                           |   2 +-
 drivers/net/usb/zaurus.c                           |  12 +
 drivers/net/veth.c                                 |   2 +-
 drivers/net/vxlan.c                                |   4 +-
 drivers/net/wireless/ath/ath5k/eeprom.c            |   3 +
 drivers/net/wireless/ath/ath9k/htc_hst.c           |   5 +
 drivers/net/wireless/ath/carl9170/main.c           |   2 +-
 .../broadcom/brcm80211/brcmfmac/firmware.c         |   2 +
 .../wireless/broadcom/brcm80211/brcmfmac/pcie.c    |  48 +-
 .../wireless/broadcom/brcm80211/brcmfmac/sdio.c    |   2 +-
 drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c  |   2 +-
 drivers/net/wireless/mac80211_hwsim.c              |  13 +
 drivers/net/wireless/ray_cs.c                      |   6 +
 drivers/net/xen-netback/xenbus.c                   |  12 +-
 drivers/net/xen-netfront.c                         |  54 +-
 drivers/nfc/port100.c                              |   2 +
 drivers/nfc/st21nfca/se.c                          |  10 +
 drivers/pci/hotplug/pciehp_hpc.c                   |   2 +
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c      |   2 +
 drivers/pinctrl/nomadik/pinctrl-nomadik.c          |   4 +-
 drivers/pinctrl/pinconf-generic.c                  |   6 +-
 drivers/pinctrl/pinctrl-rockchip.c                 |   2 +
 drivers/platform/x86/samsung-laptop.c              |   2 -
 drivers/power/supply/ab8500_fg.c                   |   4 +-
 drivers/power/supply/wm8350_power.c                |  97 ++-
 drivers/ptp/ptp_sysfs.c                            |   4 +-
 drivers/pwm/pwm-lpc18xx-sct.c                      |  20 +-
 drivers/remoteproc/qcom_wcnss.c                    |   1 +
 drivers/rtc/rtc-wm8350.c                           |  11 +-
 drivers/scsi/aha152x.c                             |   6 +-
 drivers/scsi/bfa/bfad_attr.c                       |  26 +-
 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c           |   2 +-
 drivers/scsi/libfc/fc_exch.c                       |   1 +
 drivers/scsi/libsas/sas_ata.c                      |   2 +-
 drivers/scsi/mvsas/mv_init.c                       |   5 +-
 drivers/scsi/pm8001/pm8001_hwi.c                   |  13 +-
 drivers/scsi/pm8001/pm80xx_hwi.c                   |  11 +-
 drivers/scsi/qla2xxx/qla_isr.c                     |   1 +
 drivers/scsi/xen-scsifront.c                       |   3 +-
 drivers/scsi/zorro7xx.c                            |   2 +
 drivers/soc/fsl/qe/qe_io.c                         |   2 +
 drivers/soc/ti/wkup_m3_ipc.c                       |   4 +-
 drivers/spi/spi-tegra114.c                         |   4 +
 drivers/spi/spi-tegra20-slink.c                    |   8 +-
 drivers/staging/fbtft/fb_st7789v.c                 |   2 +
 drivers/staging/gdm724x/gdm_lte.c                  |   5 +-
 drivers/thermal/int340x_thermal/int3400_thermal.c  |   2 +-
 drivers/tty/hvc/hvc_iucv.c                         |   4 +-
 drivers/tty/mxser.c                                |  15 +-
 drivers/tty/n_gsm.c                                |   4 +-
 drivers/tty/serial/8250/8250_of.c                  |  30 +-
 drivers/tty/serial/kgdboc.c                        |   6 +-
 drivers/tty/serial/samsung.c                       |   5 +-
 drivers/usb/dwc3/dwc3-omap.c                       |   2 +-
 drivers/usb/dwc3/gadget.c                          |   2 +
 drivers/usb/gadget/function/rndis.c                |   9 +
 drivers/usb/gadget/function/rndis.h                |   1 +
 drivers/usb/gadget/legacy/inode.c                  |  10 +-
 drivers/usb/gadget/udc/core.c                      |   3 -
 drivers/usb/gadget/udc/udc-xilinx.c                |   6 +
 drivers/usb/host/xhci.c                            |   9 +-
 drivers/usb/serial/Kconfig                         |   1 +
 drivers/usb/serial/ch341.c                         |   1 -
 drivers/usb/serial/option.c                        |  12 +
 drivers/usb/serial/pl2303.c                        |   1 +
 drivers/usb/serial/pl2303.h                        |   3 +
 drivers/usb/serial/usb-serial-simple.c             |   7 +
 drivers/usb/storage/ene_ub6250.c                   | 155 ++--
 drivers/usb/storage/realtek_cr.c                   |   2 +-
 drivers/vhost/vsock.c                              |  21 +-
 drivers/video/fbdev/atafb.c                        |  12 +-
 drivers/video/fbdev/cirrusfb.c                     |  16 +-
 drivers/video/fbdev/core/fbcvt.c                   |  53 +-
 drivers/video/fbdev/nvidia/nv_i2c.c                |   2 +-
 .../fbdev/omap2/omapfb/displays/connector-dvi.c    |   1 +
 .../fbdev/omap2/omapfb/displays/panel-dsi-cm.c     |   8 +-
 .../omap2/omapfb/displays/panel-sony-acx565akm.c   |   2 +-
 .../omap2/omapfb/displays/panel-tpo-td043mtea1.c   |   4 +-
 drivers/video/fbdev/sm712fb.c                      |  46 +-
 drivers/video/fbdev/smscufx.c                      |   3 +-
 drivers/video/fbdev/w100fb.c                       |  15 +-
 drivers/w1/slaves/w1_therm.c                       |   8 +-
 drivers/xen/gntalloc.c                             |  25 +-
 drivers/xen/grant-table.c                          |  59 +-
 drivers/xen/xenbus/xenbus_client.c                 |  24 +-
 fs/btrfs/extent-tree.c                             |   1 +
 fs/cifs/cifsfs.c                                   |   3 +-
 fs/cifs/link.c                                     |   3 +
 fs/configfs/dir.c                                  |  14 +
 fs/ext2/super.c                                    |   6 +-
 fs/ext4/inode.c                                    |  36 +-
 fs/ext4/super.c                                    |  19 +-
 fs/file.c                                          |  73 +-
 fs/gfs2/rgrp.c                                     |  12 +-
 fs/jffs2/build.c                                   |   4 +-
 fs/jffs2/fs.c                                      |   2 +-
 fs/jffs2/scan.c                                    |   6 +-
 fs/jfs/inode.c                                     |   3 +-
 fs/jfs/jfs_dmap.c                                  |   7 +
 fs/nfs/callback_xdr.c                              |   4 -
 fs/nfsd/nfsproc.c                                  |   2 +-
 fs/nfsd/xdr.h                                      |   2 +-
 fs/ntfs/inode.c                                    |   4 +
 fs/sysfs/file.c                                    |   3 +-
 fs/tracefs/inode.c                                 |   5 +-
 fs/ubifs/dir.c                                     |   2 +
 fs/ubifs/ioctl.c                                   |   2 +-
 include/linux/arm-smccc.h                          |  81 +++
 include/linux/blkdev.h                             |   8 +
 include/linux/bpf.h                                |  11 +
 include/linux/compiler-gcc.h                       |   2 +-
 include/linux/etherdevice.h                        |   5 +-
 include/linux/mlx5/mlx5_ifc.h                      |   4 +-
 include/linux/module.h                             |   2 +-
 include/linux/netdevice.h                          |   6 +-
 include/net/checksum.h                             |   5 +
 include/net/netfilter/nf_queue.h                   |   2 +-
 include/net/xfrm.h                                 |   9 +-
 include/uapi/linux/input-event-codes.h             |   3 +-
 include/xen/grant_table.h                          |  19 +-
 init/main.c                                        |   6 +-
 kernel/events/core.c                               |   3 +
 kernel/power/hibernate.c                           |   2 +-
 kernel/power/suspend_test.c                        |   8 +-
 kernel/printk/printk.c                             |   6 +-
 kernel/ptrace.c                                    |  47 +-
 kernel/sched/debug.c                               |  10 -
 kernel/smp.c                                       |   2 +-
 kernel/sysctl.c                                    |   8 +
 kernel/trace/trace.c                               |  10 +-
 lib/Kconfig                                        |   1 -
 lib/raid6/test/test.c                              |   1 -
 localversion-rt                                    |   2 +-
 mm/kmemleak.c                                      |   8 +-
 mm/memblock.c                                      |  10 +-
 mm/memcontrol.c                                    |   2 +-
 mm/memory.c                                        |  24 +-
 mm/mempolicy.c                                     |   9 +-
 mm/mmap.c                                          |   2 +-
 mm/mremap.c                                        |   3 +
 mm/page_alloc.c                                    |  13 +-
 mm/rmap.c                                          |  35 +-
 mm/shmem.c                                         |   7 +-
 net/ax25/af_ax25.c                                 |   7 +
 net/batman-adv/hard-interface.c                    |  13 +-
 net/bluetooth/hci_event.c                          |   3 +-
 net/core/net-sysfs.c                               |   2 +-
 net/core/skbuff.c                                  |   4 +-
 net/dcb/dcbnl.c                                    |  44 ++
 net/ipv4/af_inet.c                                 |   5 +-
 net/ipv4/tcp.c                                     |  10 +-
 net/ipv6/ip6_offload.c                             |   2 +
 net/ipv6/ip6_output.c                              |  11 +-
 net/key/af_key.c                                   |   6 +-
 net/llc/af_llc.c                                   |  49 +-
 net/mac80211/cfg.c                                 |   3 -
 net/mac80211/rx.c                                  |   4 +-
 net/netfilter/nf_conntrack_proto_tcp.c             |  17 +-
 net/netfilter/nf_queue.c                           |  23 +-
 net/netfilter/nf_tables_core.c                     |   2 +-
 net/netfilter/nfnetlink_queue.c                    |  12 +-
 net/netlink/af_netlink.c                           |   9 +
 net/nfc/nci/core.c                                 |   4 +
 net/openvswitch/actions.c                          |  46 +-
 net/openvswitch/flow_netlink.c                     |   6 +-
 net/packet/af_packet.c                             |  24 +-
 net/sctp/sctp_diag.c                               |   9 +-
 net/sunrpc/sched.c                                 |   4 +-
 net/sunrpc/xprt.c                                  |   7 +
 net/sunrpc/xprtrdma/transport.c                    |   4 +-
 net/wireless/nl80211.c                             |   3 +-
 net/x25/af_x25.c                                   |  11 +-
 net/xfrm/xfrm_policy.c                             |  24 +-
 net/xfrm/xfrm_state.c                              |   8 +-
 net/xfrm/xfrm_user.c                               |  14 +-
 scripts/gcc-plugins/latent_entropy_plugin.c        |  44 +-
 scripts/mod/modpost.c                              |   2 +-
 security/selinux/xfrm.c                            |   2 +-
 security/smack/smack_lsm.c                         |   2 +-
 security/tomoyo/load_policy.c                      |   4 +-
 sound/core/pcm_misc.c                              |   2 +-
 sound/core/pcm_native.c                            |   4 +
 sound/firewire/fcp.c                               |   4 +-
 sound/isa/cs423x/cs4236.c                          |   8 +-
 sound/pci/ac97/ac97_codec.c                        |   4 +-
 sound/pci/cmipci.c                                 |   3 +-
 sound/soc/atmel/atmel_ssc_dai.c                    |   5 +-
 sound/soc/atmel/sam9g20_wm8731.c                   |   1 +
 sound/soc/codecs/wm8350.c                          |  28 +-
 sound/soc/davinci/davinci-i2s.c                    |   5 +-
 sound/soc/fsl/imx-es8328.c                         |   1 +
 sound/soc/mxs/mxs-saif.c                           |   5 +-
 sound/soc/mxs/mxs-sgtl5000.c                       |   3 +
 sound/soc/sh/fsi.c                                 |  19 +-
 sound/soc/soc-core.c                               |   2 +-
 sound/soc/soc-dapm.c                               |   6 +-
 sound/soc/soc-generic-dmaengine-pcm.c              |   6 +-
 sound/soc/soc-ops.c                                |   4 +-
 sound/soc/soc-topology.c                           |   3 +-
 sound/spi/at73c213.c                               |  27 +-
 sound/usb/midi.c                                   |   1 +
 sound/usb/mixer_quirks.c                           |   7 +-
 sound/usb/usbaudio.h                               |   2 +-
 tools/arch/x86/include/asm/cpufeatures.h           |   2 +-
 tools/build/feature/Makefile                       |   2 +-
 tools/testing/selftests/memfd/memfd_test.c         |   1 +
 tools/testing/selftests/vm/userfaultfd.c           |   1 +
 tools/testing/selftests/x86/check_cc.sh            |   2 +-
 virt/kvm/kvm_main.c                                |  13 +
 405 files changed, 5390 insertions(+), 1604 deletions(-)

---

Documentation/arm64/silicon-errata.txt +1 -0
index ac9489fad31b..47df2c25302a 100644
@@ -55,6 +55,7 @@ stable kernels.
 | ARM            | Cortex-A57      | #834220         | ARM64_ERRATUM_834220        |
 | ARM            | Cortex-A72      | #853709         | N/A                         |
 | ARM            | Cortex-A55      | #1024718        | ARM64_ERRATUM_1024718       |
+| ARM            | Cortex-A76      | #1188873        | ARM64_ERRATUM_1188873       |
 | ARM            | MMU-500         | #841119,#826419 | N/A                         |
 |                |                 |                 |                             |
 | Cavium         | ThunderX ITS    | #22375, #24313  | CAVIUM_ERRATUM_22375        |
Documentation/hw-vuln/index.rst +1 -0
index b5fbc6ae9d5f..74466ba80167 100644
@@ -9,6 +9,7 @@ are configurable at compile, boot or run time.
 .. toctree::
    :maxdepth: 1
 
+   spectre
    l1tf
    mds
    tsx_async_abort
Documentation/hw-vuln/spectre.rst new file +785 -0

785 lines not on this page · raw message

Documentation/kernel-parameters.txt +6 -11
index 713765521c45..f2b10986ab88 100644
@@ -751,15 +751,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 			loops can be debugged more effectively on production
 			systems.
 
-	clocksource.arm_arch_timer.fsl-a008585=
-			[ARM64]
-			Format: <bool>
-			Enable/disable the workaround of Freescale/NXP
-			erratum A-008585.  This can be useful for KVM
-			guests, if the guest device tree doesn't show the
-			erratum.  If unspecified, the workaround is
-			enabled based on the device tree.
-
 	clearcpuid=BITNUM [X86]
 			Disable CPUID feature X for the kernel. See
 			arch/x86/include/asm/cpufeatures.h for the valid bit
@@ -4174,8 +4165,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 			Specific mitigations can also be selected manually:
 
 			retpoline	  - replace indirect branches
-			retpoline,generic - google's original retpoline
-			retpoline,amd     - AMD-specific minimal thunk
+			retpoline,generic - Retpolines
+			retpoline,lfence  - LFENCE; indirect branch
+			retpoline,amd     - alias for retpoline,lfence
+			eibrs		  - enhanced IBRS
+			eibrs,retpoline   - enhanced IBRS + Retpolines
+			eibrs,lfence      - enhanced IBRS + LFENCE
 
 			Not specifying this option is equivalent to
 			spectre_v2=auto.
Makefile +1 -1
index 27d5e129444e..a9f16c9c9614 100644
@@ -1,6 +1,6 @@
 VERSION = 4
 PATCHLEVEL = 9
-SUBLEVEL = 303
+SUBLEVEL = 312
 EXTRAVERSION =
 NAME = Roaring Lionus
 
arch/arc/kernel/entry.S +1 -0
index 37ad245cf989..fb458623f386 100644
@@ -191,6 +191,7 @@ tracesys_exit:
 	st  r0, [sp, PT_r0]     ; sys call return value in pt_regs
 
 	;POST Sys Call Ptrace Hook
+	mov r0, sp		; pt_regs needed
 	bl  @syscall_trace_exit
 	b   ret_from_exception ; NOT ret_from_system_call at is saves r0 which
 	; we'd done before calling post hook above
arch/arm/boot/dts/exynos5250-pinctrl.dtsi +1 -1
index 2f6ab32b5954..7bb09532840f 100644
@@ -257,7 +257,7 @@
 	};
 
 	uart3_data: uart3-data {
-		samsung,pins = "gpa1-4", "gpa1-4";
+		samsung,pins = "gpa1-4", "gpa1-5";
 		samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
 		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
 		samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
arch/arm/boot/dts/exynos5250-smdk5250.dts +3 -0
index f0906d67a107..54e79f6887ff 100644
@@ -118,6 +118,9 @@
 
 &hdmi {
 	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
+	vdd-supply = <&ldo8_reg>;
+	vdd_osc-supply = <&ldo10_reg>;
+	vdd_pll-supply = <&ldo8_reg>;
 };
 
 &i2c_0 {
arch/arm/boot/dts/exynos5420-smdk5420.dts +3 -0
index aaccd0da41e5..5ab719cf69dd 100644
@@ -134,6 +134,9 @@
 	hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&hdmi_hpd_irq>;
+	vdd-supply = <&ldo6_reg>;
+	vdd_osc-supply = <&ldo7_reg>;
+	vdd_pll-supply = <&ldo6_reg>;
 };
 
 &hsi2c_4 {
arch/arm/boot/dts/qcom-ipq4019.dtsi +2 -1
index 5ee84e3cb3e9..1fd63f485d3b 100644
@@ -93,7 +93,8 @@
 	clocks {
 		sleep_clk: sleep_clk {
 			compatible = "fixed-clock";
-			clock-frequency = <32768>;
+			clock-frequency = <32000>;
+			clock-output-names = "gcc_sleep_clk_src";
 			#clock-cells = <0>;
 		};
 	};
arch/arm/boot/dts/qcom-msm8960.dtsi +5 -3
index 288f56e0ccf5..819d0f085f8c 100644
@@ -139,7 +139,9 @@
 			reg		= <0x108000 0x1000>;
 			qcom,ipc	= <&l2cc 0x8 2>;
 
-			interrupts	= <0 19 0>, <0 21 0>, <0 22 0>;
+			interrupts	= <GIC_SPI 19 IRQ_TYPE_EDGE_RISING>,
+					  <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
+					  <GIC_SPI 22 IRQ_TYPE_EDGE_RISING>;
 			interrupt-names	= "ack", "err", "wakeup";
 
 			regulators {
@@ -185,7 +187,7 @@
 				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
 				reg = <0x16440000 0x1000>,
 				      <0x16400000 0x1000>;
-				interrupts = <0 154 0x0>;
+				interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
 				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
 				clock-names = "core", "iface";
 				status = "disabled";
@@ -311,7 +313,7 @@
 				#address-cells = <1>;
 				#size-cells = <0>;
 				reg = <0x16080000 0x1000>;
-				interrupts = <0 147 0>;
+				interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
 				spi-max-frequency = <24000000>;
 				cs-gpios = <&msmgpio 8 0>;
 
arch/arm/boot/dts/rk3288.dtsi +1 -1
index 7b727d738b69..4702aa980ef8 100644
@@ -918,7 +918,7 @@
 		status = "disabled";
 	};
 
-	crypto: cypto-controller@ff8a0000 {
+	crypto: crypto@ff8a0000 {
 		compatible = "rockchip,rk3288-crypto";
 		reg = <0xff8a0000 0x4000>;
 		interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>;
arch/arm/boot/dts/spear1340.dtsi +3 -3
index 6361cbfcbe5e..ece38b8c450d 100644
@@ -141,9 +141,9 @@
 				reg = <0xb4100000 0x1000>;
 				interrupts = <0 105 0x4>;
 				status = "disabled";
-				dmas = <&dwdma0 12 0 1>,
-					<&dwdma0 13 1 0>;
-				dma-names = "tx", "rx";
+				dmas = <&dwdma0 13 0 1>,
+					<&dwdma0 12 1 0>;
+				dma-names = "rx", "tx";
 			};
 
 			thermal@e07008c4 {
arch/arm/boot/dts/spear13xx.dtsi +3 -3
index 9564337c1815..45f5bd8d30f0 100644
@@ -288,9 +288,9 @@
 				#size-cells = <0>;
 				interrupts = <0 31 0x4>;
 				status = "disabled";
-				dmas = <&dwdma0 4 0 0>,
-					<&dwdma0 5 0 0>;
-				dma-names = "tx", "rx";
+				dmas = <&dwdma0 5 0 0>,
+					<&dwdma0 4 0 0>;
+				dma-names = "rx", "tx";
 			};
 
 			rtc@e0580000 {
arch/arm/boot/dts/tegra20-tamonten.dtsi +3 -3
index a613e3b85b45..29769bf7a11a 100644
@@ -182,8 +182,8 @@
 			};
 			conf_ata {
 				nvidia,pins = "ata", "atb", "atc", "atd", "ate",
-					"cdev1", "cdev2", "dap1", "dtb", "gma",
-					"gmb", "gmc", "gmd", "gme", "gpu7",
+					"cdev1", "cdev2", "dap1", "dtb", "dtf",
+					"gma", "gmb", "gmc", "gmd", "gme", "gpu7",
 					"gpv", "i2cp", "irrx", "irtx", "pta",
 					"rm", "slxa", "slxk", "spia", "spib",
 					"uac";
@@ -202,7 +202,7 @@
 			};
 			conf_crtp {
 				nvidia,pins = "crtp", "dap2", "dap3", "dap4",
-					"dtc", "dte", "dtf", "gpu", "sdio1",
+					"dtc", "dte", "gpu", "sdio1",
 					"slxc", "slxd", "spdi", "spdo", "spig",
 					"uda";
 				nvidia,pull = <TEGRA_PIN_PULL_NONE>;
arch/arm/include/asm/assembler.h +10 -0
index 7d727506096f..2fa3fd30a9d6 100644
@@ -108,6 +108,16 @@
 	.endm
 #endif
 
+#if __LINUX_ARM_ARCH__ < 7
+	.macro	dsb, args
+	mcr	p15, 0, r0, c7, c10, 4
+	.endm
+
+	.macro	isb, args
+	mcr	p15, 0, r0, c7, c5, 4
+	.endm
+#endif
+
 	.macro asm_trace_hardirqs_off, save=1
 #if defined(CONFIG_TRACE_IRQFLAGS)
 	.if \save
arch/arm/include/asm/kvm_host.h +5 -0
index 2fda7e905754..82c71a147f21 100644
@@ -349,4 +349,9 @@ static inline int kvm_arm_have_ssbd(void)
 	return KVM_SSBD_UNKNOWN;
 }
 
+static inline bool kvm_arm_spectre_bhb_mitigated(void)
+{
+	/* 32bit guests don't need firmware for this */
+	return false;
+}
 #endif /* __ARM_KVM_HOST_H__ */
arch/arm/include/asm/spectre.h new file +38 -0
new file mode 100644
index 000000000000..85f9e538fb32
@@ -0,0 +1,38 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __ASM_SPECTRE_H
+#define __ASM_SPECTRE_H
+
+enum {
+	SPECTRE_UNAFFECTED,
+	SPECTRE_MITIGATED,
+	SPECTRE_VULNERABLE,
+};
+
+enum {
+	__SPECTRE_V2_METHOD_BPIALL,
+	__SPECTRE_V2_METHOD_ICIALLU,
+	__SPECTRE_V2_METHOD_SMC,
+	__SPECTRE_V2_METHOD_HVC,
+	__SPECTRE_V2_METHOD_LOOP8,
+};
+
+enum {
+	SPECTRE_V2_METHOD_BPIALL = BIT(__SPECTRE_V2_METHOD_BPIALL),
+	SPECTRE_V2_METHOD_ICIALLU = BIT(__SPECTRE_V2_METHOD_ICIALLU),
+	SPECTRE_V2_METHOD_SMC = BIT(__SPECTRE_V2_METHOD_SMC),
+	SPECTRE_V2_METHOD_HVC = BIT(__SPECTRE_V2_METHOD_HVC),
+	SPECTRE_V2_METHOD_LOOP8 = BIT(__SPECTRE_V2_METHOD_LOOP8),
+};
+
+#ifdef CONFIG_GENERIC_CPU_VULNERABILITIES
+void spectre_v2_update_state(unsigned int state, unsigned int methods);
+#else
+static inline void spectre_v2_update_state(unsigned int state,
+					   unsigned int methods)
+{}
+#endif
+
+int spectre_bhb_update_vectors(unsigned int method);
+
+#endif
arch/arm/kernel/Makefile +2 -0
index 9bddd762880c..1738d5b61eaa 100644
@@ -100,4 +100,6 @@ endif
 
 obj-$(CONFIG_HAVE_ARM_SMCCC)	+= smccc-call.o
 
+obj-$(CONFIG_GENERIC_CPU_VULNERABILITIES) += spectre.o
+
 extra-y := $(head-y) vmlinux.lds
arch/arm/kernel/entry-armv.S +73 -6

111 lines not on this page · raw message

arch/arm/kernel/entry-common.S +24 -0
index 97a93bd9e63d..8799dae53f74 100644
@@ -147,6 +147,29 @@ ENDPROC(ret_from_fork)
  *-----------------------------------------------------------------------------
  */
 
+	.align	5
+#ifdef CONFIG_HARDEN_BRANCH_HISTORY
+ENTRY(vector_bhb_loop8_swi)
+	sub	sp, sp, #PT_REGS_SIZE
+	stmia	sp, {r0 - r12}
+	mov	r8, #8
+1:	b	2f
+2:	subs	r8, r8, #1
+	bne	1b
+	dsb
+	isb
+	b	3f
+ENDPROC(vector_bhb_loop8_swi)
+
+	.align	5
+ENTRY(vector_bhb_bpiall_swi)
+	sub	sp, sp, #PT_REGS_SIZE
+	stmia	sp, {r0 - r12}
+	mcr	p15, 0, r8, c7, c5, 6	@ BPIALL
+	isb
+	b	3f
+ENDPROC(vector_bhb_bpiall_swi)
+#endif
 	.align	5
 ENTRY(vector_swi)
 #ifdef CONFIG_CPU_V7M
@@ -154,6 +177,7 @@ ENTRY(vector_swi)
 #else
 	sub	sp, sp, #PT_REGS_SIZE
 	stmia	sp, {r0 - r12}			@ Calling r0 - r12
+3:
  ARM(	add	r8, sp, #S_PC		)
  ARM(	stmdb	r8, {sp, lr}^		)	@ Calling sp, lr
  THUMB(	mov	r8, sp			)
arch/arm/kernel/spectre.c new file +71 -0

71 lines not on this page · raw message

arch/arm/kernel/traps.c +59 -6

92 lines not on this page · raw message

arch/arm/kernel/vmlinux-xip.lds.S +35 -10

60 lines not on this page · raw message

arch/arm/kernel/vmlinux.lds.S +35 -10

60 lines not on this page · raw message

arch/arm/kvm/psci.c +4 -0
index 83365bec04b6..a262c175456d 100644
@@ -431,6 +431,10 @@ int kvm_hvc_call_handler(struct kvm_vcpu *vcpu)
 				break;
 			}
 			break;
+		case ARM_SMCCC_ARCH_WORKAROUND_3:
+			if (kvm_arm_spectre_bhb_mitigated())
+				val = SMCCC_RET_SUCCESS;
+			break;
 		}
 		break;
 	default:
arch/arm/mach-davinci/board-da850-evm.c +3 -1
index 3bdf0d588238..5deafd26c709 100644
@@ -1043,11 +1043,13 @@ static int __init da850_evm_config_emac(void)
 	int ret;
 	u32 val;
 	struct davinci_soc_info *soc_info = &davinci_soc_info;
-	u8 rmii_en = soc_info->emac_pdata->rmii_en;
+	u8 rmii_en;
 
 	if (!machine_is_davinci_da850_evm())
 		return 0;
 
+	rmii_en = soc_info->emac_pdata->rmii_en;
+
 	cfg_chip3_base = DA8XX_SYSCFG0_VIRT(DA8XX_CFGCHIP3_REG);
 
 	val = __raw_readl(cfg_chip3_base);
arch/arm/mach-mmp/sram.c +12 -10
index bf5e64906e65..a41162dc4af4 100644
@@ -75,6 +75,8 @@ static int sram_probe(struct platform_device *pdev)
 	if (!info)
 		return -ENOMEM;
 
+	platform_set_drvdata(pdev, info);
+
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
 	if (res == NULL) {
 		dev_err(&pdev->dev, "no memory resource defined\n");
@@ -110,8 +112,6 @@ static int sram_probe(struct platform_device *pdev)
 	list_add(&info->node, &sram_bank_list);
 	mutex_unlock(&sram_lock);
 
-	platform_set_drvdata(pdev, info);
-
 	dev_info(&pdev->dev, "initialized\n");
 	return 0;
 
@@ -130,17 +130,19 @@ static int sram_remove(struct platform_device *pdev)
 	struct sram_bank_info *info;
 
 	info = platform_get_drvdata(pdev);
-	if (info == NULL)
-		return -ENODEV;
 
-	mutex_lock(&sram_lock);
-	list_del(&info->node);
-	mutex_unlock(&sram_lock);
+	if (info->sram_size) {
+		mutex_lock(&sram_lock);
+		list_del(&info->node);
+		mutex_unlock(&sram_lock);
+
+		gen_pool_destroy(info->gpool);
+		iounmap(info->sram_virt);
+		kfree(info->pool_name);
+	}
 
-	gen_pool_destroy(info->gpool);
-	iounmap(info->sram_virt);
-	kfree(info->pool_name);
 	kfree(info);
+
 	return 0;
 }
 
arch/arm/mach-s3c24xx/mach-jive.c +3 -3
index 7d99fe8f6157..5d43733ee7d6 100644
@@ -240,11 +240,11 @@ static int __init jive_mtdset(char *options)
 	unsigned long set;
 
 	if (options == NULL || options[0] == '\0')
-		return 0;
+		return 1;
 
 	if (kstrtoul(options, 10, &set)) {
 		printk(KERN_ERR "failed to parse mtdset=%s\n", options);
-		return 0;
+		return 1;
 	}
 
 	switch (set) {
@@ -259,7 +259,7 @@ static int __init jive_mtdset(char *options)
 		       "using default.", set);
 	}
 
-	return 0;
+	return 1;
 }
 
 /* parse the mtdset= option given to the kernel command line */
arch/arm/mach-vexpress/spc.c +1 -1
index 635b0d549487..c16f39614003 100644
@@ -584,7 +584,7 @@ static int __init ve_spc_clk_init(void)
 		}
 
 		cluster = topology_physical_package_id(cpu_dev->id);
-		if (init_opp_table[cluster])
+		if (cluster < 0 || init_opp_table[cluster])
 			continue;
 
 		if (ve_init_opp_table(cpu_dev))
arch/arm/mm/Kconfig +11 -0
index 93623627a0b6..5c98074010d2 100644
@@ -803,6 +803,7 @@ config CPU_BPREDICT_DISABLE
 
 config CPU_SPECTRE
 	bool
+	select GENERIC_CPU_VULNERABILITIES
 
 config HARDEN_BRANCH_PREDICTOR
 	bool "Harden the branch predictor against aliasing attacks" if EXPERT
@@ -823,6 +824,16 @@ config HARDEN_BRANCH_PREDICTOR
 
 	   If unsure, say Y.
 
+config HARDEN_BRANCH_HISTORY
+	bool "Harden Spectre style attacks against branch history" if EXPERT
+	depends on CPU_SPECTRE
+	default y
+	help
+	  Speculation attacks against some high-performance processors can
+	  make use of branch history to influence future speculation. When
+	  taking an exception, a sequence of branches overwrites the branch
+	  history, or branch history is invalidated.
+
 config TLS_REG_EMUL
 	bool
 	select NEED_KUSER_HELPERS
arch/arm/mm/mmu.c +2 -0
index 7edc6c3f4bd9..a99e7ebcd004 100644
@@ -228,12 +228,14 @@ early_param("ecc", early_ecc);
 static int __init early_cachepolicy(char *p)
 {
 	pr_warn("cachepolicy kernel parameter not supported without cp15\n");
+	return 0;
 }
 early_param("cachepolicy", early_cachepolicy);
 
 static int __init noalign_setup(char *__unused)
 {
 	pr_warn("noalign kernel parameter not supported without cp15\n");
+	return 1;
 }
 __setup("noalign", noalign_setup);
 
arch/arm/mm/proc-v7-bugs.c +172 -27

277 lines not on this page · raw message

arch/arm64/Kconfig +24 -0
index a478cfbd400b..fa4a8fe0c935 100644
@@ -442,6 +442,20 @@ config ARM64_ERRATUM_1024718
 
 	  If unsure, say Y.
 
+config ARM64_ERRATUM_1188873
+	bool "Cortex-A76: MRC read following MRRC read of specific Generic Timer in AArch32 might give incorrect result"
+	default y
+	depends on COMPAT
+	select ARM_ARCH_TIMER_OOL_WORKAROUND
+	help
+	  This option adds work arounds for ARM Cortex-A76 erratum 1188873
+
+	  Affected Cortex-A76 cores (r0p0, r1p0, r2p0) could cause
+	  register corruption when accessing the timer registers from
+	  AArch32 userspace.
+
+	  If unsure, say Y.
+
 config CAVIUM_ERRATUM_22375
 	bool "Cavium erratum 22375, 24313"
 	default y
@@ -786,6 +800,16 @@ config ARM64_SSBD
 
 	  If unsure, say Y.
 
+config MITIGATE_SPECTRE_BRANCH_HISTORY
+	bool "Mitigate Spectre style attacks against branch history" if EXPERT
+	default y
+	depends on HARDEN_BRANCH_PREDICTOR || !KVM
+	help
+	  Speculation attacks against some high-performance processors can
+	  make use of branch history to influence future speculation.
+	  When taking an exception from user-space, a sequence of branches
+	  or a firmware call overwrites the branch history.
+
 menuconfig ARMV8_DEPRECATED
 	bool "Emulate deprecated/obsolete ARMv8 instructions"
 	depends on COMPAT
arch/arm64/boot/dts/broadcom/bcm2837.dtsi +49 -0

79 lines not on this page · raw message

arch/arm64/boot/dts/broadcom/ns2-svk.dts +4 -4
index b09f3bc5c6c1..58114b842a59 100644
@@ -103,8 +103,8 @@
 		compatible = "silabs,si3226x";
 		reg = <0>;
 		spi-max-frequency = <5000000>;
-		spi-cpha = <1>;
-		spi-cpol = <1>;
+		spi-cpha;
+		spi-cpol;
 		pl022,hierarchy = <0>;
 		pl022,interface = <0>;
 		pl022,slave-tx-disable = <0>;
@@ -127,8 +127,8 @@
 		at25,byte-len = <0x8000>;
 		at25,addr-mode = <2>;
 		at25,page-size = <64>;
-		spi-cpha = <1>;
-		spi-cpol = <1>;
+		spi-cpha;
+		spi-cpol;
 		pl022,hierarchy = <0>;
 		pl022,interface = <0>;
 		pl022,slave-tx-disable = <0>;
arch/arm64/boot/dts/broadcom/ns2.dtsi +1 -1
index 8a94ec8035d3..83c1718dac29 100644
@@ -514,7 +514,7 @@
 			};
 		};
 
-		sata: ahci@663f2000 {
+		sata: sata@663f2000 {
 			compatible = "brcm,iproc-ahci", "generic-ahci";
 			reg = <0x663f2000 0x1000>;
 			reg-names = "ahci";
arch/arm64/include/asm/arch_timer.h +19 -25

60 lines not on this page · raw message

arch/arm64/include/asm/assembler.h +34 -0
index 3f85bbcd7e40..a6aaeb871d5f 100644
@@ -94,6 +94,13 @@
 	hint	#20
 	.endm
 
+/*
+ * Clear Branch History instruction
+ */
+	.macro clearbhb
+	hint	#22
+	.endm
+
 /*
  * Sanitise a 64-bit bounded index wrt speculation, returning zero if out
  * of bounds.
@@ -494,4 +501,31 @@ alternative_endif
 .Ldone\@:
 	.endm
 
+	.macro __mitigate_spectre_bhb_loop      tmp
+#ifdef CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY
+alternative_cb  spectre_bhb_patch_loop_iter
+	mov	\tmp, #32		// Patched to correct the immediate
+alternative_cb_end
+.Lspectre_bhb_loop\@:
+	b	. + 4
+	subs	\tmp, \tmp, #1
+	b.ne	.Lspectre_bhb_loop\@
+	dsb	nsh
+	isb
+#endif /* CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY */
+	.endm
+
+	/* Save/restores x0-x3 to the stack */
+	.macro __mitigate_spectre_bhb_fw
+#ifdef CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY
+	stp	x0, x1, [sp, #-16]!
+	stp	x2, x3, [sp, #-16]!
+	mov	w0, #ARM_SMCCC_ARCH_WORKAROUND_3
+alternative_cb	arm64_update_smccc_conduit
+	nop					// Patched to SMC/HVC #0
+alternative_cb_end
+	ldp	x2, x3, [sp], #16
+	ldp	x0, x1, [sp], #16
+#endif /* CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY */
+	.endm
 #endif	/* __ASM_ASSEMBLER_H */
arch/arm64/include/asm/cpu.h +1 -0
index 889226b4c6e1..c7f17e663e72 100644
@@ -36,6 +36,7 @@ struct cpuinfo_arm64 {
 	u64		reg_id_aa64dfr1;
 	u64		reg_id_aa64isar0;
 	u64		reg_id_aa64isar1;
+	u64		reg_id_aa64isar2;
 	u64		reg_id_aa64mmfr0;
 	u64		reg_id_aa64mmfr1;
 	u64		reg_id_aa64mmfr2;
arch/arm64/include/asm/cpucaps.h +3 -1
index 8c7c4b23a8b1..9935e55a3cc7 100644
@@ -38,7 +38,9 @@
 #define ARM64_HARDEN_BRANCH_PREDICTOR		17
 #define ARM64_SSBD				18
 #define ARM64_MISMATCHED_CACHE_TYPE		19
+#define ARM64_WORKAROUND_1188873		20
+#define ARM64_SPECTRE_BHB			21
 
-#define ARM64_NCAPS				20
+#define ARM64_NCAPS				22
 
 #endif /* __ASM_CPUCAPS_H */
arch/arm64/include/asm/cpufeature.h +216 -16

279 lines not on this page · raw message

arch/arm64/include/asm/cputype.h +63 -0

81 lines not on this page · raw message

arch/arm64/include/asm/fixmap.h +4 -2
index d8e58051f32d..4ffe0d698fa7 100644
@@ -53,9 +53,11 @@ enum fixed_addresses {
 	FIX_TEXT_POKE0,
 
 #ifdef CONFIG_UNMAP_KERNEL_AT_EL0
+	FIX_ENTRY_TRAMP_TEXT3,
+	FIX_ENTRY_TRAMP_TEXT2,
+	FIX_ENTRY_TRAMP_TEXT1,
 	FIX_ENTRY_TRAMP_DATA,
-	FIX_ENTRY_TRAMP_TEXT,
-#define TRAMP_VALIAS		(__fix_to_virt(FIX_ENTRY_TRAMP_TEXT))
+#define TRAMP_VALIAS		(__fix_to_virt(FIX_ENTRY_TRAMP_TEXT1))
 #endif /* CONFIG_UNMAP_KERNEL_AT_EL0 */
 	__end_of_permanent_fixed_addresses,
 
arch/arm64/include/asm/insn.h +2 -0
index bc853663dd51..aecc07e09a18 100644
@@ -332,6 +332,8 @@ bool aarch64_insn_is_branch(u32 insn);
 u64 aarch64_insn_decode_immediate(enum aarch64_insn_imm_type type, u32 insn);
 u32 aarch64_insn_encode_immediate(enum aarch64_insn_imm_type type,
 				  u32 insn, u64 imm);
+u32 aarch64_insn_decode_register(enum aarch64_insn_register_type type,
+					 u32 insn);
 u32 aarch64_insn_gen_branch_imm(unsigned long pc, unsigned long addr,
 				enum aarch64_insn_branch_type type);
 u32 aarch64_insn_gen_comp_branch_imm(unsigned long pc, unsigned long addr,
arch/arm64/include/asm/kvm_host.h +4 -0
index a152a7bbc85a..a75f02e5f0fd 100644
@@ -452,4 +452,8 @@ static inline int kvm_arm_have_ssbd(void)
 	}
 }
 
+static inline bool kvm_arm_spectre_bhb_mitigated(void)
+{
+	return arm64_get_spectre_bhb_state() == SPECTRE_MITIGATED;
+}
 #endif /* __ARM64_KVM_HOST_H__ */
arch/arm64/include/asm/kvm_mmu.h +1 -1
index ff721659eb94..4a2c95854856 100644
@@ -362,7 +362,7 @@ static inline void *kvm_get_hyp_vector(void)
 	struct bp_hardening_data *data = arm64_get_bp_hardening_data();
 	void *vect = kvm_ksym_ref(__kvm_hyp_vector);
 
-	if (data->fn) {
+	if (data->template_start) {
 		vect = __bp_harden_hyp_vecs_start +
 		       data->hyp_vectors_slot * SZ_2K;
 
arch/arm64/include/asm/mmu.h +7 -1
index 6ac34c75f4e1..f4377b005cba 100644
@@ -34,7 +34,7 @@ typedef struct {
  */
 #define ASID(mm)	((mm)->context.id.counter & 0xffff)
 
-static inline bool arm64_kernel_unmapped_at_el0(void)
+static __always_inline bool arm64_kernel_unmapped_at_el0(void)
 {
 	return IS_ENABLED(CONFIG_UNMAP_KERNEL_AT_EL0) &&
 	       cpus_have_const_cap(ARM64_UNMAP_KERNEL_AT_EL0);
@@ -45,6 +45,12 @@ typedef void (*bp_hardening_cb_t)(void);
 struct bp_hardening_data {
 	int			hyp_vectors_slot;
 	bp_hardening_cb_t	fn;
+
+	/*
+	 * template_start is only used by the BHB mitigation to identify the
+	 * hyp_vectors_slot sequence.
+	 */
+	const char *template_start;
 };
 
 #ifdef CONFIG_HARDEN_BRANCH_PREDICTOR
arch/arm64/include/asm/processor.h +3 -3
index 9ee660013e5c..367141e05c34 100644
@@ -37,6 +37,7 @@
 #include <linux/string.h>
 
 #include <asm/alternative.h>
+#include <asm/cpufeature.h>
 #include <asm/fpsimd.h>
 #include <asm/hw_breakpoint.h>
 #include <asm/lse.h>
@@ -219,9 +220,8 @@ static inline void spin_lock_prefetch(const void *ptr)
 
 #endif
 
-int cpu_enable_pan(void *__unused);
-int cpu_enable_uao(void *__unused);
-int cpu_enable_cache_maint_trap(void *__unused);
+void cpu_enable_pan(const struct arm64_cpu_capabilities *__unused);
+void cpu_enable_cache_maint_trap(const struct arm64_cpu_capabilities *__unused);
 
 #endif /* __ASSEMBLY__ */
 #endif /* __ASM_PROCESSOR_H */
arch/arm64/include/asm/sections.h +6 -0
index 4e7e7067afdb..09ebd37d5aa3 100644
@@ -26,5 +26,11 @@ extern char __hyp_text_start[], __hyp_text_end[];
 extern char __idmap_text_start[], __idmap_text_end[];
 extern char __irqentry_text_start[], __irqentry_text_end[];
 extern char __mmuoff_data_start[], __mmuoff_data_end[];
+extern char __entry_tramp_text_start[], __entry_tramp_text_end[];
+
+static inline size_t entry_tramp_text_size(void)
+{
+	return __entry_tramp_text_end - __entry_tramp_text_start;
+}
 
 #endif /* __ASM_SECTIONS_H */
arch/arm64/include/asm/sysreg.h +5 -0
index ae1b31d02784..46e97be12e02 100644
@@ -70,6 +70,7 @@
 
 #define SYS_ID_AA64ISAR0_EL1		sys_reg(3, 0, 0, 6, 0)
 #define SYS_ID_AA64ISAR1_EL1		sys_reg(3, 0, 0, 6, 1)
+#define SYS_ID_AA64ISAR2_EL1		sys_reg(3, 0, 0, 6, 2)
 
 #define SYS_ID_AA64MMFR0_EL1		sys_reg(3, 0, 0, 7, 0)
 #define SYS_ID_AA64MMFR1_EL1		sys_reg(3, 0, 0, 7, 1)
@@ -173,6 +174,9 @@
 #define ID_AA64ISAR0_SHA1_SHIFT		8
 #define ID_AA64ISAR0_AES_SHIFT		4
 
+/* id_aa64isar2 */
+#define ID_AA64ISAR2_CLEARBHB_SHIFT	28
+
 /* id_aa64pfr0 */
 #define ID_AA64PFR0_CSV3_SHIFT		60
 #define ID_AA64PFR0_CSV2_SHIFT		56
@@ -211,6 +215,7 @@
 #define ID_AA64MMFR0_TGRAN16_SUPPORTED	0x1
 
 /* id_aa64mmfr1 */
+#define ID_AA64MMFR1_ECBHB_SHIFT	60
 #define ID_AA64MMFR1_PAN_SHIFT		20
 #define ID_AA64MMFR1_LOR_SHIFT		16
 #define ID_AA64MMFR1_HPD_SHIFT		12
arch/arm64/include/asm/vectors.h new file +74 -0

74 lines not on this page · raw message

arch/arm64/kernel/bpi.S +55 -0

58 lines not on this page · raw message

arch/arm64/kernel/cpu_errata.c +481 -114

273 lines not on this page · raw message

arch/arm64/kernel/cpufeature.c +121 -46

167 lines not on this page · raw message

arch/arm64/kernel/cpuinfo.c +1 -0
index b3d5b3e8fbcb..4c09f87650f4 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/entry.S +156 -41

197 lines not on this page · raw message

arch/arm64/kernel/fpsimd.c +1 -0
index 1d5890f19ca3..ee34be8bed03 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/insn.c +31 -2
index 6f2ac4fc66ca..fbfad5a83526 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/module.lds +1 -1
index 8949f6c6f729..05881e2b414c 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/smp.c +0 -6
index 13b9c20a84b5..ea4aedb6bbdc 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/traps.c +2 -2
index b6fd2a21b015..adf18b9a2c03 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kernel/vmlinux.lds.S +1 -1
index fa3ffad50a61..17fc1671b990 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kvm/hyp/hyp-entry.S +4 -0
index 7ced1fb93d07..d14a8c89d08e 100644

Lines of this file are not shown. View the raw message.

arch/arm64/kvm/hyp/switch.c +6 -3
index 0a2f37bceab0..1751d2763cc1 100644

Lines of this file are not shown. View the raw message.

arch/arm64/mm/fault.c +1 -16
index f3d3f2e97add..a0c3efbc3717 100644

Lines of this file are not shown. View the raw message.

arch/arm64/mm/mmu.c +8 -3
index 60be5bc0984a..36bd50091c4b 100644

Lines of this file are not shown. View the raw message.

arch/mips/dec/prom/Makefile +1 -1
index ae73e42ac20b..4c369359cdab 100644

Lines of this file are not shown. View the raw message.

arch/mips/include/asm/dec/prom.h +5 -10
index b59a2103b61a..09538ff5e924 100644

Lines of this file are not shown. View the raw message.

arch/mips/include/asm/setup.h +1 -1
index 4f5279a8308d..e301967fcffd 100644

Lines of this file are not shown. View the raw message.

arch/mips/kernel/smp.c +3 -3
index 95ba4271af6a..01aa8d6da4b9 100644

Lines of this file are not shown. View the raw message.

arch/mips/kernel/traps.c +11 -11
index 5f717473d08e..278e81c9e614 100644

Lines of this file are not shown. View the raw message.

arch/mips/rb532/devices.c +2 -4
index 0966adccf520..ed921f7b4364 100644

Lines of this file are not shown. View the raw message.

arch/parisc/kernel/unaligned.c +7 -7
index 2b65c0177778..957bdeb7a5c7 100644

Lines of this file are not shown. View the raw message.

arch/powerpc/boot/dts/fsl/t104xrdb.dtsi +2 -2
index 5fdddbd2a62b..b0a9beab1c26 100644

Lines of this file are not shown. View the raw message.

arch/powerpc/sysdev/fsl_gtm.c +2 -2
index a6f0b96ce2c9..97dee7c99aa0 100644

Lines of this file are not shown. View the raw message.

arch/x86/Kconfig +0 -4
index 0d643ab6ec0c..4ce58439c044 100644

Lines of this file are not shown. View the raw message.

arch/x86/Makefile +8 -3
index 0bc35e3e6c5c..a77737a979c8 100644

Lines of this file are not shown. View the raw message.

arch/x86/events/intel/pt.c +1 -1
index 1808c57ce161..2539aaddd137 100644

Lines of this file are not shown. View the raw message.

arch/x86/include/asm/cpufeatures.h +1 -1
index 8ceb7a8a249c..5b197248d546 100644

Lines of this file are not shown. View the raw message.

arch/x86/include/asm/nospec-branch.h +26 -15

41 lines not on this page · raw message

arch/x86/kernel/acpi/boot.c +24 -0
index eb34bf9ef987..e4ca2dd2be76 100644

Lines of this file are not shown. View the raw message.

arch/x86/kernel/cpu/bugs.c +157 -68

225 lines not on this page · raw message

arch/x86/kvm/emulate.c +9 -5
index 2e5553091f90..3edafdffa687 100644

Lines of this file are not shown. View the raw message.

arch/x86/kvm/hyperv.c +15 -0
index 5e837c96e93f..56feb7d8f96d 100644

Lines of this file are not shown. View the raw message.

arch/x86/kvm/lapic.c +1 -4
index 2739b2c8db0e..4f1a56135a53 100644

Lines of this file are not shown. View the raw message.

arch/x86/kvm/pmu_amd.c +3 -5
index cd944435dfbd..e0473c72062e 100644

Lines of this file are not shown. View the raw message.

arch/x86/power/cpu.c +19 -2
index c8f947a4aaf2..357b3e6a2f7b 100644

Lines of this file are not shown. View the raw message.

arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi +4 -4
index d3a88e029873..d9b399b57bcd 100644

Lines of this file are not shown. View the raw message.

arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi +4 -4
index 1d97203c18e7..c9d0fc0b6265 100644

Lines of this file are not shown. View the raw message.

arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi +2 -2
index d1c621ca8be1..332892315f92 100644

Lines of this file are not shown. View the raw message.

block/compat_ioctl.c +1 -1
index b6e5447d563e..f538bac4ac66 100644

Lines of this file are not shown. View the raw message.

crypto/authenc.c +1 -1
index 6bfec690ca5b..f9ab04aa6dd5 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/acpica/nswalk.c +3 -0
index ebd731fe8e45..6902c2a01f6f 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/apei/bert.c +6 -2
index a05b5c0cf181..e22f3d89b84b 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/battery.c +12 -0
index 69c6f02f16b5..ee300bbe8831 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/cppc_acpi.c +5 -0
index 318bdfb8703c..b27a405a0f87 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/video_detect.c +75 -0

75 lines not on this page · raw message

drivers/ata/pata_hpt37x.c +16 -2
index 3ba843f5cdc0..44cc02afaa8b 100644

Lines of this file are not shown. View the raw message.

drivers/ata/pata_marvell.c +2 -0
index ff468a6fd8dd..677f582cf3d6 100644

Lines of this file are not shown. View the raw message.

drivers/atm/eni.c +2 -0
index 2b7786cd548f..0ec52fb2b7fc 100644

Lines of this file are not shown. View the raw message.

drivers/atm/firestream.c +2 -0
index 7cb2b863e653..7d74b7e1a837 100644

Lines of this file are not shown. View the raw message.

drivers/base/power/main.c +4 -2
index d707cd16ed01..b4d50c5dcbf8 100644

Lines of this file are not shown. View the raw message.

drivers/block/drbd/drbd_int.h +4 -4
index 4cb8f21ff4ef..4a7be81e7de9 100644

Lines of this file are not shown. View the raw message.

drivers/block/drbd/drbd_nl.c +25 -16

41 lines not on this page · raw message

drivers/block/drbd/drbd_state.c +9 -9
index eea0c4aec978..b636d9c08c0e 100644

Lines of this file are not shown. View the raw message.

drivers/block/drbd/drbd_state_change.h +4 -4
index 9e503a1a0bfb..e5a956d26866 100644

Lines of this file are not shown. View the raw message.

drivers/block/loop.c +5 -5
index f236b7984b94..2ff17b397cd2 100644

Lines of this file are not shown. View the raw message.

drivers/block/virtio_blk.c +10 -2
index 302260e9002c..45bd0d7d6a94 100644

Lines of this file are not shown. View the raw message.

drivers/block/xen-blkfront.c +39 -28

67 lines not on this page · raw message

drivers/char/virtio_console.c +11 -4
index 2632b0fdb1b5..ba4c546db756 100644

Lines of this file are not shown. View the raw message.

drivers/clk/clk-clps711x.c +2 -0
index 9193f64561f6..4dcf15a88269 100644

Lines of this file are not shown. View the raw message.

drivers/clk/loongson1/clk-loongson1c.c +1 -0
index 3466f7320b40..e3aa502761a3 100644

Lines of this file are not shown. View the raw message.

drivers/clk/qcom/clk-rcg2.c +1 -0
index 29abb600d7e1..e4d605dcc03d 100644

Lines of this file are not shown. View the raw message.

drivers/clk/tegra/clk-emc.c +1 -0
index 74e7544f861b..348e7196b7b9 100644

Lines of this file are not shown. View the raw message.

drivers/clk/uniphier/clk-uniphier-fixed-rate.c +1 -0
index 0ad0d46173c0..225de2302cb7 100644

Lines of this file are not shown. View the raw message.

drivers/clocksource/Kconfig +4 -0
index e2c6e43cf8ca..3d748eac1a68 100644

Lines of this file are not shown. View the raw message.

drivers/clocksource/acpi_pm.c +4 -2
index 28037d0b8dcd..55348e7c1e6f 100644

Lines of this file are not shown. View the raw message.

drivers/clocksource/arm_arch_timer.c +153 -39

192 lines not on this page · raw message

drivers/crypto/ccp/ccp-dmaengine.c +16 -0
index c4581510c3a1..6f9e228fc8ad 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/mxs-dcp.c +1 -1
index 0e14a6642de4..ad714798f5d8 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/qat/qat_common/qat_crypto.c +8 -0
index 3852d31ce0a4..37a9f969c59c 100644

Lines of this file are not shown. View the raw message.

drivers/crypto/vmx/Kconfig +4 -0
index c3d524ea6998..f39eeca87932 100644

Lines of this file are not shown. View the raw message.

drivers/dma/at_xdmac.c +7 -5
index c15ca560fe60..ca266fcca186 100644

Lines of this file are not shown. View the raw message.

drivers/dma/imx-sdma.c +2 -2
index 558d509b7d85..4337cf9defc2 100644

Lines of this file are not shown. View the raw message.

drivers/firmware/efi/vars.c +4 -1
index fceaafd67ec6..e619ced030d5 100644

Lines of this file are not shown. View the raw message.

drivers/firmware/psci.c +15 -0
index 79a48c37fb35..2a6d9572d639 100644

Lines of this file are not shown. View the raw message.

drivers/firmware/qemu_fw_cfg.c +5 -5
index 595bf12e7653..062d0eb50799 100644

Lines of this file are not shown. View the raw message.

drivers/gpio/gpio-ts4900.c +19 -5
index 5bd21725e604..930a6098b758 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/amd/amdkfd/kfd_events.c +2 -0
index 6a3470f84998..732713ff3190 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/drm_edid.c +1 -9
index 5b5970f0e91d..6f93250518e3 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/imx/parallel-display.c +3 -1
index d796ada2a47a..924a11232b84 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/msm/mdp/mdp5/mdp5_plane.c +3 -0
index 83bf997dda03..e14bfbdbaf2b 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/drm/tegra/dsi.c +3 -1
index 3dea1216bafd..dfd9e0b9582d 100644

Lines of this file are not shown. View the raw message.

drivers/gpu/ipu-v3/ipu-di.c +3 -2
index a8d87ddd8a17..dc0511b22600 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-debug.c +3 -1
index 3cafa1d28fed..07dea71d41fc 100644

Lines of this file are not shown. View the raw message.

drivers/hid/hid-input.c +2 -0
index 5e1a51ba6500..1dccc072da4a 100644

Lines of this file are not shown. View the raw message.

drivers/hid/i2c-hid/i2c-hid-core.c +24 -8
index 518ccf15188e..26c7701fb188 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/pmbus/pmbus.h +1 -0
index bfcb13bae34b..8b6acb7497e2 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/pmbus/pmbus_core.c +14 -4
index 0d75bc7b5065..a662702632a8 100644

Lines of this file are not shown. View the raw message.

drivers/hwmon/sch56xx-common.c +1 -1
index 68c350c704fb..5fd9b6769d42 100644

Lines of this file are not shown. View the raw message.

drivers/hwtracing/coresight/coresight-etm4x-sysfs.c +6 -2
index 00904c6b5b5e..1bf107af8ce0 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/Kconfig +1 -1
index 759c621a860a..be4b7b1ad39b 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-bcm2835.c +11 -0
index 7ed09865cb4b..4729c14b7501 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-pasemi.c +6 -0
index df1dbc92a024..25c877654c32 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/busses/i2c-xiic.c +2 -1
index b72cf2f8da5c..c65a5d0af555 100644

Lines of this file are not shown. View the raw message.

drivers/i2c/muxes/i2c-demux-pinctrl.c +3 -2
index a86c511c29e0..c347860b3690 100644

Lines of this file are not shown. View the raw message.

drivers/iio/adc/men_z188_adc.c +8 -1
index 8f3606de4eaf..47be2cd2c60d 100644

Lines of this file are not shown. View the raw message.

drivers/iio/adc/twl6030-gpadc.c +2 -0
index becbb0aef232..5075f594d97f 100644

Lines of this file are not shown. View the raw message.

drivers/iio/inkern.c +28 -6
index c4757e6367e7..218cf4567ab5 100644

Lines of this file are not shown. View the raw message.

drivers/infiniband/ulp/srp/ib_srp.c +4 -2
index af68be201c29..67b993f4ec91 100644

Lines of this file are not shown. View the raw message.

drivers/input/mouse/elan_i2c_core.c +23 -41

64 lines not on this page · raw message

drivers/input/tablet/aiptek.c +4 -6
index 5a7e5e073e52..58c0705470be 100644

Lines of this file are not shown. View the raw message.

drivers/iommu/arm-smmu-v3.c +1 -0
index 48d382008788..db40ce599e97 100644

Lines of this file are not shown. View the raw message.

drivers/irqchip/irq-nvic.c +2 -0
index 9694529b709d..330beb62d015 100644

Lines of this file are not shown. View the raw message.

drivers/md/dm-ioctl.c +2 -0
index eb2659a12310..70245782e7f6 100644

Lines of this file are not shown. View the raw message.

drivers/media/pci/cx88/cx88-mpeg.c +3 -0
index 245357adbc25..37d4512f3eb8 100644

Lines of this file are not shown. View the raw message.

drivers/media/platform/davinci/vpif.c +1 -0
index 0380cf2e5775..736719d6d648 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/go7007/s2250-board.c +4 -6
index 1466db150d82..625e77f4dbd2 100644

Lines of this file are not shown. View the raw message.

drivers/media/usb/hdpvr/hdpvr-video.c +3 -1
index 474c11e1d495..cfd8c09f9ded 100644

Lines of this file are not shown. View the raw message.

drivers/memory/emif.c +5 -3
index 88c32b8dc88a..9f293b931144 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/asic3.c +7 -3
index 0413c8159551..34270e237726 100644

Lines of this file are not shown. View the raw message.

drivers/mfd/mc13xxx-core.c +3 -1
index 75d52034f89d..5b4faebdcae2 100644

Lines of this file are not shown. View the raw message.

drivers/misc/kgdbts.c +2 -2
index ab2184003c29..d75686c1c6e8 100644

Lines of this file are not shown. View the raw message.

drivers/mmc/core/host.c +13 -2
index 848b3453517e..60c2ca58dec3 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/nand/brcmnand/brcmnand.c +1 -1
index 40fdc9d267b9..1c8e95cf29d2 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/onenand/generic.c +6 -1
index 125da34d8ff9..23a878e7974e 100644

Lines of this file are not shown. View the raw message.

drivers/mtd/ubi/fastmap.c +19 -9
index e7b177c61642..1486f9af8f1e 100644

Lines of this file are not shown. View the raw message.

drivers/net/arcnet/com20020-pci.c +3 -0
index 239de38fbd6a..1c9fff038569 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/rcar/rcar_canfd.c +3 -3
index 43cdd5544b0c..a127c853a4e9 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/ems_usb.c +0 -1
index d62d61d734ea..4d01b6cbf0eb 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/usb/gs_usb.c +5 -5
index 75399aa1ba95..6771c51f72c3 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c +1 -3
index 9e5251c427a3..401d9718841f 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/chelsio/cxgb3/t3_hw.c +2 -0
index a89721fad633..29220141e4e4 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/ich8lan.c +2 -2
index 500016209ae0..3ed40bde796b 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +1 -1
index e13a6cd5163f..5f23e26b0415 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/micrel/Kconfig +1 -0
index b7e2f49696b7..aa12bace8673 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/nxp/lpc_eth.c +4 -1
index ad7b9772a4b2..78f34e87212a 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qed/qed_sriov.c +11 -7
index 6379bfedc9f0..9a7ba55b4693 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qed/qed_vf.c +7 -0
index 170243d3276b..d0449d5418f7 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h +5 -5
index f4aa6331b367..0a9d24e86715 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c +3 -3
index 11dd7c8d576d..ab1d01dd2eb3 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/sfc/mcdi.c +1 -1
index 241520943ada..221798499e24 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.c +0 -8
index 6a9c954492f2..6ca428a702f1 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/altr_tse_pcs.h +4 -0
index 2f5882450b06..254199f2efdb 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c +5 -8
index c3a78c113424..b138968b8672 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +3 -3
index 0a7ff854d1c3..bb44f8161ea9 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +1 -2
index 2019e163e0e9..cbdd0deb7c56 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/sun/sunhme.c +5 -1
index cf4dcff051d5..b38106a7cb5d 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/xilinx/xilinx_emaclite.c +3 -1
index df3b3384984c..1f9a6ea356b0 100644

Lines of this file are not shown. View the raw message.

drivers/net/hamradio/6pack.c +2 -2
index 96fb2a2a59f0..f829233a911a 100644

Lines of this file are not shown. View the raw message.

drivers/net/hamradio/mkiss.c +2 -0
index 8d85cedb4bf5..cbf959e7bbff 100644

Lines of this file are not shown. View the raw message.

drivers/net/phy/broadcom.c +21 -0
index 870327efccf7..6bea2b219e00 100644

Lines of this file are not shown. View the raw message.

drivers/net/slip/slip.c +1 -1
index f870396e05e1..ba26fa0ceba8 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/cdc_ether.c +12 -0
index 8f03cc52ddda..1819b104418c 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/cdc_mbim.c +5 -0
index d86132d41416..95256765b388 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/sr9700.c +1 -1
index aadfe1d1c37e..f4c4df01874c 100644

Lines of this file are not shown. View the raw message.

drivers/net/usb/zaurus.c +12 -0
index 6aaa6eb9df72..3d126761044f 100644

Lines of this file are not shown. View the raw message.

drivers/net/veth.c +1 -1
index ee7460ee3d05..57ff2fd95f75 100644

Lines of this file are not shown. View the raw message.

drivers/net/vxlan.c +2 -2
index 0bfadec8b79c..d59cb381e80b 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath5k/eeprom.c +3 -0
index 94d34ee02265..01163b333945 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/htc_hst.c +5 -0
index 625823e45d8f..06a6e7443550 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/carl9170/main.c +1 -1
index 202f421e0e37..1ea80d004d46 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c +2 -0
index d231042f19d6..33a7378164b8 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c +4 -44

48 lines not on this page · raw message

drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +1 -1
index 998a4bd6db78..d8f34883c096 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/intel/iwlwifi/dvm/mac80211.c +1 -1
index 8c0719468d00..6bd2486f617e 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/mac80211_hwsim.c +13 -0
index dd6924d21b8a..a34647efb5ea 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ray_cs.c +6 -0
index c78abfc7bd96..784063b1e60f 100644

Lines of this file are not shown. View the raw message.

drivers/net/xen-netback/xenbus.c +4 -8
index e6646c8a7bdb..78788402edd8 100644

Lines of this file are not shown. View the raw message.

drivers/net/xen-netfront.c +33 -21

54 lines not on this page · raw message

drivers/nfc/port100.c +2 -0
index ed65993aae96..838ec17073fd 100644

Lines of this file are not shown. View the raw message.

drivers/nfc/st21nfca/se.c +10 -0
index eac608a457f0..475f8a67856d 100644

Lines of this file are not shown. View the raw message.

drivers/pci/hotplug/pciehp_hpc.c +2 -0
index 8b8b096167d7..31be1c69fd70 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/mediatek/pinctrl-mtk-common.c +2 -0
index f9aef2ac03a1..4cce72017109 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/nomadik/pinctrl-nomadik.c +3 -1
index d318ca055489..6e237c46e1bd 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinconf-generic.c +3 -3
index 5020ae534479..074a7e044e25 100644

Lines of this file are not shown. View the raw message.

drivers/pinctrl/pinctrl-rockchip.c +2 -0
index 17827a88b85e..9bcb238c2e12 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/samsung-laptop.c +0 -2
index 8c146e2b6727..4664d3e191c8 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/ab8500_fg.c +3 -1
index d6079e892e11..c07437ad1b85 100644

Lines of this file are not shown. View the raw message.

drivers/power/supply/wm8350_power.c +83 -14

97 lines not on this page · raw message

drivers/ptp/ptp_sysfs.c +2 -2
index 731d0423c8aa..b690621b4fc8 100644

Lines of this file are not shown. View the raw message.

drivers/pwm/pwm-lpc18xx-sct.c +9 -11
index d7f5f7de030d..8b3aad06e236 100644

Lines of this file are not shown. View the raw message.

drivers/remoteproc/qcom_wcnss.c +1 -0
index 323b629474a6..9f76ad9e959d 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-wm8350.c +9 -2
index fa247deb9cf4..b45d7d9b8c06 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/aha152x.c +2 -4
index f44d0487236e..bd850c5faf77 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/bfa/bfad_attr.c +13 -13
index 0a70d54a4df6..47e599352468 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c +1 -1
index 5ed28111c3c3..569b662e19e7 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libfc/fc_exch.c +1 -0
index aac9c648df0c..175713770068 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/libsas/sas_ata.c +1 -1
index d75d3d11bc80..c05a3e16f615 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/mvsas/mv_init.c +3 -2
index 8280046fd1f0..359fd39c6345 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/pm8001/pm8001_hwi.c +7 -6
index f374abfb7f1f..cc90b5c8d462 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/pm8001/pm80xx_hwi.c +7 -4
index df5f0bc29587..4eae727ccfbc 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/qla2xxx/qla_isr.c +1 -0
index 6249c4b6f4be..15fcb148d175 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/xen-scsifront.c +1 -2
index e1b32ed0aa20..bdfe94c023dc 100644

Lines of this file are not shown. View the raw message.

drivers/scsi/zorro7xx.c +2 -0
index aff31991aea9..ee6d97473853 100644

Lines of this file are not shown. View the raw message.

drivers/soc/fsl/qe/qe_io.c +2 -0
index 7ae59abc7863..127a4a836e67 100644

Lines of this file are not shown. View the raw message.

drivers/soc/ti/wkup_m3_ipc.c +2 -2
index fc33bfdc957c..ead96fe2e7f5 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-tegra114.c +4 -0
index d1ca8f619b82..89a3121f4f25 100644

Lines of this file are not shown. View the raw message.

drivers/spi/spi-tegra20-slink.c +1 -7
index 88bfe7682a9e..b8a3a78730b5 100644

Lines of this file are not shown. View the raw message.

drivers/staging/fbtft/fb_st7789v.c +2 -0
index 085e9872c46d..93bfde68f545 100644

Lines of this file are not shown. View the raw message.

drivers/staging/gdm724x/gdm_lte.c +3 -2
index 454e47424ade..463f920d3782 100644

Lines of this file are not shown. View the raw message.

drivers/thermal/int340x_thermal/int3400_thermal.c +1 -1
index d4c374cc4f74..a8a47013ba47 100644

Lines of this file are not shown. View the raw message.

drivers/tty/hvc/hvc_iucv.c +3 -1
index 8b70a1627356..799bc191982c 100644

Lines of this file are not shown. View the raw message.

drivers/tty/mxser.c +11 -4
index 69294ae154be..ea7f4af85d58 100644

Lines of this file are not shown. View the raw message.

drivers/tty/n_gsm.c +2 -2
index 67e5b587a106..2311f8a635a6 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/8250/8250_of.c +22 -8
index f89dfde934a3..54ed7675e447 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/kgdboc.c +3 -3
index 0314e78e31ff..72b89702d008 100644

Lines of this file are not shown. View the raw message.

drivers/tty/serial/samsung.c +1 -4
index 8c89697c5357..15b9bf35457b 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/dwc3-omap.c +1 -1
index 8e69150776f5..a08b29fbaa50 100644

Lines of this file are not shown. View the raw message.

drivers/usb/dwc3/gadget.c +2 -0
index 58c4b745eae1..ccc47594064f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/function/rndis.c +9 -0
index a912b6b9153f..30eeaf9bc8ec 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/function/rndis.h +1 -0
index ef92eb66d8ad..a389df725a29 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/legacy/inode.c +7 -3
index 68e608389786..b2fc97dbda45 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/core.c +0 -3
index 34ad964d54d1..5d8c3fd2acc8 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/udc/udc-xilinx.c +6 -0
index 588e2531b8b8..b4cc04b6ae03 100644

Lines of this file are not shown. View the raw message.

drivers/usb/host/xhci.c +6 -3
index 2df61fff8ae3..a08369cb3462 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/Kconfig +1 -0
index 77c3ebe860c5..b495bbecf809 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ch341.c +0 -1
index a8573da2717a..a2337d15233f 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/option.c +12 -0
index 4c3ff0706554..c5d0d9e2bff2 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/pl2303.c +1 -0
index 3dd0bbb36dd2..c5fa5b704ec5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/pl2303.h +3 -0
index 62b8cd673aa1..908865495b48 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/usb-serial-simple.c +7 -0
index 15e05ebf37ac..3681e6418262 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/ene_ub6250.c +76 -79

155 lines not on this page · raw message

drivers/usb/storage/realtek_cr.c +1 -1
index d955761fce6f..d9d69637d614 100644

Lines of this file are not shown. View the raw message.

drivers/vhost/vsock.c +14 -7
index e282e8174a5d..d054702c8fbe 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/atafb.c +6 -6
index fcd2dd670a65..770f77055682 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/cirrusfb.c +8 -8
index d992aa5eb3f0..a8f4967de798 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/core/fbcvt.c +21 -32

53 lines not on this page · raw message

drivers/video/fbdev/nvidia/nv_i2c.c +1 -1
index d7994a173245..0b48965a6420 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/displays/connector-dvi.c +1 -0
index 06e1db34541e..41b0db0cc047 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c +4 -4
index 8b810696a42b..6a8f0f0fa601 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c +1 -1
index 468560a6daae..0a1a82c68680 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/omap2/omapfb/displays/panel-tpo-td043mtea1.c +2 -2
index 51e628b85f4a..2b8b6b5dc1aa 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/sm712fb.c +11 -35

46 lines not on this page · raw message

drivers/video/fbdev/smscufx.c +1 -2
index ec2e7e353685..aa387c5188e7 100644

Lines of this file are not shown. View the raw message.

drivers/video/fbdev/w100fb.c +12 -3
index 7bd4c27cfb14..b3b17b6adb7e 100644

Lines of this file are not shown. View the raw message.

drivers/w1/slaves/w1_therm.c +6 -2
index 82611f197b0a..7d0e09867bc7 100644

Lines of this file are not shown. View the raw message.

drivers/xen/gntalloc.c +7 -18
index 7a47c4c9fb1b..24f8900eccad 100644

Lines of this file are not shown. View the raw message.

drivers/xen/grant-table.c +33 -26

59 lines not on this page · raw message

drivers/xen/xenbus/xenbus_client.c +11 -13
index 8bbd887ca422..5ee38e939165 100644

Lines of this file are not shown. View the raw message.

fs/btrfs/extent-tree.c +1 -0
index b5bff1e760a3..8ded1d894100 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifsfs.c +2 -1
index 375ccd209206..b85c283ad08b 100644

Lines of this file are not shown. View the raw message.

fs/cifs/link.c +3 -0
index 38d26cbcad07..0c49e2aa7ea4 100644

Lines of this file are not shown. View the raw message.

fs/configfs/dir.c +14 -0
index c875f246cb0e..ccb49caed502 100644

Lines of this file are not shown. View the raw message.

fs/ext2/super.c +5 -1
index 186912c9bf56..5ca1f73958b0 100644

Lines of this file are not shown. View the raw message.

fs/ext4/inode.c +35 -1
index 79c067f74253..754b33828853 100644

Lines of this file are not shown. View the raw message.

fs/ext4/super.c +15 -4
index e17a6396bde6..c50ba683a570 100644

Lines of this file are not shown. View the raw message.

fs/file.c +57 -16

73 lines not on this page · raw message

fs/gfs2/rgrp.c +7 -5
index 56a94535c246..9f83a4c602f9 100644

Lines of this file are not shown. View the raw message.

fs/jffs2/build.c +3 -1
index b288c8ae1236..837cd55fd4c5 100644

Lines of this file are not shown. View the raw message.

fs/jffs2/fs.c +1 -1
index c9c47d03a690..d3c9e4c82e57 100644

Lines of this file are not shown. View the raw message.

fs/jffs2/scan.c +4 -2
index 08813789fcf0..664384dac6e5 100644

Lines of this file are not shown. View the raw message.

fs/jfs/inode.c +2 -1
index 87b41edc800d..68779cc3609a 100644

Lines of this file are not shown. View the raw message.

fs/jfs/jfs_dmap.c +7 -0
index 9ff510a489cb..6dac48e29d28 100644

Lines of this file are not shown. View the raw message.

fs/nfs/callback_xdr.c +0 -4
index 67903eeb2ca4..00e58a42e637 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfsproc.c +1 -1
index 536009e50387..fd5bb6f7f5f7 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/xdr.h +1 -1
index 4f0481d63804..8c78b56a9350 100644

Lines of this file are not shown. View the raw message.

fs/ntfs/inode.c +4 -0
index 8cd134750ebb..4150b3633f77 100644

Lines of this file are not shown. View the raw message.

fs/sysfs/file.c +1 -2
index 300cdbdc8494..c41e7f51150f 100644

Lines of this file are not shown. View the raw message.

fs/tracefs/inode.c +3 -2
index e00594ad9972..b56d1cfe429e 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/dir.c +2 -0
index 56eed54633cf..89cebe1807d2 100644

Lines of this file are not shown. View the raw message.

fs/ubifs/ioctl.c +1 -1
index 3c7b29de0ca7..b5320eedec3b 100644

Lines of this file are not shown. View the raw message.

include/linux/arm-smccc.h +81 -0

81 lines not on this page · raw message

include/linux/blkdev.h +8 -0
index caba9253957f..555bf0c5946d 100644

Lines of this file are not shown. View the raw message.

include/linux/bpf.h +11 -0
index 7995940d4187..fe520d40597f 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler-gcc.h +1 -1
index d830eddacdc6..1c1ca4168516 100644

Lines of this file are not shown. View the raw message.

include/linux/etherdevice.h +2 -3
index 6fec9e81bd70..1979298fdca9 100644

Lines of this file are not shown. View the raw message.

include/linux/mlx5/mlx5_ifc.h +2 -2
index 6dd276227217..5747174e0326 100644

Lines of this file are not shown. View the raw message.

include/linux/module.h +1 -1
index 88a79e17fad1..bf1512a8b8d9 100644

Lines of this file are not shown. View the raw message.

include/linux/netdevice.h +4 -2
index de7bfe2fabea..e051037887f0 100644

Lines of this file are not shown. View the raw message.

include/net/checksum.h +5 -0
index 5c30891e84e5..5c59b6386dff 100644

Lines of this file are not shown. View the raw message.

include/net/netfilter/nf_queue.h +1 -1
index 2280cfe86c56..faa535defddd 100644

Lines of this file are not shown. View the raw message.

include/net/xfrm.h +6 -3
index b2a405c93a34..7415a9876987 100644

Lines of this file are not shown. View the raw message.

include/uapi/linux/input-event-codes.h +2 -1
index b584868e1b26..fd7cacbfc8c2 100644

Lines of this file are not shown. View the raw message.

include/xen/grant_table.h +17 -2
index f9d8aac170fb..c51ae64b6dcb 100644

Lines of this file are not shown. View the raw message.

init/main.c +4 -2
index be95e522fca8..89957e9e358a 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +3 -0
index 6f3134158375..fd1a6b82f557 100644

Lines of this file are not shown. View the raw message.

kernel/power/hibernate.c +1 -1
index 8a406f53d211..785c37328451 100644

Lines of this file are not shown. View the raw message.

kernel/power/suspend_test.c +4 -4
index bdff5ed57f10..5476bd892183 100644

Lines of this file are not shown. View the raw message.

kernel/printk/printk.c +4 -2
index 3f1b762a0c30..b8954fc4b400 100644

Lines of this file are not shown. View the raw message.

kernel/ptrace.c +32 -15

47 lines not on this page · raw message

kernel/sched/debug.c +0 -10
index 935224123441..5237566f2bad 100644

Lines of this file are not shown. View the raw message.

kernel/smp.c +1 -1
index 399905fdfa3f..df9d5a64b0aa 100644

Lines of this file are not shown. View the raw message.

kernel/sysctl.c +8 -0
index 78b445562b81..184d462339e6 100644

Lines of this file are not shown. View the raw message.

kernel/trace/trace.c +6 -4
index b0975f35612c..1c801aeae9b2 100644

Lines of this file are not shown. View the raw message.

lib/Kconfig +0 -1
index b06becb3f477..b3b4f3045178 100644

Lines of this file are not shown. View the raw message.

lib/raid6/test/test.c +0 -1
index b07f4d8e6b03..a7e937248299 100644

Lines of this file are not shown. View the raw message.

localversion-rt +1 -1
index 62fe25bd6258..58dccbc39d0a 100644

Lines of this file are not shown. View the raw message.

mm/kmemleak.c +4 -4
index 59bb2b9ec0e2..c1360b250919 100644

Lines of this file are not shown. View the raw message.

mm/memblock.c +8 -2
index e43065b13c08..9f4e78dd2aa1 100644

Lines of this file are not shown. View the raw message.

mm/memcontrol.c +1 -1
index 701c4aff44ad..6fa15f7a5532 100644

Lines of this file are not shown. View the raw message.

mm/memory.c +19 -5
index 2b2cc69ddcce..1b31cdce936e 100644

Lines of this file are not shown. View the raw message.

mm/mempolicy.c +2 -7
index 2f443767fd1b..6059f85546fe 100644

Lines of this file are not shown. View the raw message.

mm/mmap.c +1 -1
index 7c8815636c48..18bd38ac1531 100644

Lines of this file are not shown. View the raw message.

mm/mremap.c +3 -0
index b5d8d25173c6..058de6f8c9d5 100644

Lines of this file are not shown. View the raw message.

mm/page_alloc.c +10 -3
index 6d3aabbbb2b1..c138ea944591 100644

Lines of this file are not shown. View the raw message.

mm/rmap.c +30 -5
index a7276d8c96f3..0a5310b76ec8 100644

Lines of this file are not shown. View the raw message.

mm/shmem.c +4 -3
index 51aa13f59622..dffa36e6d1c4 100644

Lines of this file are not shown. View the raw message.

net/ax25/af_ax25.c +7 -0
index c4ef1be59cb1..839c4237d131 100644

Lines of this file are not shown. View the raw message.

net/batman-adv/hard-interface.c +8 -5
index 4f384abb4ced..eaf0a483211a 100644

Lines of this file are not shown. View the raw message.

net/bluetooth/hci_event.c +2 -1
index cff87c465bcb..8face15b42d8 100644

Lines of this file are not shown. View the raw message.

net/core/net-sysfs.c +1 -1
index 3fb5d8ecc849..e42df58b8876 100644

Lines of this file are not shown. View the raw message.

net/core/skbuff.c +2 -2
index 4e192c8bd8b1..9b7d01857ac4 100644

Lines of this file are not shown. View the raw message.

net/dcb/dcbnl.c +44 -0

44 lines not on this page · raw message

net/ipv4/af_inet.c +4 -1
index a8563745980b..8f2fb14fd4f7 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp.c +6 -4
index aeda018e4c49..6dfb964e1ad8 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_offload.c +2 -0
index a36ae90bf613..87763302bce2 100644

Lines of this file are not shown. View the raw message.

net/ipv6/ip6_output.c +7 -4
index d93a98dfe52d..775901abe678 100644

Lines of this file are not shown. View the raw message.

net/key/af_key.c +3 -3
index adc93329e6aa..c9cc9f75b099 100644

Lines of this file are not shown. View the raw message.

net/llc/af_llc.c +32 -17

49 lines not on this page · raw message

net/mac80211/cfg.c +0 -3
index f37fbc71fc1d..091ac3a7b186 100644

Lines of this file are not shown. View the raw message.

net/mac80211/rx.c +2 -2
index 96b2333496b5..a3ac9f57a489 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_conntrack_proto_tcp.c +13 -4
index 69f687740c76..9e9ce570bb9e 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_queue.c +20 -3
index 8f08d759844a..333ea2368101 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nf_tables_core.c +1 -1
index 9d593ecd8e87..fb14082151ce 100644

Lines of this file are not shown. View the raw message.

net/netfilter/nfnetlink_queue.c +9 -3
index a35510565d4d..66814a9d030c 100644

Lines of this file are not shown. View the raw message.

net/netlink/af_netlink.c +9 -0
index 13d69cbd14c2..a8674e9ff37b 100644

Lines of this file are not shown. View the raw message.

net/nfc/nci/core.c +4 -0
index 84eedbd5716d..df90872fcf90 100644

Lines of this file are not shown. View the raw message.

net/openvswitch/actions.c +38 -8

46 lines not on this page · raw message

net/openvswitch/flow_netlink.c +3 -3
index 50ea76180afa..26921f755f3a 100644

Lines of this file are not shown. View the raw message.

net/packet/af_packet.c +19 -5
index 4256ddf805a2..f242e2613346 100644

Lines of this file are not shown. View the raw message.

net/sctp/sctp_diag.c +3 -6
index e8f56b7c5afb..a044964fa802 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/sched.c +3 -1
index 00d95fefdc6f..ccb9fa5812d8 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprt.c +7 -0
index 9491fc81d50a..ff263ece44a7 100644

Lines of this file are not shown. View the raw message.

net/sunrpc/xprtrdma/transport.c +3 -1
index 3ea3bb64b6d5..f308f286e9aa 100644

Lines of this file are not shown. View the raw message.

net/wireless/nl80211.c +2 -1
index ab8bca39afa3..562e138deba2 100644

Lines of this file are not shown. View the raw message.

net/x25/af_x25.c +8 -3
index c23c04d38a82..cd0c800b9072 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_policy.c +10 -14
index b00ed36b9aac..9179b47e8b61 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_state.c +5 -3
index 4d19f2ff6e05..73b4e7c0d336 100644

Lines of this file are not shown. View the raw message.

net/xfrm/xfrm_user.c +8 -6
index 48139e1a0ac9..eaed74522197 100644

Lines of this file are not shown. View the raw message.

scripts/gcc-plugins/latent_entropy_plugin.c +27 -17

44 lines not on this page · raw message

scripts/mod/modpost.c +1 -1
index 9abcdf2e8dfe..62b0552b7b71 100644

Lines of this file are not shown. View the raw message.

security/selinux/xfrm.c +1 -1
index 56e354fcdfc6..5304dd49e054 100644

Lines of this file are not shown. View the raw message.

security/smack/smack_lsm.c +1 -1
index 589c1c2ae6db..84ed47195cdd 100644

Lines of this file are not shown. View the raw message.

security/tomoyo/load_policy.c +2 -2
index 078fac0bb4c5..6766b92cb572 100644

Lines of this file are not shown. View the raw message.

sound/core/pcm_misc.c +1 -1
index 53dc37357bca..92519e0477c8 100644

Lines of this file are not shown. View the raw message.

sound/core/pcm_native.c +4 -0
index 6fa6c268c96d..67a446ce9d3d 100644

Lines of this file are not shown. View the raw message.

sound/firewire/fcp.c +1 -3
index cce19768f43d..8209856293d3 100644

Lines of this file are not shown. View the raw message.

sound/isa/cs423x/cs4236.c +5 -3
index c67d379cb6d6..9d4a2c66ea16 100644

Lines of this file are not shown. View the raw message.

sound/pci/ac97/ac97_codec.c +2 -2
index c4840fda44b4..a7f1e4ef3f88 100644

Lines of this file are not shown. View the raw message.

sound/pci/cmipci.c +1 -2
index 73f593526b2d..0024145a7b5b 100644

Lines of this file are not shown. View the raw message.

sound/soc/atmel/atmel_ssc_dai.c +4 -1
index 16e459aedffe..5958aafac8eb 100644

Lines of this file are not shown. View the raw message.

sound/soc/atmel/sam9g20_wm8731.c +1 -0
index d7469cdd90dc..39365319c351 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm8350.c +24 -4
index 2efc5b41ad0f..6d719392cdbe 100644

Lines of this file are not shown. View the raw message.

sound/soc/davinci/davinci-i2s.c +4 -1
index 384961651904..e5f61f1499c6 100644

Lines of this file are not shown. View the raw message.

sound/soc/fsl/imx-es8328.c +1 -0
index 20e7400e2611..5942f9901938 100644

Lines of this file are not shown. View the raw message.

sound/soc/mxs/mxs-saif.c +4 -1
index 13631003cb7c..5977a2011d9e 100644

Lines of this file are not shown. View the raw message.

sound/soc/mxs/mxs-sgtl5000.c +3 -0
index 2b23ffbac6b1..e8aa93a654e7 100644

Lines of this file are not shown. View the raw message.

sound/soc/sh/fsi.c +16 -3
index ead520182e26..29be45285274 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-core.c +1 -1
index 0344d4423167..81c3aa167038 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-dapm.c +2 -4
index 21b0368c2a3b..878a4fc97f04 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-generic-dmaengine-pcm.c +3 -3
index 67d22b4baeb0..61f0c9d6f6dc 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-ops.c +2 -2
index e2c200c3c135..74968ddee49f 100644

Lines of this file are not shown. View the raw message.

sound/soc/soc-topology.c +2 -1
index 6274a5002647..7528f0d4bddf 100644

Lines of this file are not shown. View the raw message.

sound/spi/at73c213.c +21 -6
index fac7e6eb9529..671b4516d930 100644

Lines of this file are not shown. View the raw message.

sound/usb/midi.c +1 -0
index f0b41fee7130..83da676519a8 100644

Lines of this file are not shown. View the raw message.

sound/usb/mixer_quirks.c +4 -3
index 1f2c69e599d9..c94068874ea8 100644

Lines of this file are not shown. View the raw message.

sound/usb/usbaudio.h +1 -1
index 62456a806bb4..4b8f1c46420d 100644

Lines of this file are not shown. View the raw message.

tools/arch/x86/include/asm/cpufeatures.h +1 -1
index f6d1bc93589c..f032dfed00a9 100644

Lines of this file are not shown. View the raw message.

tools/build/feature/Makefile +1 -1
index ac9c477a2a48..46af3bb56142 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/memfd/memfd_test.c +1 -0
index 26546892cd54..faab09215c88 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/vm/userfaultfd.c +1 -0
index d77ed41b2094..1f89d3dd8295 100644

Lines of this file are not shown. View the raw message.

tools/testing/selftests/x86/check_cc.sh +1 -1
index 172d3293fb7b..356689c56397 100755

Lines of this file are not shown. View the raw message.

virt/kvm/kvm_main.c +13 -0
index d9b7001227e3..d251b718bf53 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.

author
#1 lore raw

Re: [ANNOUNCE] 4.9.327-rt197

Quoted 10 lines · Mark Gross

Hello RT-list!

I'm pleased to announce the 4.9.327-rt197 stable release.

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

branch: v4.9-rt-next
Head SHA1: d47e3fd2615dbd0aa6eac3745cd209fdd93a868a

corection: Head SHA1:2ba8778e2b30c114a4c9902c6f3ead2aa2b66f39

Quoted 19 lines

This rebase was a tricky one. Sebastian provided some patches and I was too dense to figure out where and how to apply them. My colleague Junxiao did the following and I replicated the steps.
1) convert the v4.9-rt-rebase branch into a quilt series.
2) applied the series to v4.9.327 skipping patches where changes to the random number logic has conflicts.
3) apply the patches Sebastian provided.
4) git quiltimport and pushed it to the above branch.

It seems to compile and it passes the RT BAT testing Junxiao does.

As this was a tricky one I request people to give a good look over.

Enjoy!
Mark Gross

#2 lore raw

Re: [ANNOUNCE] 4.9.327-rt197

Quoted 1 line · Mark Gross
Quoted 1 line

As this was a tricky one I request people to give a good look over.

You did good. I not so much. If you could please add the following patch on top, then it will compile also on !RT.

Thank you for work.

------->8----------

From: Sebastian Andrzej Siewior <[email protected]>
Date: Fri, 30 Sep 2022 16:55:34 +0200
Subject: [PATCH] local_lock: Provide INIT_LOCAL_LOCK().

The original code was using INIT_LOCAL_LOCK() and I tried to sneak around it and forgot that this code also needs to compile on !RT platforms.

Provide INIT_LOCAL_LOCK() to initialize properly on RT and do nothing on !RT. Let random.c use which is the only user so far and oes not compile on !RT otherwise.

---
 drivers/char/random.c     | 4 ++--
 include/linux/locallock.h | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
drivers/char/random.c +2 -2
index daea466812fed..86c475f70343d 100644
@@ -236,7 +236,7 @@ struct crng {
 
 static DEFINE_PER_CPU(struct crng, crngs) = {
 	.generation = ULONG_MAX,
-	.lock.lock = __SPIN_LOCK_UNLOCKED(crngs.lock.lock),
+	.lock = INIT_LOCAL_LOCK(crngs.lock),
 };
 
 /* Used by crng_reseed() and crng_make_state() to extract a new seed from the input pool. */
@@ -515,7 +515,7 @@ struct batch_ ##type {								\
 };										\
 										\
 static DEFINE_PER_CPU(struct batch_ ##type, batched_entropy_ ##type) = {	\
-	.lock.lock = __SPIN_LOCK_UNLOCKED(batched_entropy_ ##type.lock.lock),	\
+	.lock = INIT_LOCAL_LOCK(batched_entropy_ ##type.lock),			\
 	.position = UINT_MAX							\
 };										\
 										\
include/linux/locallock.h +5 -0
index 0c3ff5b23f6a1..70af9a177197e 100644
@@ -22,6 +22,8 @@ struct local_irq_lock {
 	unsigned long		flags;
 };
 
+#define INIT_LOCAL_LOCK(lvar)			{ .lock = __SPIN_LOCK_UNLOCKED((lvar).lock.lock) }
+
 #define DEFINE_LOCAL_IRQ_LOCK(lvar)					\
 	DEFINE_PER_CPU(struct local_irq_lock, lvar) = {			\
 		.lock = __SPIN_LOCK_UNLOCKED((lvar).lock) }
@@ -256,6 +258,9 @@ static inline int __local_unlock_irqrestore(struct local_irq_lock *lv,
 
 #else /* PREEMPT_RT_BASE */
 
+struct local_irq_lock { };
+#define INIT_LOCAL_LOCK(lvar)			{ }
+
 #define DEFINE_LOCAL_IRQ_LOCK(lvar)		__typeof__(const int) lvar
 #define DECLARE_LOCAL_IRQ_LOCK(lvar)		extern __typeof__(const int) lvar
 
Signature · 4 lines
2.37.2


Sebastian
author
#3 lore raw

Re: [ANNOUNCE] 4.9.327-rt197

Quoted 78 lines · Sebastian Andrzej Siewior
Quoted 1 line · Mark Gross
Quoted 1 line

As this was a tricky one I request people to give a good look over.

You did good. I not so much. If you could please add the following patch on top, then it will compile also on !RT.

Thank you for work.

------->8----------

From: Sebastian Andrzej Siewior <[email protected]>
Date: Fri, 30 Sep 2022 16:55:34 +0200
Subject: [PATCH] local_lock: Provide INIT_LOCAL_LOCK().

The original code was using INIT_LOCAL_LOCK() and I tried to sneak around it and forgot that this code also needs to compile on !RT platforms.

Provide INIT_LOCAL_LOCK() to initialize properly on RT and do nothing on !RT. Let random.c use which is the only user so far and oes not compile on !RT otherwise.

---
 drivers/char/random.c     | 4 ++--
 include/linux/locallock.h | 5 +++++
 2 files changed, 7 insertions(+), 2 deletions(-)
drivers/char/random.c +2 -2
index daea466812fed..86c475f70343d 100644
@@ -236,7 +236,7 @@ struct crng {
 
 static DEFINE_PER_CPU(struct crng, crngs) = {
 	.generation = ULONG_MAX,
-	.lock.lock = __SPIN_LOCK_UNLOCKED(crngs.lock.lock),
+	.lock = INIT_LOCAL_LOCK(crngs.lock),
 };
 
 /* Used by crng_reseed() and crng_make_state() to extract a new seed from the input pool. */
@@ -515,7 +515,7 @@ struct batch_ ##type {								\
 };										\
 										\
 static DEFINE_PER_CPU(struct batch_ ##type, batched_entropy_ ##type) = {	\
-	.lock.lock = __SPIN_LOCK_UNLOCKED(batched_entropy_ ##type.lock.lock),	\
+	.lock = INIT_LOCAL_LOCK(batched_entropy_ ##type.lock),			\
 	.position = UINT_MAX							\
 };										\
 										\
include/linux/locallock.h +5 -0
index 0c3ff5b23f6a1..70af9a177197e 100644
@@ -22,6 +22,8 @@ struct local_irq_lock {
 	unsigned long		flags;
 };
 
+#define INIT_LOCAL_LOCK(lvar)			{ .lock = __SPIN_LOCK_UNLOCKED((lvar).lock.lock) }
+
 #define DEFINE_LOCAL_IRQ_LOCK(lvar)					\
 	DEFINE_PER_CPU(struct local_irq_lock, lvar) = {			\
 		.lock = __SPIN_LOCK_UNLOCKED((lvar).lock) }
@@ -256,6 +258,9 @@ static inline int __local_unlock_irqrestore(struct local_irq_lock *lv,
 
 #else /* PREEMPT_RT_BASE */
 
+struct local_irq_lock { };
+#define INIT_LOCAL_LOCK(lvar)			{ }
+
 #define DEFINE_LOCAL_IRQ_LOCK(lvar)		__typeof__(const int) lvar
 #define DECLARE_LOCAL_IRQ_LOCK(lvar)		extern __typeof__(const int) lvar
 
Signature · 4 lines
2.37.2


Sebastian

Thanks! I've applied this and starting some testing. I've also pushed the update to v4.9-rt-next if anyone feels like giving a spin before I make the release.

I think I'll finally get the release done in the next few days.

--mark

#4 lore raw

Re: [ANNOUNCE] 4.9.327-rt197

In reply to Mark Gross

Hei Mark,

Am Fri, Sep 23, 2022 at 01:03:24PM -0700 schrieb Mark Gross:

Quoted 3 lines

Hello RT-list!

I'm pleased to announce the 4.9.327-rt197 stable release.

My MUA shows the identical Message-ID for your mail on 4.9.327-rt197 as for your mail on 4.9.312-rt193 which you send back on Thu, 12 May 2022 17:46:22 -0700:

<165222469651.210737.17409564443317121708@T470>

How is this even possible? Maybe some issue with some release script?

I only notice because mutt marked the second one as duplicate.

Greets
Alex

Quoted 26 lines

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

branch: v4.9-rt-next
Head SHA1: d47e3fd2615dbd0aa6eac3745cd209fdd93a868a

This rebase was a tricky one. Sebastian provided some patches and I was too dense to figure out where and how to apply them. My colleague Junxiao did the following and I replicated the steps.
1) convert the v4.9-rt-rebase branch into a quilt series.
2) applied the series to v4.9.327 skipping patches where changes to the random number logic has conflicts.
3) apply the patches Sebastian provided.
4) git quiltimport and pushed it to the above branch.

It seems to compile and it passes the RT BAT testing Junxiao does.

As this was a tricky one I request people to give a good look over.

Enjoy!
Mark Gross

author
#5 lore raw

Re: [ANNOUNCE] 4.9.327-rt197

Quoted 7 lines · Alexander Dahl

Hei Mark,

Am Fri, Sep 23, 2022 at 01:03:24PM -0700 schrieb Mark Gross:

Quoted 3 lines

Hello RT-list!

I'm pleased to announce the 4.9.327-rt197 stable release.

Quoted 7 lines

My MUA shows the identical Message-ID for your mail on 4.9.327-rt197 as for your mail on 4.9.312-rt193 which you send back on Thu, 12 May 2022 17:46:22 -0700:

<165222469651.210737.17409564443317121708@T470>

How is this even possible? Maybe some issue with some release script?

my workflow normally creates a new "anounce-rt" file and because this time I was pushing a -next because of merge conflicts I resued my last anounce-rt file (Message ID and all) and used "mutt -H announce-rt " to send the message.

I should have been more careful.

Sorry for my laziness.

--mark

Quoted 2 lines

I only notice because mutt marked the second one as duplicate.

I also use mutt.

Quoted 30 lines

Greets
Alex

Quoted 26 lines

You can get this release via the git tree at:

git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

branch: v4.9-rt-next
Head SHA1: d47e3fd2615dbd0aa6eac3745cd209fdd93a868a

This rebase was a tricky one. Sebastian provided some patches and I was too dense to figure out where and how to apply them. My colleague Junxiao did the following and I replicated the steps.
1) convert the v4.9-rt-rebase branch into a quilt series.
2) applied the series to v4.9.327 skipping patches where changes to the random number logic has conflicts.
3) apply the patches Sebastian provided.
4) git quiltimport and pushed it to the above branch.

It seems to compile and it passes the RT BAT testing Junxiao does.

As this was a tricky one I request people to give a good look over.

Enjoy!
Mark Gross