Skip to contentSkip to conversation

Linux 6.6.83

DISCUSSION Greg Kroah-Hartman 1 participant 2 messages Mar 13, 2025 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 6.6.83 kernel.

All users of the 6.6 kernel series must upgrade.

The updated 6.6.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.6.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Makefile                                               |    7 
 arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts  |    1 
 arch/arm64/include/asm/hugetlb.h                       |    4 
 arch/arm64/mm/hugetlbpage.c                            |   61 ++---
 arch/loongarch/include/asm/hugetlb.h                   |    6 
 arch/loongarch/kernel/machine_kexec.c                  |    4 
 arch/loongarch/kernel/setup.c                          |    3 
 arch/loongarch/kernel/smp.c                            |   47 +++-
 arch/mips/include/asm/hugetlb.h                        |    6 
 arch/parisc/include/asm/hugetlb.h                      |    2 
 arch/parisc/mm/hugetlbpage.c                           |    2 
 arch/powerpc/include/asm/hugetlb.h                     |    6 
 arch/powerpc/kvm/e500_mmu_host.c                       |   21 +
 arch/riscv/include/asm/cpufeature.h                    |    1 
 arch/riscv/include/asm/csr.h                           |    3 
 arch/riscv/include/asm/hugetlb.h                       |    3 
 arch/riscv/include/asm/hwcap.h                         |   16 +
 arch/riscv/kernel/cacheinfo.c                          |   54 +++-
 arch/riscv/kernel/cpufeature.c                         |    6 
 arch/riscv/kernel/setup.c                              |    6 
 arch/riscv/kernel/smpboot.c                            |    4 
 arch/riscv/mm/hugetlbpage.c                            |    2 
 arch/s390/include/asm/hugetlb.h                        |   17 +
 arch/s390/kernel/traps.c                               |    6 
 arch/s390/mm/hugetlbpage.c                             |    4 
 arch/sparc/include/asm/hugetlb.h                       |    2 
 arch/sparc/mm/hugetlbpage.c                            |    2 
 arch/x86/boot/compressed/acpi.c                        |   14 -
 arch/x86/boot/compressed/cmdline.c                     |    4 
 arch/x86/boot/compressed/ident_map_64.c                |    7 
 arch/x86/boot/compressed/kaslr.c                       |   26 +-
 arch/x86/boot/compressed/mem.c                         |    6 
 arch/x86/boot/compressed/misc.c                        |   26 +-
 arch/x86/boot/compressed/misc.h                        |    1 
 arch/x86/boot/compressed/pgtable_64.c                  |   11 
 arch/x86/boot/compressed/sev.c                         |    2 
 arch/x86/include/asm/boot.h                            |    2 
 arch/x86/include/asm/spec-ctrl.h                       |   11 
 arch/x86/kernel/amd_nb.c                               |    9 
 arch/x86/kernel/cpu/cacheinfo.c                        |    2 
 arch/x86/kernel/cpu/intel.c                            |   52 +++-
 arch/x86/kernel/cpu/microcode/amd.c                    |    6 
 arch/x86/kernel/cpu/sgx/ioctl.c                        |    7 
 arch/x86/kvm/cpuid.c                                   |    2 
 arch/x86/kvm/svm/svm.c                                 |   21 +
 arch/x86/kvm/svm/svm.h                                 |    2 
 arch/x86/mm/init.c                                     |   23 +
 block/partitions/efi.c                                 |    2 
 drivers/base/core.c                                    |    1 
 drivers/block/ublk_drv.c                               |    7 
 drivers/bluetooth/btusb.c                              |    1 
 drivers/bus/mhi/host/pci_generic.c                     |    5 
 drivers/cdx/cdx.c                                      |    6 
 drivers/char/misc.c                                    |    2 
 drivers/firmware/efi/libstub/x86-stub.c                |    2 
 drivers/firmware/efi/libstub/x86-stub.h                |    2 
 drivers/firmware/efi/mokvar-table.c                    |   42 +--
 drivers/gpio/gpio-aggregator.c                         |   20 +
 drivers/gpio/gpio-rcar.c                               |   31 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c             |   11 
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c      |    3 
 drivers/gpu/drm/i915/display/icl_dsi.c                 |    4 
 drivers/gpu/drm/i915/display/intel_ddi.c               |   46 +++
 drivers/gpu/drm/i915/i915_reg.h                        |    4 
 drivers/gpu/drm/radeon/r300.c                          |    3 
 drivers/gpu/drm/radeon/radeon_asic.h                   |    1 
 drivers/gpu/drm/radeon/rs400.c                         |   18 +
 drivers/gpu/drm/scheduler/gpu_scheduler_trace.h        |    4 
 drivers/hid/hid-appleir.c                              |    2 
 drivers/hid/hid-google-hammer.c                        |    2 
 drivers/hid/hid-steam.c                                |    2 
 drivers/hid/intel-ish-hid/ishtp-hid.c                  |    4 
 drivers/hwmon/ad7314.c                                 |   10 
 drivers/hwmon/ntc_thermistor.c                         |   66 ++---
 drivers/hwmon/peci/dimmtemp.c                          |   10 
 drivers/hwmon/pmbus/pmbus.c                            |    2 
 drivers/hwmon/xgene-hwmon.c                            |    2 
 drivers/hwtracing/intel_th/pci.c                       |   15 +
 drivers/iio/adc/at91-sama5d2_adc.c                     |   68 +++--
 drivers/iio/dac/ad3552r.c                              |    6 
 drivers/iio/filter/admv8818.c                          |   14 -
 drivers/misc/cardreader/rtsx_usb.c                     |   15 -
 drivers/misc/eeprom/digsy_mtc_eeprom.c                 |    2 
 drivers/misc/mei/hw-me-regs.h                          |    2 
 drivers/misc/mei/pci-me.c                              |    2 
 drivers/net/caif/caif_virtio.c                         |    2 
 drivers/net/dsa/mt7530.c                               |    8 
 drivers/net/ethernet/emulex/benet/be.h                 |    2 
 drivers/net/ethernet/emulex/benet/be_cmds.c            |  197 ++++++++---------
 drivers/net/ethernet/emulex/benet/be_main.c            |    2 
 drivers/net/ethernet/freescale/enetc/enetc.c           |   25 +-
 drivers/net/ethernet/freescale/enetc/enetc.h           |    9 
 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c   |   27 +-
 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c |    2 
 drivers/net/ethernet/ibm/ibmvnic.c                     |   21 +
 drivers/net/ipa/data/ipa_data-v4.7.c                   |   18 -
 drivers/net/ppp/ppp_generic.c                          |   28 +-
 drivers/net/wireless/intel/iwlwifi/iwl-drv.c           |    2 
 drivers/nvme/target/tcp.c                              |   15 -
 drivers/of/of_reserved_mem.c                           |    4 
 drivers/platform/x86/thinkpad_acpi.c                   |    1 
 drivers/rapidio/devices/rio_mport_cdev.c               |    3 
 drivers/rapidio/rio-scan.c                             |    5 
 drivers/slimbus/messaging.c                            |    5 
 drivers/spi/spi-mxs.c                                  |    3 
 drivers/usb/atm/cxacru.c                               |   13 -
 drivers/usb/core/hub.c                                 |   33 ++
 drivers/usb/core/quirks.c                              |    4 
 drivers/usb/dwc3/core.c                                |   85 ++++---
 drivers/usb/dwc3/core.h                                |    2 
 drivers/usb/dwc3/drd.c                                 |    4 
 drivers/usb/dwc3/gadget.c                              |   10 
 drivers/usb/gadget/composite.c                         |   17 +
 drivers/usb/gadget/function/u_ether.c                  |    4 
 drivers/usb/host/xhci-mem.c                            |    3 
 drivers/usb/host/xhci-pci.c                            |   18 -
 drivers/usb/host/xhci.h                                |    2 
 drivers/usb/renesas_usbhs/common.c                     |    6 
 drivers/usb/renesas_usbhs/mod_gadget.c                 |    2 
 drivers/usb/typec/tcpm/tcpci_rt1711h.c                 |   11 
 drivers/usb/typec/ucsi/ucsi.c                          |   15 -
 drivers/virt/acrn/hsm.c                                |    6 
 fs/exfat/balloc.c                                      |   10 
 fs/exfat/exfat_fs.h                                    |    2 
 fs/exfat/fatent.c                                      |   11 
 fs/nfs/direct.c                                        |   19 +
 fs/nfs/file.c                                          |    3 
 fs/smb/client/inode.c                                  |    4 
 fs/smb/server/smb2pdu.c                                |    8 
 fs/smb/server/smbacl.c                                 |   16 +
 fs/smb/server/transport_ipc.c                          |    1 
 include/asm-generic/hugetlb.h                          |    2 
 include/linux/compaction.h                             |    5 
 include/linux/hugetlb.h                                |    4 
 include/linux/sched.h                                  |    2 
 kernel/events/core.c                                   |    4 
 kernel/events/uprobes.c                                |    2 
 kernel/sched/fair.c                                    |    6 
 kernel/trace/trace_fprobe.c                            |    2 
 kernel/trace/trace_probe.h                             |    1 
 mm/compaction.c                                        |    3 
 mm/hugetlb.c                                           |    4 
 mm/kmsan/hooks.c                                       |    1 
 mm/memory.c                                            |    6 
 mm/page_alloc.c                                        |    1 
 mm/vmalloc.c                                           |    4 
 net/8021q/vlan.c                                       |    3 
 net/bluetooth/mgmt.c                                   |    5 
 net/ipv4/tcp_offload.c                                 |   11 
 net/ipv4/udp_offload.c                                 |    8 
 net/ipv6/ila/ila_lwt.c                                 |    4 
 net/llc/llc_s_ac.c                                     |   49 ++--
 net/mptcp/pm_netlink.c                                 |   18 +
 net/sched/sch_fifo.c                                   |    3 
 net/wireless/nl80211.c                                 |    5 
 net/wireless/reg.c                                     |    3 
 security/integrity/ima/ima_main.c                      |    7 
 security/integrity/integrity.h                         |    3 
 sound/core/seq/seq_clientmgr.c                         |   46 ++-
 sound/pci/hda/Kconfig                                  |    1 
 sound/pci/hda/hda_intel.c                              |    2 
 sound/pci/hda/patch_realtek.c                          |   99 ++++++++
 sound/usb/usx2y/usbusx2y.c                             |   11 
 sound/usb/usx2y/usbusx2y.h                             |   26 ++
 sound/usb/usx2y/usbusx2yaudio.c                        |   27 --
 usr/include/Makefile                                   |    2 
 166 files changed, 1330 insertions(+), 707 deletions(-)

Ahmed S. Darwish (3):

      x86/cacheinfo: Validate CPUID leaf 0x2 EDX output
      x86/cpu: Validate CPUID leaf 0x2 EDX output
      x86/cpu: Properly parse CPUID leaf 0x2 TLB descriptor 0x63

Alex Deucher (1):
drm/amdgpu: disable BAR resize on Dell G5 SE

Alexander Shishkin (2):
intel_th: pci: Add Panther Lake-H support
intel_th: pci: Add Panther Lake-P/U support

Alexander Usyskin (1):
mei: me: add panther lake P DID

Andrei Kuchynski (1):
usb: typec: ucsi: Fix NULL pointer access

Andrew Cooper (1):
x86/amd_nb: Use rdmsr_safe() in amd_get_mmconfig_range()

Andrew Jones (1):
RISC-V: Enable cbo.zero in usermode

Andy Shevchenko (2):
xhci: pci: Fix indentation in the PCI device ID definitions
eeprom: digsy_mtc: Make GPIO lookup table match the device

Angelo Dureghello (1):
iio: dac: ad3552r: clear reset status flag

AngeloGioacchino Del Regno (1):
usb: typec: tcpci_rt1711h: Unmask alert interrupts to fix functionality

Antoine Tenart (1):
net: gso: fix ownership in __udp_gso_segment

Ard Biesheuvel (2):
x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr' x86/boot: Sanitize boot params before parsing command line

Arnd Bergmann (2):
kbuild: hdrcheck: fix cross build with clang
ALSA: hda: realtek: fix incorrect IS_REACHABLE() usage

Badhri Jagan Sridharan (1):
usb: dwc3: gadget: Prevent irq storm when TH re-executes

Bibo Mao (1):
LoongArch: Set max_pfn with the PFN of the last page

Borislav Petkov (AMD) (1):
x86/microcode/AMD: Add some forgotten models to the SHA check

Christian Heusel (1):
Revert "drivers/card_reader/rtsx_usb: Restore interrupt based detection"

Claudiu Beznea (3):
usb: renesas_usbhs: Call clk_put()
usb: renesas_usbhs: Use devm_usb_get_phy()
usb: renesas_usbhs: Flush the notify_hotplug_work

Daniil Dulov (1):
HID: appleir: Fix potential NULL dereference at raw event handle

Eric Dumazet (1):
llc: do not use skb_get() before dev_queue_xmit()

Erik Schumacher (1):
hwmon: (ad7314) Validate leading zero bits and return error

Fabrizio Castro (1):
gpio: rcar: Fix missing of_node_put() call

Farouk Bouabid (1):
arm64: dts: rockchip: add rs485 support on uart5 of px30-ringneck-haikou

Fedor Pchelkin (1):
usb: typec: ucsi: increase timeout for PPM reset operations

Gal Pressman (1):
net: enetc: Remove setting of RX software timestamp

Greg Kroah-Hartman (5):
Revert "KVM: e500: always restore irqs"
Revert "KVM: PPC: e500: Use __kvm_faultin_pfn() to handle page faults" Revert "KVM: PPC: e500: Mark "struct page" pfn accessed before dropping mmu_lock" Revert "KVM: PPC: e500: Mark "struct page" dirty in kvmppc_e500_shadow_map()" Linux 6.6.83

Hao Zhang (1):
mm/page_alloc: fix uninitialized variable

Haoxiang Li (4):
Bluetooth: Add check for mgmt_alloc_skb() in mgmt_remote_name()
Bluetooth: Add check for mgmt_alloc_skb() in mgmt_device_connected()
rapidio: add check for rio_add_net() in rio_scan_alloc_net()
rapidio: fix an API misues when rio_add_net() fails

Haoyu Li (1):
drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl

Heiko Carstens (1):
s390/traps: Fix test_monitor_call() inline assembly

Hoku Ishibe (1):
ALSA: hda: intel: Add Dell ALC3271 to power_save denylist

Huacai Chen (1):
LoongArch: Use polling play_dead() when resuming from hibernation

Imre Deak (2):
drm/i915/ddi: Fix HDMI port width programming in DDI_BUF_CTL drm/i915/dsi: Use TRANS_DDI_FUNC_CTL's own port width macro

Jarkko Sakkinen (1):
x86/sgx: Fix size overflows in sgx_encl_create()

Jason Xing (1):
net-timestamp: support TCP GSO case for a few missing flags

Jiayuan Chen (1):
ppp: Fix KMSAN uninit-value warning with bpf

Jiri Olsa (1):
uprobes: Fix race in uprobe_free_utask

Johannes Berg (1):
wifi: iwlwifi: limit printed string from FW file

Justin Iurman (2):
net: ipv6: fix dst ref loop in ila lwtunnel
net: ipv6: fix missing dst ref drop in ila lwtunnel

Kailang Yang (2):
ALSA: hda/realtek - add supported Mic Mute LED for Lenovo platform
ALSA: hda/realtek: update ALC222 depop optimize

Koichiro Den (1):
gpio: aggregator: protect driver attr handlers against module unload

Krister Johansen (1):
mptcp: fix 'scheduling while atomic' in mptcp_pm_nl_append_new_local_addr

Lorenzo Bianconi (1):
net: dsa: mt7530: Fix traffic flooding for MMIO devices

Luca Ceresoli (1):
drivers: core: fix device leak in __fw_devlink_relax_cycles()

Luca Weiss (3):
net: ipa: Fix v4.7 resource group names
net: ipa: Fix QSB data for v4.7
net: ipa: Enable checksum for IPA_ENDPOINT_AP_MODEM_{RX,TX} for v4.7

Lucas De Marchi (1):
drm/i915/xe2lpd: Move D2D enable/disable

Ma Jun (1):
drm/amdgpu: Check extended configuration space register when system uses large bar

Ma Ke (1):

      drm/amd/display: Fix null check for pipe_ctx->plane_state in resource_build_scaling_params

Manivannan Sadhasivam (1):
bus: mhi: host: pci_generic: Use pci_try_reset_function() to avoid deadlock

Marek Szyprowski (1):
usb: gadget: Fix setting self-powered state on suspend

Martyn Welch (1):
net: enetc: Replace ifdef with IS_ENABLED

Masami Hiramatsu (Google) (2):
tracing: tprobe-events: Fix a memory leak when tprobe with $retval
tracing: probe-events: Remove unused MAX_ARG_BUF_LEN macro

Maud Spierings (1):
hwmon: (ntc_thermistor) Fix the ncpXXxh103 sensor table

Meir Elisha (1):
nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch

Miao Li (1):
usb: quirks: Add DELAY_INIT and NO_LPM for Prolific Mass Storage Card Reader

Michal Pecio (1):
usb: xhci: Enable the TRB overfetch quirk on VIA VL805

Mike Snitzer (1):
NFS: fix nfs_release_folio() to not deadlock via kcompactd writeback

Mingcong Bai (1):
platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e

Miquel Sabaté Solà (1):
riscv: Prevent a bad reference count on CPU nodes

Murad Masimov (1):
ALSA: usx2y: validate nrpacks module parameter on probe

Namjae Jeon (5):
ksmbd: fix type confusion via race condition when using ipc_msg_send_request
ksmbd: fix out-of-bounds in parse_sec_desc()
ksmbd: fix use-after-free in smb2_lock
ksmbd: fix bug on trap in smb2_lock
exfat: fix soft lockup in exfat_clear_bitmap

Nayab Sayed (1):
iio: adc: at91-sama5d2_adc: fix sama7g5 realbits value

Nick Child (2):
ibmvnic: Perform tx CSO during send scrq direct
ibmvnic: Inspect header requirements before using scrq direct

Nikita Zhandarovich (2):
wifi: cfg80211: regulatory: improve invalid hints checking
usb: atm: cxacru: fix a flaw in existing endpoint checks

Niklas Söderlund (1):
gpio: rcar: Use raw_spinlock to protect register access

Nikolay Aleksandrov (1):
be2net: fix sleeping while atomic bugs in be_ndo_bridge_getlink

Olivier Gayot (1):
block: fix conversion of GPT partition name to 7-bit

Oscar Maes (1):
vlan: enforce underlying device type

Paul Fertser (1):
hwmon: (peci/dimmtemp) Do not provide fake thresholds data

Paulo Alcantara (1):
smb: client: fix chmod(2) regression with ATTR_READONLY

Pawel Chmielewski (1):
intel_th: pci: Add Arrow Lake support

Pawel Laszczak (1):
usb: hub: lack of clearing xHC resources

Peiyang Wang (1):
net: hns3: make sure ptp clock is unregister and freed if hclge_ptp_get_cycle returns an error

Peter Jones (1):
efi: Don't map the entire mokvar table to determine its size

Peter Zijlstra (1):
perf/core: Fix pmus_lock vs. pmus_srcu ordering

Philipp Stanner (1):
drm/sched: Fix preprocessor guard

Prashanth K (3):
usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails
usb: gadget: Set self-powered based on MaxPower and bmAttributes
usb: gadget: Check bmAttributes only if configuration is valid

Qiu-ji Chen (1):
cdx: Fix possible UAF error in driver_override_show()

Quang Le (1):

      pfifo_tail_enqueue: Drop new packet when sch->limit == 0

Ralf Schlatterbeck (1):
spi-mxs: Fix chipselect glitch

Richard Thier (1):
drm/radeon: Fix rs400_gpu_init for ATI mobility radeon Xpress 200M

Rob Herring (1):
riscv: cacheinfo: Use of_property_present() for non-boolean properties

Rob Herring (Arm) (1):
Revert "of: reserved-memory: Fix using wrong number of cells to get property 'alignment'"

Roberto Sassu (1):
ima: Reset IMA_NONACTION_RULE_FLAGS after post_setattr

Ryan Roberts (3):
mm: don't skip arch_sync_kernel_mappings() in error paths
mm: hugetlb: Add huge page size param to huge_ptep_get_and_clear()
arm64: hugetlb: Fix huge_ptep_get_and_clear() for non-present ptes

Salah Triki (1):
bluetooth: btusb: Initialize .owner field of force_poll_sync_fops

Sam Winchenbach (1):
iio: filter: admv8818: Force initialization of SDO

Samuel Holland (1):
riscv: Fix enabling cbo.zero when running in M-mode

Sean Christopherson (2):
KVM: SVM: Drop DEBUGCTL[5:2] from guest's effective value
KVM: SVM: Suppress DEBUGCTL.BTF on AMD

Sebastian Andrzej Siewior (1):
dma: kmsan: export kmsan_handle_dma() for modules

Takashi Iwai (1):
ALSA: seq: Avoid module auto-load handling at event delivery

Thadeu Lima de Souza Cascardo (1):
char: misc: deallocate static minor in error path

Thinh Nguyen (1):
usb: dwc3: Set SUSPENDENABLE soon after phy init

Thomas Weißschuh (1):
kbuild: userprogs: use correct lld when linking through clang

Tiezhu Yang (1):
LoongArch: Convert unreachable() to BUG()

Titus Rwantare (1):
hwmon: (pmbus) Initialise page count in pmbus_identify()

Trond Myklebust (1):
NFS: O_DIRECT writes must check and adjust the file length

Uday Shankar (1):
ublk: set_params: properly check if parameters can be applied

Vicki Pfau (1):
HID: hid-steam: Fix use-after-free when detaching device

Visweswara Tanuku (1):
slimbus: messaging: Free transaction ID in delayed interrupt scenario

Vitaliy Shevtsov (2):
wifi: nl80211: reject cooked mode if it is set along with other flags
caif_virtio: fix wrong pointer check in cfv_probe()

Waiman Long (1):
x86/speculation: Add __update_spec_ctrl() helper

Wei Fang (1):
net: enetc: VFs do not support HWTSTAMP_TX_ONESTEP_SYNC

Xi Ruoyao (1):
x86/mm: Don't disable PCID when INVLPG has been fixed by microcode

Xiaoyao Li (1):
KVM: x86: Explicitly zero EAX and EBX when PERFMON_V2 isn't supported by KVM

Xinghuo Chen (1):
hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe()

Yong-Xuan Wang (1):
riscv: signal: fix signal_minsigstksz

Yu-Chun Lin (1):
HID: google: fix unused variable warning under !CONFIG_ACPI

Yunhui Cui (2):
riscv: cacheinfo: remove the useless input parameter (node) of ci_leaf_init()
riscv: cacheinfo: initialize cacheinfo's level and type from ACPI PPTT

Zecheng Li (1):
sched/fair: Fix potential memory corruption in child_cfs_rq_on_list

Zhang Lixu (1):
HID: intel-ish-hid: Fix use-after-free issue in ishtp_hid_remove()

author maintainer
#1 lore raw
Makefile +6 -1
index bca0f2e14c5c..59060f58cfef 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 6
 PATCHLEVEL = 6
-SUBLEVEL = 82
+SUBLEVEL = 83
 EXTRAVERSION =
 NAME = Pinguïn Aangedreven
 
@@ -1057,6 +1057,11 @@ endif
 KBUILD_USERCFLAGS  += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS))
 KBUILD_USERLDFLAGS += $(filter -m32 -m64 --target=%, $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS))
 
+# userspace programs are linked via the compiler, use the correct linker
+ifeq ($(CONFIG_CC_IS_CLANG)$(CONFIG_LD_IS_LLD),yy)
+KBUILD_USERLDFLAGS += $(call cc-option, --ld-path=$(LD))
+endif
+
 # make the checker run with the right architecture
 CHECKFLAGS += --arch=$(ARCH)
 
arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts +1 -0
index de0a1f2af983..56f73c17363f 100644
@@ -226,6 +226,7 @@ &uart0 {
 
 &uart5 {
 	pinctrl-0 = <&uart5_xfer>;
+	rts-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 };
 
arch/arm64/include/asm/hugetlb.h +2 -2
index 2ddc33d93b13..92a5e0879b11 100644
@@ -34,8 +34,8 @@ extern int huge_ptep_set_access_flags(struct vm_area_struct *vma,
 				      unsigned long addr, pte_t *ptep,
 				      pte_t pte, int dirty);
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
-extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-				     unsigned long addr, pte_t *ptep);
+extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
+				     pte_t *ptep, unsigned long sz);
 #define __HAVE_ARCH_HUGE_PTEP_SET_WRPROTECT
 extern void huge_ptep_set_wrprotect(struct mm_struct *mm,
 				    unsigned long addr, pte_t *ptep);
arch/arm64/mm/hugetlbpage.c +25 -36

106 lines not on this page · raw message

arch/loongarch/include/asm/hugetlb.h +4 -2
index 427b487fbfd6..7b88eda0ac7e 100644
@@ -41,7 +41,8 @@ static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-					    unsigned long addr, pte_t *ptep)
+					    unsigned long addr, pte_t *ptep,
+					    unsigned long sz)
 {
 	pte_t clear;
 	pte_t pte = *ptep;
@@ -56,8 +57,9 @@ static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
 					  unsigned long addr, pte_t *ptep)
 {
 	pte_t pte;
+	unsigned long sz = huge_page_size(hstate_vma(vma));
 
-	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
+	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep, sz);
 	flush_tlb_page(vma, addr);
 	return pte;
 }
arch/loongarch/kernel/machine_kexec.c +2 -2
index 2dcb9e003657..30aa420610a0 100644
@@ -126,14 +126,14 @@ void kexec_reboot(void)
 	/* All secondary cpus go to kexec_smp_wait */
 	if (smp_processor_id() > 0) {
 		relocated_kexec_smp_wait(NULL);
-		unreachable();
+		BUG();
 	}
 #endif
 
 	do_kexec = (void *)reboot_code_buffer;
 	do_kexec(efi_boot, cmdline_ptr, systable_ptr, start_addr, first_ind_entry);
 
-	unreachable();
+	BUG();
 }
 
 
arch/loongarch/kernel/setup.c +3 -0
index 7ef1c1ff1fc4..655dc2b1616f 100644
@@ -400,6 +400,9 @@ static void __init check_kernel_sections_mem(void)
  */
 static void __init arch_mem_init(char **cmdline_p)
 {
+	/* Recalculate max_low_pfn for "mem=xxx" */
+	max_pfn = max_low_pfn = PHYS_PFN(memblock_end_of_DRAM());
+
 	if (usermem)
 		pr_info("User-defined physical RAM map overwrite\n");
 
arch/loongarch/kernel/smp.c +46 -1

65 lines not on this page · raw message

arch/mips/include/asm/hugetlb.h +4 -2
index fd69c8808554..00ee3c036630 100644
@@ -32,7 +32,8 @@ static inline int prepare_hugepage_range(struct file *file,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-					    unsigned long addr, pte_t *ptep)
+					    unsigned long addr, pte_t *ptep,
+					    unsigned long sz)
 {
 	pte_t clear;
 	pte_t pte = *ptep;
@@ -47,13 +48,14 @@ static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
 					  unsigned long addr, pte_t *ptep)
 {
 	pte_t pte;
+	unsigned long sz = huge_page_size(hstate_vma(vma));
 
 	/*
 	 * clear the huge pte entry firstly, so that the other smp threads will
 	 * not get old pte entry after finishing flush_tlb_page and before
 	 * setting new huge pte entry
 	 */
-	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
+	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep, sz);
 	flush_tlb_page(vma, addr);
 	return pte;
 }
arch/parisc/include/asm/hugetlb.h +1 -1
index 72daacc472a0..f7a91411dcc9 100644
@@ -10,7 +10,7 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
-			      pte_t *ptep);
+			      pte_t *ptep, unsigned long sz);
 
 /*
  * If the arch doesn't supply something else, assume that hugepage
arch/parisc/mm/hugetlbpage.c +1 -1
index a9f7e21f6656..9e8da00e55f6 100644
@@ -147,7 +147,7 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 
 
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
-			      pte_t *ptep)
+			      pte_t *ptep, unsigned long sz)
 {
 	pte_t entry;
 
arch/powerpc/include/asm/hugetlb.h +4 -2
index 8d8f4909ae1a..167c66c4e9ea 100644
@@ -46,7 +46,8 @@ void hugetlb_free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-					    unsigned long addr, pte_t *ptep)
+					    unsigned long addr, pte_t *ptep,
+					    unsigned long sz)
 {
 	return __pte(pte_update(mm, addr, ptep, ~0UL, 0, 1));
 }
@@ -56,8 +57,9 @@ static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
 					  unsigned long addr, pte_t *ptep)
 {
 	pte_t pte;
+	unsigned long sz = huge_page_size(hstate_vma(vma));
 
-	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
+	pte = huge_ptep_get_and_clear(vma->vm_mm, addr, ptep, sz);
 	flush_hugetlb_page(vma, addr);
 	return pte;
 }
arch/powerpc/kvm/e500_mmu_host.c +13 -8
index bd413dafbaf9..ccb8f16ffe41 100644
@@ -242,7 +242,7 @@ static inline int tlbe_is_writable(struct kvm_book3e_206_tlb_entry *tlbe)
 	return tlbe->mas7_3 & (MAS3_SW|MAS3_UW);
 }
 
-static inline bool kvmppc_e500_ref_setup(struct tlbe_ref *ref,
+static inline void kvmppc_e500_ref_setup(struct tlbe_ref *ref,
 					 struct kvm_book3e_206_tlb_entry *gtlbe,
 					 kvm_pfn_t pfn, unsigned int wimg)
 {
@@ -252,7 +252,11 @@ static inline bool kvmppc_e500_ref_setup(struct tlbe_ref *ref,
 	/* Use guest supplied MAS2_G and MAS2_E */
 	ref->flags |= (gtlbe->mas2 & MAS2_ATTRIB_MASK) | wimg;
 
-	return tlbe_is_writable(gtlbe);
+	/* Mark the page accessed */
+	kvm_set_pfn_accessed(pfn);
+
+	if (tlbe_is_writable(gtlbe))
+		kvm_set_pfn_dirty(pfn);
 }
 
 static inline void kvmppc_e500_ref_release(struct tlbe_ref *ref)
@@ -322,7 +326,6 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 {
 	struct kvm_memory_slot *slot;
 	unsigned long pfn = 0; /* silence GCC warning */
-	struct page *page = NULL;
 	unsigned long hva;
 	int pfnmap = 0;
 	int tsize = BOOK3E_PAGESZ_4K;
@@ -334,7 +337,6 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 	unsigned int wimg = 0;
 	pgd_t *pgdir;
 	unsigned long flags;
-	bool writable = false;
 
 	/* used to check for invalidations in progress */
 	mmu_seq = kvm->mmu_invalidate_seq;
@@ -444,7 +446,7 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 
 	if (likely(!pfnmap)) {
 		tsize_pages = 1UL << (tsize + 10 - PAGE_SHIFT);
-		pfn = __kvm_faultin_pfn(slot, gfn, FOLL_WRITE, NULL, &page);
+		pfn = gfn_to_pfn_memslot(slot, gfn);
 		if (is_error_noslot_pfn(pfn)) {
 			if (printk_ratelimit())
 				pr_err("%s: real page not found for gfn %lx\n",
@@ -479,6 +481,7 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 		if (pte_present(pte)) {
 			wimg = (pte_val(pte) >> PTE_WIMGE_SHIFT) &
 				MAS2_WIMGE_MASK;
+			local_irq_restore(flags);
 		} else {
 			local_irq_restore(flags);
 			pr_err_ratelimited("%s: pte not present: gfn %lx,pfn %lx\n",
@@ -487,9 +490,8 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 			goto out;
 		}
 	}
-	local_irq_restore(flags);
+	kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg);
 
-	writable = kvmppc_e500_ref_setup(ref, gtlbe, pfn, wimg);
 	kvmppc_e500_setup_stlbe(&vcpu_e500->vcpu, gtlbe, tsize,
 				ref, gvaddr, stlbe);
 
@@ -497,8 +499,11 @@ static inline int kvmppc_e500_shadow_map(struct kvmppc_vcpu_e500 *vcpu_e500,
 	kvmppc_mmu_flush_icache(pfn);
 
 out:
-	kvm_release_faultin_page(kvm, page, !!ret, writable);
 	spin_unlock(&kvm->mmu_lock);
+
+	/* Drop refcount on page, so that mmu notifiers can clear it */
+	kvm_release_pfn_clean(pfn);
+
 	return ret;
 }
 
arch/riscv/include/asm/cpufeature.h +1 -0
index d0345bd659c9..13b7d35648a9 100644
@@ -31,5 +31,6 @@ DECLARE_PER_CPU(long, misaligned_access_speed);
 extern struct riscv_isainfo hart_isa[NR_CPUS];
 
 void check_unaligned_access(int cpu);
+void riscv_user_isa_enable(void);
 
 #endif
arch/riscv/include/asm/csr.h +3 -0
index 777cb8299551..4b61a033fd33 100644
@@ -275,6 +275,7 @@
 #define CSR_SIE			0x104
 #define CSR_STVEC		0x105
 #define CSR_SCOUNTEREN		0x106
+#define CSR_SENVCFG		0x10a
 #define CSR_SSCRATCH		0x140
 #define CSR_SEPC		0x141
 #define CSR_SCAUSE		0x142
@@ -397,6 +398,7 @@
 # define CSR_STATUS	CSR_MSTATUS
 # define CSR_IE		CSR_MIE
 # define CSR_TVEC	CSR_MTVEC
+# define CSR_ENVCFG	CSR_MENVCFG
 # define CSR_SCRATCH	CSR_MSCRATCH
 # define CSR_EPC	CSR_MEPC
 # define CSR_CAUSE	CSR_MCAUSE
@@ -421,6 +423,7 @@
 # define CSR_STATUS	CSR_SSTATUS
 # define CSR_IE		CSR_SIE
 # define CSR_TVEC	CSR_STVEC
+# define CSR_ENVCFG	CSR_SENVCFG
 # define CSR_SCRATCH	CSR_SSCRATCH
 # define CSR_EPC	CSR_SEPC
 # define CSR_CAUSE	CSR_SCAUSE
arch/riscv/include/asm/hugetlb.h +2 -1
index 22deb7a2a6ec..0e809026b6e3 100644
@@ -28,7 +28,8 @@ void set_huge_pte_at(struct mm_struct *mm,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-			      unsigned long addr, pte_t *ptep);
+			      unsigned long addr, pte_t *ptep,
+			      unsigned long sz);
 
 #define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH
 pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
arch/riscv/include/asm/hwcap.h +16 -0
index f4157034efa9..e215d3399a17 100644
@@ -70,6 +70,7 @@
 #ifndef __ASSEMBLY__
 
 #include <linux/jump_label.h>
+#include <asm/cpufeature.h>
 
 unsigned long riscv_get_elf_hwcap(void);
 
@@ -137,6 +138,21 @@ riscv_has_extension_unlikely(const unsigned long ext)
 	return true;
 }
 
+static __always_inline bool riscv_cpu_has_extension_likely(int cpu, const unsigned long ext)
+{
+	if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE) && riscv_has_extension_likely(ext))
+		return true;
+
+	return __riscv_isa_extension_available(hart_isa[cpu].isa, ext);
+}
+
+static __always_inline bool riscv_cpu_has_extension_unlikely(int cpu, const unsigned long ext)
+{
+	if (IS_ENABLED(CONFIG_RISCV_ALTERNATIVE) && riscv_has_extension_unlikely(ext))
+		return true;
+
+	return __riscv_isa_extension_available(hart_isa[cpu].isa, ext);
+}
 #endif
 
 #endif /* _ASM_RISCV_HWCAP_H */
arch/riscv/kernel/cacheinfo.c +39 -15

80 lines not on this page · raw message

arch/riscv/kernel/cpufeature.c +6 -0
index bb5fb2b820a2..3f0ad09e1650 100644
@@ -676,6 +676,12 @@ static int check_unaligned_access_boot_cpu(void)
 
 arch_initcall(check_unaligned_access_boot_cpu);
 
+void riscv_user_isa_enable(void)
+{
+	if (riscv_cpu_has_extension_unlikely(smp_processor_id(), RISCV_ISA_EXT_ZICBOZ))
+		csr_set(CSR_ENVCFG, ENVCFG_CBZE);
+}
+
 #ifdef CONFIG_RISCV_ALTERNATIVE
 /*
  * Alternative patch sites consider 48 bits when determining when to patch
arch/riscv/kernel/setup.c +5 -1
index ff802d100a57..175184b05926 100644
@@ -26,6 +26,7 @@
 #include <asm/acpi.h>
 #include <asm/alternative.h>
 #include <asm/cacheflush.h>
+#include <asm/cpufeature.h>
 #include <asm/cpu_ops.h>
 #include <asm/early_ioremap.h>
 #include <asm/pgtable.h>
@@ -305,12 +306,15 @@ void __init setup_arch(char **cmdline_p)
 
 	riscv_init_cbo_blocksizes();
 	riscv_fill_hwcap();
-	init_rt_signal_env();
 	apply_boot_alternatives();
+	init_rt_signal_env();
+
 	if (IS_ENABLED(CONFIG_RISCV_ISA_ZICBOM) &&
 	    riscv_isa_extension_available(NULL, ZICBOM))
 		riscv_noncoherent_supported();
 	riscv_set_dma_cache_alignment();
+
+	riscv_user_isa_enable();
 }
 
 static int __init topology_init(void)
arch/riscv/kernel/smpboot.c +4 -0
index 1b8da4e40a4d..d1b0a6fc3adf 100644
@@ -25,6 +25,8 @@
 #include <linux/of.h>
 #include <linux/sched/task_stack.h>
 #include <linux/sched/mm.h>
+
+#include <asm/cpufeature.h>
 #include <asm/cpu_ops.h>
 #include <asm/cpufeature.h>
 #include <asm/irq.h>
@@ -253,6 +255,8 @@ asmlinkage __visible void smp_callin(void)
 			elf_hwcap &= ~COMPAT_HWCAP_ISA_V;
 	}
 
+	riscv_user_isa_enable();
+
 	/*
 	 * Remote TLB flushes are ignored while the CPU is offline, so emit
 	 * a local TLB flush right now just in case.
arch/riscv/mm/hugetlbpage.c +1 -1
index 5ef2a6891158..c9d70dc310d5 100644
@@ -293,7 +293,7 @@ int huge_ptep_set_access_flags(struct vm_area_struct *vma,
 
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
 			      unsigned long addr,
-			      pte_t *ptep)
+			      pte_t *ptep, unsigned long sz)
 {
 	pte_t orig_pte = ptep_get(ptep);
 	int pte_num;
arch/s390/include/asm/hugetlb.h +12 -5
index deb198a61039..097b388d4e69 100644
@@ -20,8 +20,15 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 		     pte_t *ptep, pte_t pte);
 pte_t huge_ptep_get(pte_t *ptep);
-pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-			      unsigned long addr, pte_t *ptep);
+pte_t __huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
+				pte_t *ptep);
+
+static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
+					    unsigned long addr, pte_t *ptep,
+					    unsigned long sz)
+{
+	return __huge_ptep_get_and_clear(mm, addr, ptep);
+}
 
 /*
  * If the arch doesn't supply something else, assume that hugepage
@@ -57,7 +64,7 @@ static inline void huge_pte_clear(struct mm_struct *mm, unsigned long addr,
 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
 					  unsigned long address, pte_t *ptep)
 {
-	return huge_ptep_get_and_clear(vma->vm_mm, address, ptep);
+	return __huge_ptep_get_and_clear(vma->vm_mm, address, ptep);
 }
 
 static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma,
@@ -66,7 +73,7 @@ static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma,
 {
 	int changed = !pte_same(huge_ptep_get(ptep), pte);
 	if (changed) {
-		huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
+		__huge_ptep_get_and_clear(vma->vm_mm, addr, ptep);
 		__set_huge_pte_at(vma->vm_mm, addr, ptep, pte);
 	}
 	return changed;
@@ -75,7 +82,7 @@ static inline int huge_ptep_set_access_flags(struct vm_area_struct *vma,
 static inline void huge_ptep_set_wrprotect(struct mm_struct *mm,
 					   unsigned long addr, pte_t *ptep)
 {
-	pte_t pte = huge_ptep_get_and_clear(mm, addr, ptep);
+	pte_t pte = __huge_ptep_get_and_clear(mm, addr, ptep);
 	__set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte));
 }
 
arch/s390/kernel/traps.c +3 -3
index 1d2aa448d103..bfedbd7fae3b 100644
@@ -276,10 +276,10 @@ static void __init test_monitor_call(void)
 		return;
 	asm volatile(
 		"	mc	0,0\n"
-		"0:	xgr	%0,%0\n"
+		"0:	lhi	%[val],0\n"
 		"1:\n"
-		EX_TABLE(0b,1b)
-		: "+d" (val));
+		EX_TABLE(0b, 1b)
+		: [val] "+d" (val));
 	if (!val)
 		panic("Monitor call doesn't work!\n");
 }
arch/s390/mm/hugetlbpage.c +2 -2
index 763469e518ee..5ebd730f1ffb 100644
@@ -174,8 +174,8 @@ pte_t huge_ptep_get(pte_t *ptep)
 	return __rste_to_pte(pte_val(*ptep));
 }
 
-pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
-			      unsigned long addr, pte_t *ptep)
+pte_t __huge_ptep_get_and_clear(struct mm_struct *mm,
+				unsigned long addr, pte_t *ptep)
 {
 	pte_t pte = huge_ptep_get(ptep);
 	pmd_t *pmdp = (pmd_t *) ptep;
arch/sparc/include/asm/hugetlb.h +1 -1
index c714ca6a05aa..e7a9cdd498dc 100644
@@ -20,7 +20,7 @@ void __set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 
 #define __HAVE_ARCH_HUGE_PTEP_GET_AND_CLEAR
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
-			      pte_t *ptep);
+			      pte_t *ptep, unsigned long sz);
 
 #define __HAVE_ARCH_HUGE_PTEP_CLEAR_FLUSH
 static inline pte_t huge_ptep_clear_flush(struct vm_area_struct *vma,
arch/sparc/mm/hugetlbpage.c +1 -1
index b432500c13a5..8dad5d0995dc 100644
@@ -371,7 +371,7 @@ void set_huge_pte_at(struct mm_struct *mm, unsigned long addr,
 }
 
 pte_t huge_ptep_get_and_clear(struct mm_struct *mm, unsigned long addr,
-			      pte_t *ptep)
+			      pte_t *ptep, unsigned long sz)
 {
 	unsigned int i, nptes, orig_shift, shift;
 	unsigned long size;
arch/x86/boot/compressed/acpi.c +7 -7
index 9caf89063e77..55c98fdd67d2 100644
@@ -30,13 +30,13 @@ __efi_get_rsdp_addr(unsigned long cfg_tbl_pa, unsigned int cfg_tbl_len)
 	 * Search EFI system tables for RSDP. Preferred is ACPI_20_TABLE_GUID to
 	 * ACPI_TABLE_GUID because it has more features.
 	 */
-	rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len,
+	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
 					  ACPI_20_TABLE_GUID);
 	if (rsdp_addr)
 		return (acpi_physical_address)rsdp_addr;
 
 	/* No ACPI_20_TABLE_GUID found, fallback to ACPI_TABLE_GUID. */
-	rsdp_addr = efi_find_vendor_table(boot_params, cfg_tbl_pa, cfg_tbl_len,
+	rsdp_addr = efi_find_vendor_table(boot_params_ptr, cfg_tbl_pa, cfg_tbl_len,
 					  ACPI_TABLE_GUID);
 	if (rsdp_addr)
 		return (acpi_physical_address)rsdp_addr;
@@ -56,15 +56,15 @@ static acpi_physical_address efi_get_rsdp_addr(void)
 	enum efi_type et;
 	int ret;
 
-	et = efi_get_type(boot_params);
+	et = efi_get_type(boot_params_ptr);
 	if (et == EFI_TYPE_NONE)
 		return 0;
 
-	systab_pa = efi_get_system_table(boot_params);
+	systab_pa = efi_get_system_table(boot_params_ptr);
 	if (!systab_pa)
 		error("EFI support advertised, but unable to locate system table.");
 
-	ret = efi_get_conf_table(boot_params, &cfg_tbl_pa, &cfg_tbl_len);
+	ret = efi_get_conf_table(boot_params_ptr, &cfg_tbl_pa, &cfg_tbl_len);
 	if (ret || !cfg_tbl_pa)
 		error("EFI config table not found.");
 
@@ -156,7 +156,7 @@ acpi_physical_address get_rsdp_addr(void)
 {
 	acpi_physical_address pa;
 
-	pa = boot_params->acpi_rsdp_addr;
+	pa = boot_params_ptr->acpi_rsdp_addr;
 
 	if (!pa)
 		pa = efi_get_rsdp_addr();
@@ -210,7 +210,7 @@ static unsigned long get_acpi_srat_table(void)
 	rsdp = (struct acpi_table_rsdp *)get_cmdline_acpi_rsdp();
 	if (!rsdp)
 		rsdp = (struct acpi_table_rsdp *)(long)
-			boot_params->acpi_rsdp_addr;
+			boot_params_ptr->acpi_rsdp_addr;
 
 	if (!rsdp)
 		return 0;
arch/x86/boot/compressed/cmdline.c +2 -2
index f1add5d85da9..c1bb180973ea 100644
@@ -14,9 +14,9 @@ static inline char rdfs8(addr_t addr)
 #include "../cmdline.c"
 unsigned long get_cmd_line_ptr(void)
 {
-	unsigned long cmd_line_ptr = boot_params->hdr.cmd_line_ptr;
+	unsigned long cmd_line_ptr = boot_params_ptr->hdr.cmd_line_ptr;
 
-	cmd_line_ptr |= (u64)boot_params->ext_cmd_line_ptr << 32;
+	cmd_line_ptr |= (u64)boot_params_ptr->ext_cmd_line_ptr << 32;
 
 	return cmd_line_ptr;
 }
arch/x86/boot/compressed/ident_map_64.c +4 -3
index aead80ec70a0..d040080d7edb 100644
@@ -159,8 +159,9 @@ void initialize_identity_maps(void *rmode)
 	 * or does not touch all the pages covering them.
 	 */
 	kernel_add_identity_map((unsigned long)_head, (unsigned long)_end);
-	boot_params = rmode;
-	kernel_add_identity_map((unsigned long)boot_params, (unsigned long)(boot_params + 1));
+	boot_params_ptr = rmode;
+	kernel_add_identity_map((unsigned long)boot_params_ptr,
+				(unsigned long)(boot_params_ptr + 1));
 	cmdline = get_cmd_line_ptr();
 	kernel_add_identity_map(cmdline, cmdline + COMMAND_LINE_SIZE);
 
@@ -168,7 +169,7 @@ void initialize_identity_maps(void *rmode)
 	 * Also map the setup_data entries passed via boot_params in case they
 	 * need to be accessed by uncompressed kernel via the identity mapping.
 	 */
-	sd = (struct setup_data *)boot_params->hdr.setup_data;
+	sd = (struct setup_data *)boot_params_ptr->hdr.setup_data;
 	while (sd) {
 		unsigned long sd_addr = (unsigned long)sd;
 
arch/x86/boot/compressed/kaslr.c +13 -13
index 9193acf0e9cd..dec961c6d16a 100644
@@ -63,7 +63,7 @@ static unsigned long get_boot_seed(void)
 	unsigned long hash = 0;
 
 	hash = rotate_xor(hash, build_str, sizeof(build_str));
-	hash = rotate_xor(hash, boot_params, sizeof(*boot_params));
+	hash = rotate_xor(hash, boot_params_ptr, sizeof(*boot_params_ptr));
 
 	return hash;
 }
@@ -383,7 +383,7 @@ static void handle_mem_options(void)
 static void mem_avoid_init(unsigned long input, unsigned long input_size,
 			   unsigned long output)
 {
-	unsigned long init_size = boot_params->hdr.init_size;
+	unsigned long init_size = boot_params_ptr->hdr.init_size;
 	u64 initrd_start, initrd_size;
 	unsigned long cmd_line, cmd_line_size;
 
@@ -395,10 +395,10 @@ static void mem_avoid_init(unsigned long input, unsigned long input_size,
 	mem_avoid[MEM_AVOID_ZO_RANGE].size = (output + init_size) - input;
 
 	/* Avoid initrd. */
-	initrd_start  = (u64)boot_params->ext_ramdisk_image << 32;
-	initrd_start |= boot_params->hdr.ramdisk_image;
-	initrd_size  = (u64)boot_params->ext_ramdisk_size << 32;
-	initrd_size |= boot_params->hdr.ramdisk_size;
+	initrd_start  = (u64)boot_params_ptr->ext_ramdisk_image << 32;
+	initrd_start |= boot_params_ptr->hdr.ramdisk_image;
+	initrd_size  = (u64)boot_params_ptr->ext_ramdisk_size << 32;
+	initrd_size |= boot_params_ptr->hdr.ramdisk_size;
 	mem_avoid[MEM_AVOID_INITRD].start = initrd_start;
 	mem_avoid[MEM_AVOID_INITRD].size = initrd_size;
 	/* No need to set mapping for initrd, it will be handled in VO. */
@@ -413,8 +413,8 @@ static void mem_avoid_init(unsigned long input, unsigned long input_size,
 	}
 
 	/* Avoid boot parameters. */
-	mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params;
-	mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params);
+	mem_avoid[MEM_AVOID_BOOTPARAMS].start = (unsigned long)boot_params_ptr;
+	mem_avoid[MEM_AVOID_BOOTPARAMS].size = sizeof(*boot_params_ptr);
 
 	/* We don't need to set a mapping for setup_data. */
 
@@ -447,7 +447,7 @@ static bool mem_avoid_overlap(struct mem_vector *img,
 	}
 
 	/* Avoid all entries in the setup_data linked list. */
-	ptr = (struct setup_data *)(unsigned long)boot_params->hdr.setup_data;
+	ptr = (struct setup_data *)(unsigned long)boot_params_ptr->hdr.setup_data;
 	while (ptr) {
 		struct mem_vector avoid;
 
@@ -706,7 +706,7 @@ static inline bool memory_type_is_free(efi_memory_desc_t *md)
 static bool
 process_efi_entries(unsigned long minimum, unsigned long image_size)
 {
-	struct efi_info *e = &boot_params->efi_info;
+	struct efi_info *e = &boot_params_ptr->efi_info;
 	bool efi_mirror_found = false;
 	struct mem_vector region;
 	efi_memory_desc_t *md;
@@ -777,8 +777,8 @@ static void process_e820_entries(unsigned long minimum,
 	struct boot_e820_entry *entry;
 
 	/* Verify potential e820 positions, appending to slots list. */
-	for (i = 0; i < boot_params->e820_entries; i++) {
-		entry = &boot_params->e820_table[i];
+	for (i = 0; i < boot_params_ptr->e820_entries; i++) {
+		entry = &boot_params_ptr->e820_table[i];
 		/* Skip non-RAM entries. */
 		if (entry->type != E820_TYPE_RAM)
 			continue;
@@ -852,7 +852,7 @@ void choose_random_location(unsigned long input,
 		return;
 	}
 
-	boot_params->hdr.loadflags |= KASLR_FLAG;
+	boot_params_ptr->hdr.loadflags |= KASLR_FLAG;
 
 	if (IS_ENABLED(CONFIG_X86_32))
 		mem_limit = KERNEL_IMAGE_SIZE;
arch/x86/boot/compressed/mem.c +3 -3
index 3c1609245f2a..b3c3a4be7471 100644
@@ -54,17 +54,17 @@ bool init_unaccepted_memory(void)
 	enum efi_type et;
 	int ret;
 
-	et = efi_get_type(boot_params);
+	et = efi_get_type(boot_params_ptr);
 	if (et == EFI_TYPE_NONE)
 		return false;
 
-	ret = efi_get_conf_table(boot_params, &cfg_table_pa, &cfg_table_len);
+	ret = efi_get_conf_table(boot_params_ptr, &cfg_table_pa, &cfg_table_len);
 	if (ret) {
 		warn("EFI config table not found.");
 		return false;
 	}
 
-	table = (void *)efi_find_vendor_table(boot_params, cfg_table_pa,
+	table = (void *)efi_find_vendor_table(boot_params_ptr, cfg_table_pa,
 					      cfg_table_len, guid);
 	if (!table)
 		return false;
arch/x86/boot/compressed/misc.c +13 -13
index b5ecbd32a46f..ee0fac468e7f 100644
@@ -46,7 +46,7 @@ void *memmove(void *dest, const void *src, size_t n);
 /*
  * This is set up by the setup-routine at boot-time
  */
-struct boot_params *boot_params;
+struct boot_params *boot_params_ptr;
 
 struct port_io_ops pio_ops;
 
@@ -132,8 +132,8 @@ void __putstr(const char *s)
 	if (lines == 0 || cols == 0)
 		return;
 
-	x = boot_params->screen_info.orig_x;
-	y = boot_params->screen_info.orig_y;
+	x = boot_params_ptr->screen_info.orig_x;
+	y = boot_params_ptr->screen_info.orig_y;
 
 	while ((c = *s++) != '\0') {
 		if (c == '\n') {
@@ -154,8 +154,8 @@ void __putstr(const char *s)
 		}
 	}
 
-	boot_params->screen_info.orig_x = x;
-	boot_params->screen_info.orig_y = y;
+	boot_params_ptr->screen_info.orig_x = x;
+	boot_params_ptr->screen_info.orig_y = y;
 
 	pos = (x + cols * y) * 2;	/* Update cursor position */
 	outb(14, vidport);
@@ -396,16 +396,16 @@ asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output)
 	size_t entry_offset;
 
 	/* Retain x86 boot parameters pointer passed from startup_32/64. */
-	boot_params = rmode;
+	boot_params_ptr = rmode;
 
 	/* Clear flags intended for solely in-kernel use. */
-	boot_params->hdr.loadflags &= ~KASLR_FLAG;
+	boot_params_ptr->hdr.loadflags &= ~KASLR_FLAG;
 
-	parse_mem_encrypt(&boot_params->hdr);
+	parse_mem_encrypt(&boot_params_ptr->hdr);
 
-	sanitize_boot_params(boot_params);
+	sanitize_boot_params(boot_params_ptr);
 
-	if (boot_params->screen_info.orig_video_mode == 7) {
+	if (boot_params_ptr->screen_info.orig_video_mode == 7) {
 		vidmem = (char *) 0xb0000;
 		vidport = 0x3b4;
 	} else {
@@ -413,8 +413,8 @@ asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output)
 		vidport = 0x3d4;
 	}
 
-	lines = boot_params->screen_info.orig_video_lines;
-	cols = boot_params->screen_info.orig_video_cols;
+	lines = boot_params_ptr->screen_info.orig_video_lines;
+	cols = boot_params_ptr->screen_info.orig_video_cols;
 
 	init_default_io_ops();
 
@@ -433,7 +433,7 @@ asmlinkage __visible void *extract_kernel(void *rmode, unsigned char *output)
 	 * so that early debugging output from the RSDP parsing code can be
 	 * collected.
 	 */
-	boot_params->acpi_rsdp_addr = get_rsdp_addr();
+	boot_params_ptr->acpi_rsdp_addr = get_rsdp_addr();
 
 	debug_putstr("early console in extract_kernel\n");
 
arch/x86/boot/compressed/misc.h +0 -1
index aae1a2db4251..bc2f0f17fb90 100644
@@ -61,7 +61,6 @@ extern memptr free_mem_ptr;
 extern memptr free_mem_end_ptr;
 void *malloc(int size);
 void free(void *where);
-extern struct boot_params *boot_params;
 void __putstr(const char *s);
 void __puthex(unsigned long value);
 #define error_putstr(__x)  __putstr(__x)
arch/x86/boot/compressed/pgtable_64.c +6 -5
index 7939eb6e6ce9..15354673d3aa 100644
@@ -1,5 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 #include "misc.h"
+#include <asm/bootparam_utils.h>
 #include <asm/e820/types.h>
 #include <asm/processor.h>
 #include "pgtable.h"
@@ -28,7 +29,6 @@ static char trampoline_save[TRAMPOLINE_32BIT_SIZE];
  */
 unsigned long *trampoline_32bit __section(".data");
 
-extern struct boot_params *boot_params;
 int cmdline_find_option_bool(const char *option);
 
 static unsigned long find_trampoline_placement(void)
@@ -49,7 +49,7 @@ static unsigned long find_trampoline_placement(void)
 	 *
 	 * Only look for values in the legacy ROM for non-EFI system.
 	 */
-	signature = (char *)&boot_params->efi_info.efi_loader_signature;
+	signature = (char *)&boot_params_ptr->efi_info.efi_loader_signature;
 	if (strncmp(signature, EFI32_LOADER_SIGNATURE, 4) &&
 	    strncmp(signature, EFI64_LOADER_SIGNATURE, 4)) {
 		ebda_start = *(unsigned short *)0x40e << 4;
@@ -65,10 +65,10 @@ static unsigned long find_trampoline_placement(void)
 	bios_start = round_down(bios_start, PAGE_SIZE);
 
 	/* Find the first usable memory region under bios_start. */
-	for (i = boot_params->e820_entries - 1; i >= 0; i--) {
+	for (i = boot_params_ptr->e820_entries - 1; i >= 0; i--) {
 		unsigned long new = bios_start;
 
-		entry = &boot_params->e820_table[i];
+		entry = &boot_params_ptr->e820_table[i];
 
 		/* Skip all entries above bios_start. */
 		if (bios_start <= entry->addr)
@@ -107,7 +107,8 @@ asmlinkage void configure_5level_paging(struct boot_params *bp, void *pgtable)
 	bool l5_required = false;
 
 	/* Initialize boot_params. Required for cmdline_find_option_bool(). */
-	boot_params = bp;
+	sanitize_boot_params(bp);
+	boot_params_ptr = bp;
 
 	/*
 	 * Check if LA57 is desired and supported.
arch/x86/boot/compressed/sev.c +1 -1
index 0a49218a516a..01d61f0609ab 100644
@@ -618,7 +618,7 @@ void sev_prep_identity_maps(unsigned long top_level_pgt)
 	 * accessed after switchover.
 	 */
 	if (sev_snp_enabled()) {
-		unsigned long cc_info_pa = boot_params->cc_blob_address;
+		unsigned long cc_info_pa = boot_params_ptr->cc_blob_address;
 		struct cc_blob_sev_info *cc_info;
 
 		kernel_add_identity_map(cc_info_pa, cc_info_pa + sizeof(*cc_info));
arch/x86/include/asm/boot.h +2 -0
index c945c893c52e..a3e0be0470a4 100644
@@ -86,6 +86,8 @@ extern const unsigned long kernel_total_size;
 
 unsigned long decompress_kernel(unsigned char *outbuf, unsigned long virt_addr,
 				void (*error)(char *x));
+
+extern struct boot_params *boot_params_ptr;
 #endif
 
 #endif /* _ASM_X86_BOOT_H */
arch/x86/include/asm/spec-ctrl.h +11 -0
index cb0386fc4dc3..c648502e4535 100644
@@ -4,6 +4,7 @@
 
 #include <linux/thread_info.h>
 #include <asm/nospec-branch.h>
+#include <asm/msr.h>
 
 /*
  * On VMENTER we must preserve whatever view of the SPEC_CTRL MSR
@@ -76,6 +77,16 @@ static inline u64 ssbd_tif_to_amd_ls_cfg(u64 tifn)
 	return (tifn & _TIF_SSBD) ? x86_amd_ls_cfg_ssbd_mask : 0ULL;
 }
 
+/*
+ * This can be used in noinstr functions & should only be called in bare
+ * metal context.
+ */
+static __always_inline void __update_spec_ctrl(u64 val)
+{
+	__this_cpu_write(x86_spec_ctrl_current, val);
+	native_wrmsrl(MSR_IA32_SPEC_CTRL, val);
+}
+
 #ifdef CONFIG_SMP
 extern void speculative_store_bypass_ht_init(void);
 #else
arch/x86/kernel/amd_nb.c +3 -6
index b6d5fc396f88..ef75930d0754 100644
@@ -360,7 +360,6 @@ bool __init early_is_amd_nb(u32 device)
 
 struct resource *amd_get_mmconfig_range(struct resource *res)
 {
-	u32 address;
 	u64 base, msr;
 	unsigned int segn_busn_bits;
 
@@ -368,13 +367,11 @@ struct resource *amd_get_mmconfig_range(struct resource *res)
 	    boot_cpu_data.x86_vendor != X86_VENDOR_HYGON)
 		return NULL;
 
-	/* assume all cpus from fam10h have mmconfig */
-	if (boot_cpu_data.x86 < 0x10)
+	/* Assume CPUs from Fam10h have mmconfig, although not all VMs do */
+	if (boot_cpu_data.x86 < 0x10 ||
+	    rdmsrl_safe(MSR_FAM10H_MMIO_CONF_BASE, &msr))
 		return NULL;
 
-	address = MSR_FAM10H_MMIO_CONF_BASE;
-	rdmsrl(address, msr);
-
 	/* mmconfig is not enabled */
 	if (!(msr & FAM10H_MMIO_CONF_ENABLE))
 		return NULL;
arch/x86/kernel/cpu/cacheinfo.c +1 -1
index 8f86eacf69f7..4729b5771dce 100644
@@ -810,7 +810,7 @@ void init_intel_cacheinfo(struct cpuinfo_x86 *c)
 			cpuid(2, &regs[0], &regs[1], &regs[2], &regs[3]);
 
 			/* If bit 31 is set, this is an unknown format */
-			for (j = 0 ; j < 3 ; j++)
+			for (j = 0 ; j < 4 ; j++)
 				if (regs[j] & (1 << 31))
 					regs[j] = 0;
 
arch/x86/kernel/cpu/intel.c +35 -17

81 lines not on this page · raw message

arch/x86/kernel/cpu/microcode/amd.c +6 -0
index 13a632da09ed..af766298b253 100644
@@ -177,23 +177,29 @@ static bool need_sha_check(u32 cur_rev)
 {
 	switch (cur_rev >> 8) {
 	case 0x80012: return cur_rev <= 0x800126f; break;
+	case 0x80082: return cur_rev <= 0x800820f; break;
 	case 0x83010: return cur_rev <= 0x830107c; break;
 	case 0x86001: return cur_rev <= 0x860010e; break;
 	case 0x86081: return cur_rev <= 0x8608108; break;
 	case 0x87010: return cur_rev <= 0x8701034; break;
 	case 0x8a000: return cur_rev <= 0x8a0000a; break;
+	case 0xa0010: return cur_rev <= 0xa00107a; break;
 	case 0xa0011: return cur_rev <= 0xa0011da; break;
 	case 0xa0012: return cur_rev <= 0xa001243; break;
+	case 0xa0082: return cur_rev <= 0xa00820e; break;
 	case 0xa1011: return cur_rev <= 0xa101153; break;
 	case 0xa1012: return cur_rev <= 0xa10124e; break;
 	case 0xa1081: return cur_rev <= 0xa108109; break;
 	case 0xa2010: return cur_rev <= 0xa20102f; break;
 	case 0xa2012: return cur_rev <= 0xa201212; break;
+	case 0xa4041: return cur_rev <= 0xa404109; break;
+	case 0xa5000: return cur_rev <= 0xa500013; break;
 	case 0xa6012: return cur_rev <= 0xa60120a; break;
 	case 0xa7041: return cur_rev <= 0xa704109; break;
 	case 0xa7052: return cur_rev <= 0xa705208; break;
 	case 0xa7080: return cur_rev <= 0xa708009; break;
 	case 0xa70c0: return cur_rev <= 0xa70C009; break;
+	case 0xaa001: return cur_rev <= 0xaa00116; break;
 	case 0xaa002: return cur_rev <= 0xaa00218; break;
 	default: break;
 	}
arch/x86/kernel/cpu/sgx/ioctl.c +7 -0
index 5d390df21440..a59a0011c930 100644
@@ -64,6 +64,13 @@ static int sgx_encl_create(struct sgx_encl *encl, struct sgx_secs *secs)
 	struct file *backing;
 	long ret;
 
+	/*
+	 * ECREATE would detect this too, but checking here also ensures
+	 * that the 'encl_size' calculations below can never overflow.
+	 */
+	if (!is_power_of_2(secs->size))
+		return -EINVAL;
+
 	va_page = sgx_encl_grow(encl, true);
 	if (IS_ERR(va_page))
 		return PTR_ERR(va_page);
arch/x86/kvm/cpuid.c +1 -1
index 7e6763c2bc01..5fb12d9c71be 100644
@@ -1307,7 +1307,7 @@ static inline int __do_cpuid_func(struct kvm_cpuid_array *array, u32 function)
 
 		entry->ecx = entry->edx = 0;
 		if (!enable_pmu || !kvm_cpu_cap_has(X86_FEATURE_PERFMON_V2)) {
-			entry->eax = entry->ebx;
+			entry->eax = entry->ebx = 0;
 			break;
 		}
 
arch/x86/kvm/svm/svm.c +21 -0
index d762330bce16..1d06b8fc15a8 100644
@@ -3156,6 +3156,27 @@ static int svm_set_msr(struct kvm_vcpu *vcpu, struct msr_data *msr)
 			kvm_pr_unimpl_wrmsr(vcpu, ecx, data);
 			break;
 		}
+
+		/*
+		 * AMD changed the architectural behavior of bits 5:2.  On CPUs
+		 * without BusLockTrap, bits 5:2 control "external pins", but
+		 * on CPUs that support BusLockDetect, bit 2 enables BusLockTrap
+		 * and bits 5:3 are reserved-to-zero.  Sadly, old KVM allowed
+		 * the guest to set bits 5:2 despite not actually virtualizing
+		 * Performance-Monitoring/Breakpoint external pins.  Drop bits
+		 * 5:2 for backwards compatibility.
+		 */
+		data &= ~GENMASK(5, 2);
+
+		/*
+		 * Suppress BTF as KVM doesn't virtualize BTF, but there's no
+		 * way to communicate lack of support to the guest.
+		 */
+		if (data & DEBUGCTLMSR_BTF) {
+			kvm_pr_unimpl_wrmsr(vcpu, MSR_IA32_DEBUGCTLMSR, data);
+			data &= ~DEBUGCTLMSR_BTF;
+		}
+
 		if (data & DEBUGCTL_RESERVED_BITS)
 			return 1;
 
arch/x86/kvm/svm/svm.h +1 -1
index 37ada9808d9b..81f00177f501 100644
@@ -533,7 +533,7 @@ static inline bool is_vnmi_enabled(struct vcpu_svm *svm)
 /* svm.c */
 #define MSR_INVALID				0xffffffffU
 
-#define DEBUGCTL_RESERVED_BITS (~(0x3fULL))
+#define DEBUGCTL_RESERVED_BITS (~DEBUGCTLMSR_LBR)
 
 extern bool dump_invalid_vmcb;
 
arch/x86/mm/init.c +14 -9
index 6215dfa23578..71d29dd7ad76 100644
@@ -262,28 +262,33 @@ static void __init probe_page_size_mask(void)
 }
 
 /*
- * INVLPG may not properly flush Global entries
- * on these CPUs when PCIDs are enabled.
+ * INVLPG may not properly flush Global entries on
+ * these CPUs.  New microcode fixes the issue.
  */
 static const struct x86_cpu_id invlpg_miss_ids[] = {
-	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE,      0),
-	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,    0),
-	X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, 0),
-	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,     0),
-	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,   0),
-	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,   0),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE,      0x2e),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L,    0x42c),
+	X86_MATCH_INTEL_FAM6_MODEL(ATOM_GRACEMONT, 0x11),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE,     0x118),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P,   0x4117),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S,   0x2e),
 	{}
 };
 
 static void setup_pcid(void)
 {
+	const struct x86_cpu_id *invlpg_miss_match;
+
 	if (!IS_ENABLED(CONFIG_X86_64))
 		return;
 
 	if (!boot_cpu_has(X86_FEATURE_PCID))
 		return;
 
-	if (x86_match_cpu(invlpg_miss_ids)) {
+	invlpg_miss_match = x86_match_cpu(invlpg_miss_ids);
+
+	if (invlpg_miss_match &&
+	    boot_cpu_data.microcode < invlpg_miss_match->driver_data) {
 		pr_info("Incomplete global flushes, disabling PCID");
 		setup_clear_cpu_cap(X86_FEATURE_PCID);
 		return;
block/partitions/efi.c +1 -1
index 5e9be13a56a8..7acba66eed48 100644
@@ -682,7 +682,7 @@ static void utf16_le_to_7bit(const __le16 *in, unsigned int size, u8 *out)
 	out[size] = 0;
 
 	while (i < size) {
-		u8 c = le16_to_cpu(in[i]) & 0xff;
+		u8 c = le16_to_cpu(in[i]) & 0x7f;
 
 		if (c && !isprint(c))
 			c = '!';
drivers/base/core.c +1 -0
index 18a73e492102..8e2caa9eb5cd 100644
@@ -2026,6 +2026,7 @@ static bool __fw_devlink_relax_cycles(struct fwnode_handle *con_handle,
 out:
 	sup_handle->flags &= ~FWNODE_FLAG_VISITED;
 	put_device(sup_dev);
+	put_device(con_dev);
 	put_device(par_dev);
 	return ret;
 }
drivers/block/ublk_drv.c +5 -2
index 1105e8adf7f9..95095500f93a 100644
@@ -2599,9 +2599,12 @@ static int ublk_ctrl_set_params(struct ublk_device *ub,
 	if (ph.len > sizeof(struct ublk_params))
 		ph.len = sizeof(struct ublk_params);
 
-	/* parameters can only be changed when device isn't live */
 	mutex_lock(&ub->mutex);
-	if (ub->dev_info.state == UBLK_S_DEV_LIVE) {
+	if (test_bit(UB_STATE_USED, &ub->state)) {
+		/*
+		 * Parameters can only be changed when device hasn't
+		 * been started yet
+		 */
 		ret = -EACCES;
 	} else if (copy_from_user(&ub->params, argp, ph.len)) {
 		ret = -EFAULT;
drivers/bluetooth/btusb.c +1 -0
index c80b5aa7628a..bc3f63f1ccd8 100644
@@ -4230,6 +4230,7 @@ static ssize_t force_poll_sync_write(struct file *file,
 }
 
 static const struct file_operations force_poll_sync_fops = {
+	.owner		= THIS_MODULE,
 	.open		= simple_open,
 	.read		= force_poll_sync_read,
 	.write		= force_poll_sync_write,
drivers/bus/mhi/host/pci_generic.c +3 -2
index 154841916f56..6121ca846541 100644
@@ -892,8 +892,9 @@ static void mhi_pci_recovery_work(struct work_struct *work)
 err_unprepare:
 	mhi_unprepare_after_power_down(mhi_cntrl);
 err_try_reset:
-	if (pci_reset_function(pdev))
-		dev_err(&pdev->dev, "Recovery failed\n");
+	err = pci_try_reset_function(pdev);
+	if (err)
+		dev_err(&pdev->dev, "Recovery failed: %d\n", err);
 }
 
 static void health_check(struct timer_list *t)
drivers/cdx/cdx.c +5 -1
index d2cad4c670a0..a61834bc84a9 100644
@@ -365,8 +365,12 @@ static ssize_t driver_override_show(struct device *dev,
 				    struct device_attribute *attr, char *buf)
 {
 	struct cdx_device *cdx_dev = to_cdx_device(dev);
+	ssize_t len;
 
-	return sysfs_emit(buf, "%s\n", cdx_dev->driver_override);
+	device_lock(dev);
+	len = sysfs_emit(buf, "%s\n", cdx_dev->driver_override);
+	device_unlock(dev);
+	return len;
 }
 static DEVICE_ATTR_RW(driver_override);
 
drivers/char/misc.c +1 -1
index 2cf595d2e10b..f7dd455dd0dd 100644
@@ -264,8 +264,8 @@ int misc_register(struct miscdevice *misc)
 		device_create_with_groups(&misc_class, misc->parent, dev,
 					  misc, misc->groups, "%s", misc->name);
 	if (IS_ERR(misc->this_device)) {
+		misc_minor_free(misc->minor);
 		if (is_dynamic) {
-			misc_minor_free(misc->minor);
 			misc->minor = MISC_DYNAMIC_MINOR;
 		}
 		err = PTR_ERR(misc->this_device);
drivers/firmware/efi/libstub/x86-stub.c +1 -1
index b2b06d18b7b4..7bea03963b28 100644
@@ -883,7 +883,7 @@ void __noreturn efi_stub_entry(efi_handle_t handle,
 	unsigned long kernel_entry;
 	efi_status_t status;
 
-	boot_params_pointer = boot_params;
+	boot_params_ptr = boot_params;
 
 	efi_system_table = sys_table_arg;
 	/* Check if we were booted by the EFI firmware */
drivers/firmware/efi/libstub/x86-stub.h +0 -2
index 4433d0f97441..1c20e99a6494 100644
@@ -2,8 +2,6 @@
 
 #include <linux/efi.h>
 
-extern struct boot_params *boot_params_pointer asm("boot_params");
-
 extern void trampoline_32bit_src(void *, bool);
 extern const u16 trampoline_ljmp_imm_offset;
 
drivers/firmware/efi/mokvar-table.c +13 -29

70 lines not on this page · raw message

drivers/gpio/gpio-aggregator.c +17 -3
index 38e0fff9afe7..cc6ee4334602 100644
@@ -121,10 +121,15 @@ static ssize_t new_device_store(struct device_driver *driver, const char *buf,
 	struct platform_device *pdev;
 	int res, id;
 
+	if (!try_module_get(THIS_MODULE))
+		return -ENOENT;
+
 	/* kernfs guarantees string termination, so count + 1 is safe */
 	aggr = kzalloc(sizeof(*aggr) + count + 1, GFP_KERNEL);
-	if (!aggr)
-		return -ENOMEM;
+	if (!aggr) {
+		res = -ENOMEM;
+		goto put_module;
+	}
 
 	memcpy(aggr->args, buf, count + 1);
 
@@ -163,6 +168,7 @@ static ssize_t new_device_store(struct device_driver *driver, const char *buf,
 	}
 
 	aggr->pdev = pdev;
+	module_put(THIS_MODULE);
 	return count;
 
 remove_table:
@@ -177,6 +183,8 @@ static ssize_t new_device_store(struct device_driver *driver, const char *buf,
 	kfree(aggr->lookups);
 free_ga:
 	kfree(aggr);
+put_module:
+	module_put(THIS_MODULE);
 	return res;
 }
 
@@ -205,13 +213,19 @@ static ssize_t delete_device_store(struct device_driver *driver,
 	if (error)
 		return error;
 
+	if (!try_module_get(THIS_MODULE))
+		return -ENOENT;
+
 	mutex_lock(&gpio_aggregator_lock);
 	aggr = idr_remove(&gpio_aggregator_idr, id);
 	mutex_unlock(&gpio_aggregator_lock);
-	if (!aggr)
+	if (!aggr) {
+		module_put(THIS_MODULE);
 		return -ENOENT;
+	}
 
 	gpio_aggregator_free(aggr);
+	module_put(THIS_MODULE);
 	return count;
 }
 static DRIVER_ATTR_WO(delete_device);
drivers/gpio/gpio-rcar.c +18 -13
index 86e69cde04da..53ec8cc04798 100644
@@ -40,7 +40,7 @@ struct gpio_rcar_info {
 
 struct gpio_rcar_priv {
 	void __iomem *base;
-	spinlock_t lock;
+	raw_spinlock_t lock;
 	struct device *dev;
 	struct gpio_chip gpio_chip;
 	unsigned int irq_parent;
@@ -123,7 +123,7 @@ static void gpio_rcar_config_interrupt_input_mode(struct gpio_rcar_priv *p,
 	 * "Setting Level-Sensitive Interrupt Input Mode"
 	 */
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 
 	/* Configure positive or negative logic in POSNEG */
 	gpio_rcar_modify_bit(p, POSNEG, hwirq, !active_high_rising_edge);
@@ -142,7 +142,7 @@ static void gpio_rcar_config_interrupt_input_mode(struct gpio_rcar_priv *p,
 	if (!level_trigger)
 		gpio_rcar_write(p, INTCLR, BIT(hwirq));
 
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_irq_set_type(struct irq_data *d, unsigned int type)
@@ -246,7 +246,7 @@ static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip,
 	 * "Setting General Input Mode"
 	 */
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 
 	/* Configure positive logic in POSNEG */
 	gpio_rcar_modify_bit(p, POSNEG, gpio, false);
@@ -261,7 +261,7 @@ static void gpio_rcar_config_general_input_output_mode(struct gpio_chip *chip,
 	if (p->info.has_outdtsel && output)
 		gpio_rcar_modify_bit(p, OUTDTSEL, gpio, false);
 
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_request(struct gpio_chip *chip, unsigned offset)
@@ -347,7 +347,7 @@ static int gpio_rcar_get_multiple(struct gpio_chip *chip, unsigned long *mask,
 		return 0;
 	}
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 	outputs = gpio_rcar_read(p, INOUTSEL);
 	m = outputs & bankmask;
 	if (m)
@@ -356,7 +356,7 @@ static int gpio_rcar_get_multiple(struct gpio_chip *chip, unsigned long *mask,
 	m = ~outputs & bankmask;
 	if (m)
 		val |= gpio_rcar_read(p, INDT) & m;
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 
 	bits[0] = val;
 	return 0;
@@ -367,9 +367,9 @@ static void gpio_rcar_set(struct gpio_chip *chip, unsigned offset, int value)
 	struct gpio_rcar_priv *p = gpiochip_get_data(chip);
 	unsigned long flags;
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 	gpio_rcar_modify_bit(p, OUTDT, offset, value);
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static void gpio_rcar_set_multiple(struct gpio_chip *chip, unsigned long *mask,
@@ -386,12 +386,12 @@ static void gpio_rcar_set_multiple(struct gpio_chip *chip, unsigned long *mask,
 	if (!bankmask)
 		return;
 
-	spin_lock_irqsave(&p->lock, flags);
+	raw_spin_lock_irqsave(&p->lock, flags);
 	val = gpio_rcar_read(p, OUTDT);
 	val &= ~bankmask;
 	val |= (bankmask & bits[0]);
 	gpio_rcar_write(p, OUTDT, val);
-	spin_unlock_irqrestore(&p->lock, flags);
+	raw_spin_unlock_irqrestore(&p->lock, flags);
 }
 
 static int gpio_rcar_direction_output(struct gpio_chip *chip, unsigned offset,
@@ -468,7 +468,12 @@ static int gpio_rcar_parse_dt(struct gpio_rcar_priv *p, unsigned int *npins)
 	p->info = *info;
 
 	ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &args);
-	*npins = ret == 0 ? args.args[2] : RCAR_MAX_GPIO_PER_BANK;
+	if (ret) {
+		*npins = RCAR_MAX_GPIO_PER_BANK;
+	} else {
+		*npins = args.args[2];
+		of_node_put(args.np);
+	}
 
 	if (*npins == 0 || *npins > RCAR_MAX_GPIO_PER_BANK) {
 		dev_warn(p->dev, "Invalid number of gpio lines %u, using %u\n",
@@ -505,7 +510,7 @@ static int gpio_rcar_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	p->dev = dev;
-	spin_lock_init(&p->lock);
+	raw_spin_lock_init(&p->lock);
 
 	/* Get device configuration from DT node */
 	ret = gpio_rcar_parse_dt(p, &npins);
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +11 -0
index 2e739b80cfcc..45dd6cbad81e 100644
@@ -1116,6 +1116,17 @@ int amdgpu_device_resize_fb_bar(struct amdgpu_device *adev)
 	if (amdgpu_sriov_vf(adev))
 		return 0;
 
+	/* resizing on Dell G5 SE platforms causes problems with runtime pm */
+	if ((amdgpu_runtime_pm != 0) &&
+	    adev->pdev->vendor == PCI_VENDOR_ID_ATI &&
+	    adev->pdev->device == 0x731f &&
+	    adev->pdev->subsystem_vendor == PCI_VENDOR_ID_DELL)
+		return 0;
+
+	/* PCI_EXT_CAP_ID_VNDR extended capability is located at 0x100 */
+	if (!pci_find_ext_capability(adev->pdev, PCI_EXT_CAP_ID_VNDR))
+		DRM_WARN("System can't access extended configuration space,please check!!\n");
+
 	/* skip if the bios has already enabled large BAR */
 	if (adev->gmc.real_vram_size &&
 	    (pci_resource_len(adev->pdev, 0) >= adev->gmc.real_vram_size))
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +2 -1
index 99fcd39bb15e..69c0d0b341af 100644
@@ -1394,7 +1394,8 @@ bool resource_build_scaling_params(struct pipe_ctx *pipe_ctx)
 	DC_LOGGER_INIT(pipe_ctx->stream->ctx->logger);
 
 	/* Invalid input */
-	if (!plane_state->dst_rect.width ||
+	if (!plane_state ||
+			!plane_state->dst_rect.width ||
 			!plane_state->dst_rect.height ||
 			!plane_state->src_rect.width ||
 			!plane_state->src_rect.height) {
drivers/gpu/drm/i915/display/icl_dsi.c +2 -2
index 5b8efe8e735a..0a0efeeb790e 100644
@@ -797,8 +797,8 @@ gen11_dsi_configure_transcoder(struct intel_encoder *encoder,
 
 		/* select data lane width */
 		tmp = intel_de_read(dev_priv, TRANS_DDI_FUNC_CTL(dsi_trans));
-		tmp &= ~DDI_PORT_WIDTH_MASK;
-		tmp |= DDI_PORT_WIDTH(intel_dsi->lane_count);
+		tmp &= ~TRANS_DDI_PORT_WIDTH_MASK;
+		tmp |= TRANS_DDI_PORT_WIDTH(intel_dsi->lane_count);
 
 		/* select input pipe */
 		tmp &= ~TRANS_DDI_EDP_INPUT_MASK;
drivers/gpu/drm/i915/display/intel_ddi.c +35 -11

74 lines not on this page · raw message

drivers/gpu/drm/i915/i915_reg.h +3 -1
index aefad14ab27a..589a10253d89 100644
@@ -5724,6 +5724,8 @@ enum skl_power_gate {
 /* Known as DDI_CTL_DE in MTL+ */
 #define DDI_BUF_CTL(port) _MMIO_PORT(port, _DDI_BUF_CTL_A, _DDI_BUF_CTL_B)
 #define  DDI_BUF_CTL_ENABLE			(1 << 31)
+#define  XE2LPD_DDI_BUF_D2D_LINK_ENABLE		REG_BIT(29)
+#define  XE2LPD_DDI_BUF_D2D_LINK_STATE		REG_BIT(28)
 #define  DDI_BUF_TRANS_SELECT(n)	((n) << 24)
 #define  DDI_BUF_EMP_MASK			(0xf << 24)
 #define  DDI_BUF_PHY_LINK_RATE(r)		((r) << 20)
@@ -5735,7 +5737,7 @@ enum skl_power_gate {
 #define  DDI_BUF_IS_IDLE			(1 << 7)
 #define  DDI_BUF_CTL_TC_PHY_OWNERSHIP		REG_BIT(6)
 #define  DDI_A_4_LANES				(1 << 4)
-#define  DDI_PORT_WIDTH(width)			(((width) - 1) << 1)
+#define  DDI_PORT_WIDTH(width)			(((width) == 3 ? 4 : ((width) - 1)) << 1)
 #define  DDI_PORT_WIDTH_MASK			(7 << 1)
 #define  DDI_PORT_WIDTH_SHIFT			1
 #define  DDI_INIT_DISPLAY_DETECTED		(1 << 0)
drivers/gpu/drm/radeon/r300.c +2 -1
index 430a4263ccf7..b0c9970c2abd 100644
@@ -358,7 +358,8 @@ int r300_mc_wait_for_idle(struct radeon_device *rdev)
 	return -1;
 }
 
-static void r300_gpu_init(struct radeon_device *rdev)
+/* rs400_gpu_init also calls this! */
+void r300_gpu_init(struct radeon_device *rdev)
 {
 	uint32_t gb_tile_config, tmp;
 
drivers/gpu/drm/radeon/radeon_asic.h +1 -0
index 1e00f6b99f94..8f5e07834fcc 100644
@@ -165,6 +165,7 @@ void r200_set_safe_registers(struct radeon_device *rdev);
  */
 extern int r300_init(struct radeon_device *rdev);
 extern void r300_fini(struct radeon_device *rdev);
+extern void r300_gpu_init(struct radeon_device *rdev);
 extern int r300_suspend(struct radeon_device *rdev);
 extern int r300_resume(struct radeon_device *rdev);
 extern int r300_asic_reset(struct radeon_device *rdev, bool hard);
drivers/gpu/drm/radeon/rs400.c +16 -2
index 4f93fe468ec7..a6f90cea59df 100644
@@ -255,8 +255,22 @@ int rs400_mc_wait_for_idle(struct radeon_device *rdev)
 
 static void rs400_gpu_init(struct radeon_device *rdev)
 {
-	/* FIXME: is this correct ? */
-	r420_pipes_init(rdev);
+	/* Earlier code was calling r420_pipes_init and then
+	 * rs400_mc_wait_for_idle(rdev). The problem is that
+	 * at least on my Mobility Radeon Xpress 200M RC410 card
+	 * that ends up in this code path ends up num_gb_pipes == 3
+	 * while the card seems to have only one pipe. With the
+	 * r420 pipe initialization method.
+	 *
+	 * Problems shown up as HyperZ glitches, see:
+	 * https://bugs.freedesktop.org/show_bug.cgi?id=110897
+	 *
+	 * Delegating initialization to r300 code seems to work
+	 * and results in proper pipe numbers. The rs400 cards
+	 * are said to be not r400, but r300 kind of cards.
+	 */
+	r300_gpu_init(rdev);
+
 	if (rs400_mc_wait_for_idle(rdev)) {
 		pr_warn("rs400: Failed to wait MC idle while programming pipes. Bad things might happen. %08x\n",
 			RREG32(RADEON_MC_STATUS));
drivers/gpu/drm/scheduler/gpu_scheduler_trace.h +2 -2
index 3143ecaaff86..f7f10e97ac05 100644
@@ -21,7 +21,7 @@
  *
  */
 
-#if !defined(_GPU_SCHED_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)
+#if !defined(_GPU_SCHED_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
 #define _GPU_SCHED_TRACE_H_
 
 #include <linux/stringify.h>
@@ -106,7 +106,7 @@ TRACE_EVENT(drm_sched_job_wait_dep,
 		      __entry->seqno)
 );
 
-#endif
+#endif /* _GPU_SCHED_TRACE_H_ */
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
drivers/hid/hid-appleir.c +1 -1
index 8deded185725..c45e5aa569d2 100644
@@ -188,7 +188,7 @@ static int appleir_raw_event(struct hid_device *hid, struct hid_report *report,
 	static const u8 flatbattery[] = { 0x25, 0x87, 0xe0 };
 	unsigned long flags;
 
-	if (len != 5)
+	if (len != 5 || !(hid->claimed & HID_CLAIMED_INPUT))
 		goto out;
 
 	if (!memcmp(data, keydown, sizeof(keydown))) {
drivers/hid/hid-google-hammer.c +2 -0
index c6bdb9c4ef3e..d25291ed900d 100644
@@ -269,11 +269,13 @@ static int cbas_ec_remove(struct platform_device *pdev)
 	return 0;
 }
 
+#ifdef CONFIG_ACPI
 static const struct acpi_device_id cbas_ec_acpi_ids[] = {
 	{ "GOOG000B", 0 },
 	{ }
 };
 MODULE_DEVICE_TABLE(acpi, cbas_ec_acpi_ids);
+#endif
 
 #ifdef CONFIG_OF
 static const struct of_device_id cbas_ec_of_match[] = {
drivers/hid/hid-steam.c +1 -1
index 49c067133975..29ff4eb5194b 100644
@@ -1325,11 +1325,11 @@ static void steam_remove(struct hid_device *hdev)
 		return;
 	}
 
+	hid_destroy_device(steam->client_hdev);
 	cancel_delayed_work_sync(&steam->mode_switch);
 	cancel_work_sync(&steam->work_connect);
 	cancel_work_sync(&steam->rumble_work);
 	cancel_work_sync(&steam->unregister_work);
-	hid_destroy_device(steam->client_hdev);
 	steam->client_hdev = NULL;
 	steam->client_opened = false;
 	if (steam->quirks & STEAM_QUIRK_WIRELESS) {
drivers/hid/intel-ish-hid/ishtp-hid.c +3 -1
index 00c6f0ebf356..be2c62fc8251 100644
@@ -261,12 +261,14 @@ int ishtp_hid_probe(unsigned int cur_hid_dev,
  */
 void ishtp_hid_remove(struct ishtp_cl_data *client_data)
 {
+	void *data;
 	int i;
 
 	for (i = 0; i < client_data->num_hid_devices; ++i) {
 		if (client_data->hid_sensor_hubs[i]) {
-			kfree(client_data->hid_sensor_hubs[i]->driver_data);
+			data = client_data->hid_sensor_hubs[i]->driver_data;
 			hid_destroy_device(client_data->hid_sensor_hubs[i]);
+			kfree(data);
 			client_data->hid_sensor_hubs[i] = NULL;
 		}
 	}
drivers/hwmon/ad7314.c +10 -0
index 7802bbf5f958..59424103f634 100644
@@ -22,11 +22,13 @@
  */
 #define AD7314_TEMP_MASK		0x7FE0
 #define AD7314_TEMP_SHIFT		5
+#define AD7314_LEADING_ZEROS_MASK	BIT(15)
 
 /*
  * ADT7301 and ADT7302 temperature masks
  */
 #define ADT7301_TEMP_MASK		0x3FFF
+#define ADT7301_LEADING_ZEROS_MASK	(BIT(15) | BIT(14))
 
 enum ad7314_variant {
 	adt7301,
@@ -65,12 +67,20 @@ static ssize_t ad7314_temperature_show(struct device *dev,
 		return ret;
 	switch (spi_get_device_id(chip->spi_dev)->driver_data) {
 	case ad7314:
+		if (ret & AD7314_LEADING_ZEROS_MASK) {
+			/* Invalid read-out, leading zero part is missing */
+			return -EIO;
+		}
 		data = (ret & AD7314_TEMP_MASK) >> AD7314_TEMP_SHIFT;
 		data = sign_extend32(data, 9);
 
 		return sprintf(buf, "%d\n", 250 * data);
 	case adt7301:
 	case adt7302:
+		if (ret & ADT7301_LEADING_ZEROS_MASK) {
+			/* Invalid read-out, leading zero part is missing */
+			return -EIO;
+		}
 		/*
 		 * Documented as a 13 bit twos complement register
 		 * with a sign bit - which is a 14 bit 2's complement
drivers/hwmon/ntc_thermistor.c +33 -33

73 lines not on this page · raw message

drivers/hwmon/peci/dimmtemp.c +4 -6
index 5ca4d04e4b14..01329fce3909 100644
@@ -127,8 +127,6 @@ static int update_thresholds(struct peci_dimmtemp *priv, int dimm_no)
 		return 0;
 
 	ret = priv->gen_info->read_thresholds(priv, dimm_order, chan_rank, &data);
-	if (ret == -ENODATA) /* Use default or previous value */
-		return 0;
 	if (ret)
 		return ret;
 
@@ -509,11 +507,11 @@ read_thresholds_icx(struct peci_dimmtemp *priv, int dimm_order, int chan_rank, u
 
 	ret = peci_ep_pci_local_read(priv->peci_dev, 0, 13, 0, 2, 0xd4, &reg_val);
 	if (ret || !(reg_val & BIT(31)))
-		return -ENODATA; /* Use default or previous value */
+		return -ENODATA;
 
 	ret = peci_ep_pci_local_read(priv->peci_dev, 0, 13, 0, 2, 0xd0, &reg_val);
 	if (ret)
-		return -ENODATA; /* Use default or previous value */
+		return -ENODATA;
 
 	/*
 	 * Device 26, Offset 224e0: IMC 0 channel 0 -> rank 0
@@ -546,11 +544,11 @@ read_thresholds_spr(struct peci_dimmtemp *priv, int dimm_order, int chan_rank, u
 
 	ret = peci_ep_pci_local_read(priv->peci_dev, 0, 30, 0, 2, 0xd4, &reg_val);
 	if (ret || !(reg_val & BIT(31)))
-		return -ENODATA; /* Use default or previous value */
+		return -ENODATA;
 
 	ret = peci_ep_pci_local_read(priv->peci_dev, 0, 30, 0, 2, 0xd0, &reg_val);
 	if (ret)
-		return -ENODATA; /* Use default or previous value */
+		return -ENODATA;
 
 	/*
 	 * Device 26, Offset 219a8: IMC 0 channel 0 -> rank 0
drivers/hwmon/pmbus/pmbus.c +2 -0
index ec40c5c59954..59424dc518c8 100644
@@ -103,6 +103,8 @@ static int pmbus_identify(struct i2c_client *client,
 		if (pmbus_check_byte_register(client, 0, PMBUS_PAGE)) {
 			int page;
 
+			info->pages = PMBUS_PAGES;
+
 			for (page = 1; page < PMBUS_PAGES; page++) {
 				if (pmbus_set_page(client, page, 0xff) < 0)
 					break;
drivers/hwmon/xgene-hwmon.c +1 -1
index 78d9f52e2a71..207084d55044 100644
@@ -712,7 +712,7 @@ static int xgene_hwmon_probe(struct platform_device *pdev)
 			goto out;
 		}
 
-		if (!ctx->pcc_comm_addr) {
+		if (IS_ERR_OR_NULL(ctx->pcc_comm_addr)) {
 			dev_err(&pdev->dev,
 				"Failed to ioremap PCC comm region\n");
 			rc = -ENOMEM;
drivers/hwtracing/intel_th/pci.c +15 -0
index 8dad239aba2c..e7985db1f29b 100644
@@ -329,6 +329,21 @@ static const struct pci_device_id intel_th_pci_id_table[] = {
 		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xa824),
 		.driver_data = (kernel_ulong_t)&intel_th_2x,
 	},
+	{
+		/* Arrow Lake */
+		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x7724),
+		.driver_data = (kernel_ulong_t)&intel_th_2x,
+	},
+	{
+		/* Panther Lake-H */
+		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe324),
+		.driver_data = (kernel_ulong_t)&intel_th_2x,
+	},
+	{
+		/* Panther Lake-P/U */
+		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0xe424),
+		.driver_data = (kernel_ulong_t)&intel_th_2x,
+	},
 	{
 		/* Alder Lake CPU */
 		PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x466f),
drivers/iio/adc/at91-sama5d2_adc.c +40 -28

104 lines not on this page · raw message

drivers/iio/dac/ad3552r.c +6 -0
index a492e8f2fc0f..130bda620222 100644
@@ -703,6 +703,12 @@ static int ad3552r_reset(struct ad3552r_desc *dac)
 		return ret;
 	}
 
+	/* Clear reset error flag, see ad3552r manual, rev B table 38. */
+	ret = ad3552r_write_reg(dac, AD3552R_REG_ADDR_ERR_STATUS,
+				AD3552R_MASK_RESET_STATUS);
+	if (ret)
+		return ret;
+
 	return ad3552r_update_reg_field(dac,
 					addr_mask_map[AD3552R_ADDR_ASCENSION][0],
 					addr_mask_map[AD3552R_ADDR_ASCENSION][1],
drivers/iio/filter/admv8818.c +4 -10
index 848baa6e3bbf..d85b7d3de866 100644
@@ -574,21 +574,15 @@ static int admv8818_init(struct admv8818_state *st)
 	struct spi_device *spi = st->spi;
 	unsigned int chip_id;
 
-	ret = regmap_update_bits(st->regmap, ADMV8818_REG_SPI_CONFIG_A,
-				 ADMV8818_SOFTRESET_N_MSK |
-				 ADMV8818_SOFTRESET_MSK,
-				 FIELD_PREP(ADMV8818_SOFTRESET_N_MSK, 1) |
-				 FIELD_PREP(ADMV8818_SOFTRESET_MSK, 1));
+	ret = regmap_write(st->regmap, ADMV8818_REG_SPI_CONFIG_A,
+			   ADMV8818_SOFTRESET_N_MSK | ADMV8818_SOFTRESET_MSK);
 	if (ret) {
 		dev_err(&spi->dev, "ADMV8818 Soft Reset failed.\n");
 		return ret;
 	}
 
-	ret = regmap_update_bits(st->regmap, ADMV8818_REG_SPI_CONFIG_A,
-				 ADMV8818_SDOACTIVE_N_MSK |
-				 ADMV8818_SDOACTIVE_MSK,
-				 FIELD_PREP(ADMV8818_SDOACTIVE_N_MSK, 1) |
-				 FIELD_PREP(ADMV8818_SDOACTIVE_MSK, 1));
+	ret = regmap_write(st->regmap, ADMV8818_REG_SPI_CONFIG_A,
+			   ADMV8818_SDOACTIVE_N_MSK | ADMV8818_SDOACTIVE_MSK);
 	if (ret) {
 		dev_err(&spi->dev, "ADMV8818 SDO Enable failed.\n");
 		return ret;
drivers/misc/cardreader/rtsx_usb.c +0 -15
index 285a748748d7..f150d8769f19 100644
@@ -286,7 +286,6 @@ static int rtsx_usb_get_status_with_bulk(struct rtsx_ucr *ucr, u16 *status)
 int rtsx_usb_get_card_status(struct rtsx_ucr *ucr, u16 *status)
 {
 	int ret;
-	u8 interrupt_val = 0;
 	u16 *buf;
 
 	if (!status)
@@ -309,20 +308,6 @@ int rtsx_usb_get_card_status(struct rtsx_ucr *ucr, u16 *status)
 		ret = rtsx_usb_get_status_with_bulk(ucr, status);
 	}
 
-	rtsx_usb_read_register(ucr, CARD_INT_PEND, &interrupt_val);
-	/* Cross check presence with interrupts */
-	if (*status & XD_CD)
-		if (!(interrupt_val & XD_INT))
-			*status &= ~XD_CD;
-
-	if (*status & SD_CD)
-		if (!(interrupt_val & SD_INT))
-			*status &= ~SD_CD;
-
-	if (*status & MS_CD)
-		if (!(interrupt_val & MS_INT))
-			*status &= ~MS_CD;
-
 	/* usb_control_msg may return positive when success */
 	if (ret < 0)
 		return ret;
drivers/misc/eeprom/digsy_mtc_eeprom.c +1 -1
index 4eddc5ba1af9..dfaedc0e350d 100644
@@ -60,7 +60,7 @@ static struct platform_device digsy_mtc_eeprom = {
 };
 
 static struct gpiod_lookup_table eeprom_spi_gpiod_table = {
-	.dev_id         = "spi_gpio",
+	.dev_id         = "spi_gpio.1",
 	.table          = {
 		GPIO_LOOKUP("gpio@b00", GPIO_EEPROM_CLK,
 			    "sck", GPIO_ACTIVE_HIGH),
drivers/misc/mei/hw-me-regs.h +2 -0
index d3c03d4edbef..a4668ddd9455 100644
@@ -117,6 +117,8 @@
 
 #define MEI_DEV_ID_LNL_M      0xA870  /* Lunar Lake Point M */
 
+#define MEI_DEV_ID_PTL_P      0xE470  /* Panther Lake P */
+
 /*
  * MEI HW Section
  */
drivers/misc/mei/pci-me.c +2 -0
index 6c4f5e9fe834..6826cc50d29f 100644
@@ -124,6 +124,8 @@ static const struct pci_device_id mei_me_pci_tbl[] = {
 
 	{MEI_PCI_DEVICE(MEI_DEV_ID_LNL_M, MEI_ME_PCH15_CFG)},
 
+	{MEI_PCI_DEVICE(MEI_DEV_ID_PTL_P, MEI_ME_PCH15_CFG)},
+
 	/* required last entry */
 	{0, }
 };
drivers/net/caif/caif_virtio.c +1 -1
index 0b0f234b0b50..a8b9ada7526c 100644
@@ -745,7 +745,7 @@ static int cfv_probe(struct virtio_device *vdev)
 
 	if (cfv->vr_rx)
 		vdev->vringh_config->del_vrhs(cfv->vdev);
-	if (cfv->vdev)
+	if (cfv->vq_tx)
 		vdev->config->del_vqs(cfv->vdev);
 	free_netdev(netdev);
 	return err;
drivers/net/dsa/mt7530.c +2 -6
index 53ead0989777..90ab2f1058ce 100644
@@ -2640,7 +2640,8 @@ mt7531_setup_common(struct dsa_switch *ds)
 	if (ret < 0)
 		return ret;
 
-	return 0;
+	/* Setup VLAN ID 0 for VLAN-unaware bridges */
+	return mt7530_setup_vlan0(priv);
 }
 
 static int
@@ -2734,11 +2735,6 @@ mt7531_setup(struct dsa_switch *ds)
 
 	mt7531_setup_common(ds);
 
-	/* Setup VLAN ID 0 for VLAN-unaware bridges */
-	ret = mt7530_setup_vlan0(priv);
-	if (ret)
-		return ret;
-
 	ds->assisted_learning_on_cpu_port = true;
 	ds->mtu_enforcement_ingress = true;
 
drivers/net/ethernet/emulex/benet/be.h +1 -1
index 61fe9625bed1..06f42e5b5149 100644
@@ -562,7 +562,7 @@ struct be_adapter {
 	struct be_dma_mem mbox_mem_alloced;
 
 	struct be_mcc_obj mcc_obj;
-	struct mutex mcc_lock;	/* For serializing mcc cmds to BE card */
+	spinlock_t mcc_lock;	/* For serializing mcc cmds to BE card */
 	spinlock_t mcc_cq_lock;
 
 	u16 cfg_num_rx_irqs;		/* configured via set-channels */
drivers/net/ethernet/emulex/benet/be_cmds.c +98 -99

787 lines not on this page · raw message

drivers/net/ethernet/emulex/benet/be_main.c +1 -1
index 9d425ece33fd..6bc0fde95f9d 100644
@@ -5670,8 +5670,8 @@ static int be_drv_init(struct be_adapter *adapter)
 	}
 
 	mutex_init(&adapter->mbox_lock);
-	mutex_init(&adapter->mcc_lock);
 	mutex_init(&adapter->rx_filter_lock);
+	spin_lock_init(&adapter->mcc_lock);
 	spin_lock_init(&adapter->mcc_cq_lock);
 	init_completion(&adapter->et_cmd_compl);
 
drivers/net/ethernet/freescale/enetc/enetc.c +12 -13
index 9aa57134f460..8feb7d4226bb 100644
@@ -1023,7 +1023,6 @@ static int enetc_refill_rx_ring(struct enetc_bdr *rx_ring, const int buff_cnt)
 	return j;
 }
 
-#ifdef CONFIG_FSL_ENETC_PTP_CLOCK
 static void enetc_get_rx_tstamp(struct net_device *ndev,
 				union enetc_rx_bd *rxbd,
 				struct sk_buff *skb)
@@ -1047,7 +1046,6 @@ static void enetc_get_rx_tstamp(struct net_device *ndev,
 		shhwtstamps->hwtstamp = ns_to_ktime(tstamp);
 	}
 }
-#endif
 
 static void enetc_get_offloads(struct enetc_bdr *rx_ring,
 			       union enetc_rx_bd *rxbd, struct sk_buff *skb)
@@ -1087,10 +1085,9 @@ static void enetc_get_offloads(struct enetc_bdr *rx_ring,
 		__vlan_hwaccel_put_tag(skb, tpid, le16_to_cpu(rxbd->r.vlan_opt));
 	}
 
-#ifdef CONFIG_FSL_ENETC_PTP_CLOCK
-	if (priv->active_offloads & ENETC_F_RX_TSTAMP)
+	if (IS_ENABLED(CONFIG_FSL_ENETC_PTP_CLOCK) &&
+	    (priv->active_offloads & ENETC_F_RX_TSTAMP))
 		enetc_get_rx_tstamp(rx_ring->ndev, rxbd, skb);
-#endif
 }
 
 /* This gets called during the non-XDP NAPI poll cycle as well as on XDP_PASS,
@@ -2956,7 +2953,6 @@ void enetc_set_features(struct net_device *ndev, netdev_features_t features)
 }
 EXPORT_SYMBOL_GPL(enetc_set_features);
 
[… more lines in the raw message]

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

drivers/net/ethernet/freescale/enetc/enetc.h +3 -6
index fcadb0848d25..860ecee302f1 100644

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

drivers/net/ethernet/freescale/enetc/enetc_ethtool.c +14 -13
index e993ed04ab57..1e3e0073276e 100644

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

drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_ptp.c +1 -1
index 507d7ce26d83..ddc691424c81 100644

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

drivers/net/ethernet/ibm/ibmvnic.c +19 -2
index 4f18addc191b..05f410999a5a 100644

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

drivers/net/ipa/data/ipa_data-v4.7.c +9 -9
index b83390c48615..1e4a9f632edd 100644

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

drivers/net/ppp/ppp_generic.c +19 -9
index 90f1cfbc7c50..ee1527cf3d0c 100644

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

drivers/net/wireless/intel/iwlwifi/iwl-drv.c +1 -1
index 47bea1855e8c..42f7f95dac22 100644

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

drivers/nvme/target/tcp.c +11 -4
index bd142aed20f4..a0af659a4c4a 100644

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

drivers/of/of_reserved_mem.c +2 -2
index 4a30daa0a9b9..959f1808c240 100644

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

drivers/platform/x86/thinkpad_acpi.c +1 -0
index 964670d4ca1e..692bd6fea374 100644

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

drivers/rapidio/devices/rio_mport_cdev.c +2 -1
index a115730ebf14..ca5d06060e05 100644

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

drivers/rapidio/rio-scan.c +4 -1
index fdcf742b2adb..c12941f71e2c 100644

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

drivers/slimbus/messaging.c +3 -2
index 4ce0cb61e481..245e9c7f92cd 100644

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

drivers/spi/spi-mxs.c +2 -1
index cd0e7ae07162..7e556f37d598 100644

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

drivers/usb/atm/cxacru.c +7 -6
index 8f3b9a0a38e1..1443e9cf631a 100644

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

drivers/usb/core/hub.c +33 -0
index 38f3f5a766df..760283a541b4 100644

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

drivers/usb/core/quirks.c +4 -0
index 027479179f09..6926bd639ec6 100644

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

drivers/usb/dwc3/core.c +48 -37

85 lines not on this page · raw message

drivers/usb/dwc3/core.h +1 -1
index 516bace7e1dc..06be72f78969 100644

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

drivers/usb/dwc3/drd.c +2 -2
index 57ddd2e43022..80bfe68cde62 100644

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

drivers/usb/dwc3/gadget.c +7 -3
index f6d9a9c67db4..fdaace1564f9 100644

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

drivers/usb/gadget/composite.c +12 -5
index 9225c21d1184..69ce7d384ba8 100644

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

drivers/usb/gadget/function/u_ether.c +2 -2
index 4bb0553da658..2da2db5e15a3 100644

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

drivers/usb/host/xhci-mem.c +2 -1
index 54c47463c215..b0137eac7ab3 100644

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

drivers/usb/host/xhci-pci.c +11 -7
index 340d9597d1ab..c1a172b6feae 100644

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

drivers/usb/host/xhci.h +1 -1
index fddb3a90dae3..df87e8bcb7d2 100644

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

drivers/usb/renesas_usbhs/common.c +5 -1
index dd1c17542439..205820544f6f 100644

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

drivers/usb/renesas_usbhs/mod_gadget.c +1 -1
index 105132ae87ac..e8e5723f5412 100644

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

drivers/usb/typec/tcpm/tcpci_rt1711h.c +11 -0
index 17ebc5fb684f..66b29d09372e 100644

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

drivers/usb/typec/ucsi/ucsi.c +8 -7
index d6a3fd00c3a5..29a04d679501 100644

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

drivers/virt/acrn/hsm.c +3 -3
index 423ea888d79a..92730c08fd79 100644

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

fs/exfat/balloc.c +8 -2
index 5b547a596380..32209acd51be 100644

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

fs/exfat/exfat_fs.h +1 -1
index f55498e5c23d..19245ddd885f 100644

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

fs/exfat/fatent.c +7 -4
index 428d862a1d2b..74590041fb2c 100644

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

fs/nfs/direct.c +19 -0
index 258521d5125e..a1ff4a4f5380 100644

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

fs/nfs/file.c +2 -1
index 3f9768810427..003dda001840 100644

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

fs/smb/client/inode.c +2 -2
index b3e59a7c7120..dbb407d5e6da 100644

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

fs/smb/server/smb2pdu.c +4 -4
index 815a9a5cfa80..58e5cc2b1f3e 100644

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

fs/smb/server/smbacl.c +16 -0
index 1c9775f1efa5..da8ed72f335d 100644

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

fs/smb/server/transport_ipc.c +1 -0
index 449999576a14..2d7cd7f42f27 100644

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

include/asm-generic/hugetlb.h +1 -1
index 6dcf4d576970..2d7ae9b51d1e 100644

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

include/linux/compaction.h +5 -0
index e94776496049..7bf0c521db63 100644

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

include/linux/hugetlb.h +3 -1
index 0ca93c7574ad..fc2023d07f69 100644

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

include/linux/sched.h +1 -1
index 2af0a8859d64..393c300347de 100644

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

kernel/events/core.c +2 -2
index 4f6b18ecfdb2..4dd8936b5aa0 100644

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

kernel/events/uprobes.c +1 -1
index 7e2edd1b0693..f5dfc2f22d79 100644

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

kernel/sched/fair.c +4 -2
index 726fa69c4d88..2808dbdd0384 100644

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

kernel/trace/trace_fprobe.c +2 -0
index f26bb8a90cb5..93620a783587 100644

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

kernel/trace/trace_probe.h +0 -1
index cef3a50628a3..48afed3c3f88 100644

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

mm/compaction.c +3 -0
index 61c741f11e9b..8b889bee2ace 100644

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

mm/hugetlb.c +2 -2
index 21c12519a7ef..faded25b19be 100644

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

mm/kmsan/hooks.c +1 -0
index 5d6e2dee5692..7478dfca737b 100644

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

mm/memory.c +4 -2
index 742c2f65c2c8..65f1865cb461 100644

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

mm/page_alloc.c +1 -0
index f47439e0ef10..191f0f95d3ed 100644

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

mm/vmalloc.c +2 -2
index 5c2b5f93cb66..fb947787f25d 100644

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

net/8021q/vlan.c +2 -1
index e40aa3e3641c..b477ba37a699 100644

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

net/bluetooth/mgmt.c +5 -0
index b36254107ef5..29e420e9754b 100644

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

net/ipv4/tcp_offload.c +7 -4
index 69e6012ae82f..f1f723579a49 100644

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

net/ipv4/udp_offload.c +6 -2
index a727eeafd0a9..2ab16139c197 100644

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

net/ipv6/ila/ila_lwt.c +3 -1
index ff7e734e335b..7d574f5132e2 100644

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

net/llc/llc_s_ac.c +27 -22

49 lines not on this page · raw message

net/mptcp/pm_netlink.c +15 -3
index 5f16e2fa2de6..f7257de37bd0 100644

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

net/sched/sch_fifo.c +3 -0
index e1040421b797..1080d89f9178 100644

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

net/wireless/nl80211.c +5 -0
index 5b9f39d93b04..0fdd614e08d0 100644

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

net/wireless/reg.c +2 -1
index 0317cf9da307..9e0366ea86f4 100644

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

security/integrity/ima/ima_main.c +5 -2
index cc1217ac2c6f..98308a2bdef6 100644

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

security/integrity/integrity.h +3 -0
index 9561db7cf6b4..ad20ff7f5dfa 100644

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

sound/core/seq/seq_clientmgr.c +30 -16

46 lines not on this page · raw message

sound/pci/hda/Kconfig +1 -0
index 233b03bb4f98..bc32a2e345b7 100644

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

sound/pci/hda/hda_intel.c +2 -0
index 134c6f6e0959..d90151910bee 100644

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

sound/pci/hda/patch_realtek.c +94 -5

99 lines not on this page · raw message

sound/usb/usx2y/usbusx2y.c +11 -0
index 4c4ce0319d62..0fe989a63376 100644

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

sound/usb/usx2y/usbusx2y.h +26 -0
index 8d82f5cc2fe1..0538c457921e 100644

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

sound/usb/usx2y/usbusx2yaudio.c +0 -27
index 5197599e7aa6..98d0e8edc983 100644

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

usr/include/Makefile +1 -1
index 07796df0a295..c16fbabb3625 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.