Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
200 commits
Select commit Hold shift + click to select a range
253fa33
Revert "x86/resctrl: Add Hygon QoS support"
opsiff Feb 10, 2026
d5578ab
firmware: imx: scu-irq: Set mu_resource_id before get handle
MrVan Oct 17, 2025
b3b93cf
efi/cper: Fix cper_bits_to_str buffer handling and return value
Jan 14, 2026
1124fd7
nvme-apple: add "apple,t8103-nvme-ans2" as compatible
jannau Dec 31, 2025
a9423b2
Revert "gfs2: Fix use of bio_chain"
Jan 12, 2026
d5a19b0
x86/fpu: Clear XSTATE_BV[i] in guest XSAVE state whenever XFD[i]=1
sean-jc Dec 31, 2025
6414cc8
rust: bitops: fix missing _find_* functions on 32-bit ARM
Darksonn Jan 5, 2026
d6bd0f9
ASoC: codecs: wsa884x: fix codec initialisation
jhovold Jan 2, 2026
831b435
ASoC: codecs: wsa883x: fix unnecessary initialisation
jhovold Jan 2, 2026
d64f9d4
drm/gud: fix NULL fb and crtc dereferences on USB disconnect
shenghaoyang Dec 31, 2025
da4f5c8
virtio_net: Fix misalignment bug in struct virtnet_info
GustavoARSilva Jan 10, 2026
0828e0a
io_uring: move local task_work in exit cancel loop
Jan 14, 2026
d832843
xfrm: Fix inner mode lookup in tunnel mode GSO segmentation
Nov 20, 2025
0bb2c0f
xfrm: set ipv4 no_pmtu_disc flag only on output sa when direction is set
antonyantony Dec 11, 2025
7ca5b03
pNFS: Fix a deadlock when returning a delegation during open()
Dec 8, 2025
cc384e4
NFS: Fix a deadlock involving nfs_release_folio()
Dec 31, 2025
876dfa3
pnfs/flexfiles: Fix memory leak in nfs4_ff_alloc_deviceid_node()
GoodLuck612 Dec 25, 2025
7356bfd
pnfs/blocklayout: Fix memory leak in bl_parse_scsi()
GoodLuck612 Dec 25, 2025
706a928
drm/bridge: dw-hdmi-qp: Fix spurious IRQ on resume
sre Oct 14, 2025
b0b3b1a
drm/vmwgfx: Fix KMS with 3D on HW version 10
en4bz Nov 14, 2025
9457fe4
drm/vmwgfx: Merge vmw_bo_release and vmw_bo_free functions
en4bz Jan 7, 2026
60e7fda
NFS/localio: Deal with page bases that are > PAGE_SIZE
Jan 2, 2026
110164c
drm/rockchip: vop2: Add delay between poll registers
Jul 18, 2025
b620855
drm/rockchip: vop2: Only wait for changed layer cfg done when there i…
Jul 18, 2025
4b25e72
PM: EM: Fix incorrect description of the cost field in struct em_perf…
Dec 30, 2025
5e71d6b
ipv4: ip_tunnel: spread netdev_lockdep_set_classes()
edumazet Jan 6, 2026
e9d2c7d
can: etas_es58x: allow partial RX URB allocation to succeed
szymonwilczek Dec 23, 2025
dbc7268
nvme-tcp: fix NULL pointer dereferences in nvmet_tcp_build_pdu_iovec
shivam-2315 Dec 13, 2025
376f783
cxl/port: Fix target list setup for multiple decoders sharing the sam…
Jan 8, 2026
55d167c
btrfs: release path before iget_failed() in btrfs_read_locked_inode()
fdmanana Dec 19, 2025
e7c59ce
btrfs: send: check for inline extents in range_is_hole_in_parent()
adam900710 Jan 6, 2026
08ad058
Bluetooth: hci_sync: enable PA Sync Lost event
Dec 19, 2025
004556b
net: bridge: annotate data-races around fdb->{updated,used}
edumazet Jan 8, 2026
f918400
ip6_tunnel: use skb_vlan_inet_prepare() in __ip6_tnl_rcv()
edumazet Jan 7, 2026
ac75d5d
net: update netdev_lock_{type,name}
edumazet Jan 8, 2026
78590d9
macvlan: fix possible UAF in macvlan_forward_source()
edumazet Jan 8, 2026
8bad4aa
block: zero non-PI portion of auto integrity buffer
calebsander Jan 8, 2026
4b2e862
ipv4: ip_gre: make ipgre_header() robust
edumazet Jan 8, 2026
ed0c8a3
vsock/test: add a final full barrier after run all tests
stefano-garzarella Jan 8, 2026
4188364
net/mlx5e: Fix crash on profile change rollback failure
Jan 8, 2026
4dc4e2a
net/mlx5e: Don't store mlx5e_priv in mlx5e_dev devlink priv
Jan 8, 2026
89f49bf
net/mlx5e: Pass netdev to mlx5e_destroy_netdev instead of priv
Jan 8, 2026
9c92723
net/mlx5e: Restore destroying state bit after profile cleanup
Jan 8, 2026
d6e8fd4
btrfs: fix memory leaks in create_space_info() error paths
Jan 11, 2026
5ebcfae
cxl/hdm: Fix potential infinite loop in __cxl_dpa_reserve()
MingLi-4 Jan 12, 2026
c0e22ce
net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback
Keryer Jan 8, 2026
efb439f
net: phy: motorcomm: fix duplex setting error for phy leds
Jan 8, 2026
dc9ccf2
net: airoha: Fix typo in airoha_ppe_setup_tc_block_cb definition
LorenzoBianconi Jan 9, 2026
1ea6693
ALSA: hda/cirrus_scodec_test: Fix incorrect setup of gpiochip
rfvirgil Jan 13, 2026
e9a8b95
ALSA: hda/cirrus_scodec_test: Fix test suite name
rfvirgil Jan 13, 2026
d4d210c
net: hv_netvsc: reject RSS hash key programming without RX indirectio…
Jan 12, 2026
595e061
dst: fix races in rt6_uncached_list_del() and rt_del_uncached_list()
edumazet Jan 12, 2026
091c71d
ipv6: Fix use-after-free in inet6_addr_del().
q2ven Jan 13, 2026
01a9bda
selftests: drv-net: fix RPS mask handling for high CPU numbers
gal-pressman Jan 12, 2026
fea5fcc
net/sched: sch_qfq: do not free existing class in qfq_change_class()
edumazet Jan 12, 2026
2ea28fd
ASoC: sdw_utils: cs42l43: Enable Headphone pin for LINEOUT jack type
coleleavitt Jan 14, 2026
e869308
ASoC: tlv320adcx140: fix null pointer
Svendsen991 Jan 13, 2026
8cf509f
ASoC: tlv320adcx140: fix word length
Svendsen991 Jan 13, 2026
eb6b903
drm/amdgpu: fix drm panic null pointer when driver not support atomic
Jan 6, 2026
5fbb1e9
drm/amd/display: Show link name in PSR status message
superm1 Dec 14, 2025
28788f9
drm/amd/pm: fix smu overdrive data type wrong issue on smu 14.0.2
Jan 6, 2026
908fb3d
drm/amdkfd: No need to suspend whole MES to evict process
hkasivis Jan 11, 2026
3977d65
drm/amdgpu/userq: Fix fence reference leak on queue teardown v2
srishanm Jan 14, 2026
57a3827
mm: describe @flags parameter in memalloc_flags_save()
bagasme Dec 19, 2025
985e2bf
textsearch: describe @list member in ts_ops search
bagasme Dec 19, 2025
e596314
mm, kfence: describe @slab parameter in __kfence_obj_info()
bagasme Dec 19, 2025
ca6dd23
mips: fix HIGHMEM initialization
rppt Dec 31, 2025
3aba72f
drivers/dax: add some missing kerneldoc comment fields for struct dev…
jagalactic Jan 10, 2026
8af5754
NFS: Fix size read races in truncate, fallocate and copy offload
Jan 10, 2026
0472eca
dmaengine: mmp_pdma: fix DMA mask handling
docularxu Sep 18, 2025
55d5eb1
dmaengine: xilinx: xdma: Fix regmap max_register
anthonybrandon Oct 13, 2025
8031391
dmaengine: tegra-adma: Fix use-after-free
Nov 10, 2025
1684a42
dmaengine: xilinx_dma: Fix uninitialized addr_width when "xlnx,addrwi…
Oct 21, 2025
5adfc89
phy: fsl-imx8mq-usb: Clear the PCS_TX_SWING_FULL field before using it
StefanoRadaelliGit Dec 19, 2025
b954b01
phy: qcom-qusb2: Fix NULL pointer dereference on early suspend
Dec 19, 2025
c98e092
phy: stm32-usphyc: Fix off by one in probe()
Dec 9, 2025
e52b74c
phy: ti: da8xx-usb: Handle devm_pm_runtime_enable() errors
ISCAS-Vulab Nov 24, 2025
cf086b7
landlock: Fix TCP handling of short AF_UNSPEC addresses
mtth-bfft Oct 27, 2025
ee76704
selftests/landlock: Fix TCP bind(AF_UNSPEC) test case
mtth-bfft Oct 27, 2025
8de8c39
selftests/landlock: Remove invalid unix socket bind()
mtth-bfft Dec 1, 2025
74697ee
landlock: Fix wrong type usage
micromaomao Dec 6, 2025
39e0761
phy: broadcom: ns-usb3: Fix Wvoid-pointer-to-enum-cast warning (again)
krzk Dec 24, 2025
bf9c1d6
selftests/landlock: Properly close a file descriptor
gnoack Jan 1, 2026
3657483
dmaengine: omap-dma: fix dma_pool resource leak in error paths
ISCAS-Vulab Nov 3, 2025
95da3ee
soundwire: bus: fix off-by-one when allocating slave IDs
harshimogalapalli Jan 10, 2026
4130f62
i2c: qcom-geni: make sure I2C hub controllers can't use SE DMA
superna9999 Oct 29, 2025
cb6479c
i2c: imx-lpi2c: change to PIO mode in system-wide suspend/resume prog…
NXP-CarlosSong Nov 21, 2025
d9279c3
sched/deadline: Avoid double update_rq_clock()
Jan 13, 2026
7974aac
sched: Deadline has dynamic priority
Jan 15, 2026
8bb75a3
HID: usbhid: paper over wrong bNumDescriptor field
Dec 15, 2025
ee97798
selftests/bpf: Fix selftest verif_scale_strobemeta failure with llvm22
Oct 14, 2025
c35c20d
scsi: core: Fix error handler encryption support
Dec 18, 2025
44b3399
selftests: kvm: replace numbered sync points with actions
bonzini Dec 23, 2025
06c99d5
selftests: kvm: try getting XFD and XSAVE state out of sync
bonzini Dec 31, 2025
a1b80d6
ALSA: pcm: Improve the fix for race of buffer access at PCM OSS layer
perexg Jan 7, 2026
d5939cc
ALSA: hda/tas2781: Skip UEFI calibration on ASUS ROG Xbox Ally X
matte-schwartz Jan 8, 2026
041ac5b
ALSA: hda/realtek: Add quirk for HP Pavilion x360 to enable mute LED
Jan 15, 2026
36f3698
null_blk: fix kmemleak by releasing references to fault configfs items
shroffni Jan 13, 2026
a4a6ccf
can: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak
marckleinebudde Dec 23, 2025
0f2c0ba
can: ctucanfd: fix SSP_SRC in cases when bit-rate is higher than 1 MBit.
Blebowski Jan 5, 2026
4b4d620
net: can: j1939: j1939_xtp_rx_rts_session_active(): deactivate sessio…
Jan 13, 2026
817d33e
tools/testing/selftests: add tests for !tgt, src mremap() merges
lorenzo-stoakes Jan 5, 2026
af990b7
tools/testing/selftests: add forked (un)/faulted VMA merge tests
lorenzo-stoakes Jan 5, 2026
3498b60
tools/testing/selftests: fix gup_longterm for unknown fs
lorenzo-stoakes Jan 6, 2026
50e6e7d
ftrace: Do not over-allocate ftrace memory
groeck Jan 13, 2026
96089df
xfs: set max_agbno to allow sparse alloc of last full inode chunk
Jan 9, 2026
9c3a3ef
xfs: Fix the return value of xfs_rtcopy_summary()
Nirjhar-Roy-0211 Jan 12, 2026
2dea24a
virtio-net: don't schedule delayed refill worker
minhbq-99 Jan 6, 2026
45d8759
lib/buildid: use __kernel_read() for sleepable context
shakeelb Dec 22, 2025
2255076
x86/kaslr: Recognize all ZONE_DEVICE users as physaddr consumers
djbw Nov 6, 2025
63f5487
phy: rockchip: inno-usb2: fix communication disruption in gadget mode
lucaceresoli Nov 27, 2025
755d27b
phy: ti: gmii-sel: fix regmap leak on probe failure
jhovold Nov 27, 2025
8ff116c
phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_p…
ISCAS-Vulab Jan 9, 2026
d00f075
phy: freescale: imx8m-pcie: assert phy reset during power on
Dec 23, 2025
d0120a4
phy: rockchip: inno-usb2: fix disconnection in gadget mode
Fomys Nov 27, 2025
1ac08fc
phy: fsl-imx8mq-usb: fix typec orientation switch when built as module
Nov 26, 2025
479d7eb
phy: tegra: xusb: Explicitly configure HS_DISCON_LEVEL to 0x7
Dec 12, 2025
41b49d5
usb: host: xhci-tegra: Use platform_get_irq_optional() for wake IRQs
Jan 12, 2026
fae398e
xhci: sideband: don't dereference freed ring when removing sideband e…
matnyman Jan 15, 2026
1caee46
usb: gadget: uvc: fix interval_duration calculation
Jan 13, 2026
4f9b83d
usb: gadget: uvc: fix req_payload_size calculation
Jan 13, 2026
480f4dd
usb: dwc3: Check for USB4 IP_NAME
Jan 2, 2026
d261fd1
usb: core: add USB_QUIRK_NO_BOS for devices that hang on BOS descriptor
birdayz Dec 7, 2025
904b0b0
USB: OHCI/UHCI: Add soft dependencies on ehci_platform
chenhuacai Jan 12, 2026
caaab90
USB: serial: option: add Telit LE910 MBIM composition
umohr-semex Dec 9, 2025
6cfbc1e
USB: serial: ftdi_sio: add support for PICAXE AXE027 cable
EthanNelson-Moore Dec 11, 2025
4cfaea2
nvme-pci: disable secondary temp for Wodposit WPBSNM8
Dec 8, 2025
28e2c70
ASoC: codecs: wsa881x: fix unnecessary initialisation
jhovold Jan 2, 2026
84a5ba3
ext4: fix ext4_tune_sb_params padding
arndb Dec 4, 2025
0649ee9
ext4: fix iloc.bh leak in ext4_xattr_inode_update_ref
Dec 13, 2025
4a47906
hrtimer: Fix softirq base check in update_needs_ipi()
t-8ch Jan 7, 2026
e30a366
EDAC/x38: Fix a resource leak in x38_probe1()
Dec 23, 2025
1e688f2
EDAC/i3200: Fix a resource leak in i3200_probe1()
Dec 23, 2025
9454b75
tcpm: allow looking for role_sw device in the main node
a-wai Jan 5, 2026
8cff86d
i2c: riic: Move suspend handling to NOIRQ phase
Dec 18, 2025
30b8891
x86/resctrl: Add missing resctrl initialization for Hygon
shenxiaochen Dec 9, 2025
d3cc2f3
x86/resctrl: Fix memory bandwidth counter width for Hygon
shenxiaochen Dec 9, 2025
95b4ee1
nvme: fix PCIe subsystem reset controller state transition
shroffni Jan 14, 2026
1a1ae8a
mm: kmsan: fix poisoning of high-order non-compound pages
ryanhrob Jan 4, 2026
de5216c
mm: numa,memblock: include <asm/numa.h> for 'numa_nodes_parsed'
bjdooks-ct Jan 8, 2026
45ee76c
mm/zswap: fix error pointer free in zswap_cpu_comp_prepare()
Dec 31, 2025
3d3ff62
mm/page_alloc: make percpu_pagelist_high_fraction reads lock-free
AboorvaDevarajan Dec 1, 2025
4a8a579
mm/damon/core: remove call_control in inactive contexts
sjp38 Dec 31, 2025
ddc72d8
mm/damon/sysfs-scheme: cleanup quotas subdirs on scheme dir setup fai…
sjp38 Dec 25, 2025
0fdca89
mm/damon/sysfs-scheme: cleanup access_pattern subdirs on scheme dir s…
sjp38 Dec 25, 2025
cf9d20d
mm/damon/sysfs: cleanup intervals subdirs on attrs dir setup failure
sjp38 Dec 25, 2025
6a2fa8f
mm/damon/sysfs: cleanup attrs subdirs on context dir setup failure
sjp38 Dec 25, 2025
dd8332b
LoongArch: Fix PMU counter allocation for mixed-type event groups
Jan 17, 2026
937cf39
LoongArch: dts: Describe PCI sideband IRQ through interrupt-extended
ziyao233 Jan 17, 2026
24deddf
drm/amd/display: Bump the HDMI clock to 340MHz
superm1 Dec 15, 2025
6f5a240
drm/amd/display: Initialise backlight level values from hw
Jan 12, 2026
7bd0322
drm/amd: Clean up kfd node on surprise disconnect
superm1 Jan 7, 2026
d17570b
drm/amdgpu: Fix gfx9 update PTE mtype flag
PhilipYangA Dec 4, 2025
20db23d
drm/amdgpu: make sure userqs are enabled in userq IOCTLs
alexdeucher Jan 9, 2026
1491160
drm/amdkfd: fix a memory leak in device_queue_manager_init()
Jan 8, 2026
e19b47c
drm/nouveau/disp/nv50-: Set lock_core in curs507a_prepare
Lyude Dec 19, 2025
5f48ca5
drm/panel-simple: fix connector type for DataImage SCF0700C48GGU18 panel
Jan 10, 2026
7f6a4cb
drm/panel: simple: restore connector_type fallback
ldesroches Dec 18, 2025
04ebd19
drm/sysfb: Remove duplicate declarations
tdz Jan 8, 2026
ae3ade8
drm/vmwgfx: Fix an error return check in vmw_compat_shader_add()
Dec 24, 2025
8ece54b
LoongArch: dts: loongson-2k0500: Add default interrupt controller add…
AaronDot Jan 17, 2026
2932c53
LoongArch: dts: loongson-2k1000: Add default interrupt controller add…
AaronDot Jan 17, 2026
419cb68
LoongArch: dts: loongson-2k1000: Fix i2c-gpio node names
AaronDot Jan 17, 2026
8ba5810
LoongArch: dts: loongson-2k2000: Add default interrupt controller add…
AaronDot Jan 17, 2026
11f5b30
LoongArch: KVM: Fix kvm_device leak in kvm_eiointc_destroy()
JohnsPony Jan 17, 2026
02d99eb
LoongArch: KVM: Fix kvm_device leak in kvm_ipi_destroy()
JohnsPony Jan 17, 2026
2f8445e
LoongArch: KVM: Fix kvm_device leak in kvm_pch_pic_destroy()
JohnsPony Jan 17, 2026
6344158
dmaengine: apple-admac: Add "apple,t8103-admac" compatible
jannau Dec 31, 2025
3ccf593
dmaengine: at_hdmac: fix device leak on of_dma_xlate()
jhovold Nov 17, 2025
2ba4eaa
dmaengine: bcm-sba-raid: fix device leak on probe
jhovold Nov 17, 2025
c33b9ae
dmaengine: cv1800b-dmamux: fix device leak on route allocation
jhovold Nov 17, 2025
fe82e72
dmaengine: dw: dmamux: fix OF node leak on route allocation failure
jhovold Nov 17, 2025
ef5d2ba
dmaengine: fsl-edma: Fix clk leak on alloc_chan_resources failure
nizhen-t Oct 14, 2025
aaa52e9
dmaengine: idxd: fix device leaks on compat bind and unbind
jhovold Nov 17, 2025
6f714eb
dmaengine: lpc18xx-dmamux: fix device leak on route allocation
jhovold Nov 17, 2025
1adcc57
dmaengine: lpc32xx-dmamux: fix device leak on route allocation
jhovold Nov 17, 2025
4c96ee7
dmaengine: qcom: gpi: Fix memory leak in gpi_peripheral_config()
Yuuoniy Oct 29, 2025
c156317
dmaengine: sh: rz-dmac: fix device leak on probe failure
jhovold Nov 17, 2025
09f88d4
dmaengine: sh: rz-dmac: Fix rz_dmac_terminate_all()
bijudas Nov 13, 2025
3c72a73
dmaengine: stm32: dmamux: fix device leak on route allocation
jhovold Nov 17, 2025
8ceb06f
dmaengine: stm32: dmamux: fix OF node leak on route allocation failure
jhovold Nov 17, 2025
b6a5f51
dmaengine: ti: dma-crossbar: fix device leak on dra7x route allocation
jhovold Nov 17, 2025
cf9ba57
dmaengine: ti: dma-crossbar: fix device leak on am335x route allocation
jhovold Nov 17, 2025
ff41e63
dmaengine: ti: k3-udma: fix device leak on udma lookup
jhovold Nov 17, 2025
c275f4c
mm: add a ptdesc flag to mark kernel page tables
hansendc Oct 22, 2025
f558884
mm: actually mark kernel page table pages
hansendc Oct 22, 2025
1234834
x86/mm: use 'ptdesc' when freeing PMD pages
hansendc Oct 22, 2025
f02ade0
mm: introduce pure page table freeing function
hansendc Oct 22, 2025
071cc3b
x86/mm: use pagetable_free()
LuBaolu Oct 22, 2025
ab5c7fc
mm: introduce deferred freeing for kernel page tables
hansendc Oct 22, 2025
31df473
iommu/sva: invalidate stale IOTLB entries for kernel address space
LuBaolu Oct 22, 2025
6dd7ff0
HID: intel-ish-hid: Use dedicated unbound workqueues to prevent resum…
lixuzha Oct 10, 2025
9b69a69
HID: intel-ish-hid: Fix -Wcast-function-type-strict in devm_ishtp_all…
nathanchance Oct 21, 2025
4400523
btrfs: fix deadlock in wait_current_trans() due to ignored transactio…
robbieko-ai Dec 11, 2025
770c626
mm/page_alloc/vmstat: simplify refresh_cpu_vm_stats change detection
joshuahahn Oct 14, 2025
fd89308
mm/page_alloc: batch page freeing in decay_pcp_high
joshuahahn Oct 14, 2025
5e3c25d
mm/page_alloc: prevent pcp corruption with SMP=n
tehcaster Jan 5, 2026
c5bd41e
Revert "functionfs: fix the open/removal races"
gregkh Jan 21, 2026
f722ad0
iommu/sva: include mmu_notifier.h header
Jan 5, 2026
1067c46
Linux 6.18.7
gregkh Jan 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 18
SUBLEVEL = 6
SUBLEVEL = 7
EXTRAVERSION =
NAME = Baby Opossum Posse

Expand Down
3 changes: 3 additions & 0 deletions arch/loongarch/boot/dts/loongson-2k0500.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
reg-names = "main", "isr0";

interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
interrupt-parent = <&cpuintc>;
interrupts = <2>;
Expand All @@ -149,6 +150,7 @@
reg-names = "main", "isr0";

interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
interrupt-parent = <&cpuintc>;
interrupts = <4>;
Expand All @@ -164,6 +166,7 @@
compatible = "loongson,ls2k0500-eiointc";
reg = <0x0 0x1fe11600 0x0 0xea00>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-parent = <&cpuintc>;
interrupts = <3>;
Expand Down
31 changes: 13 additions & 18 deletions arch/loongarch/boot/dts/loongson-2k1000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
};

/* i2c of the dvi eeprom edid */
i2c-gpio-0 {
i2c-0 {
compatible = "i2c-gpio";
scl-gpios = <&gpio0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Expand All @@ -57,7 +57,7 @@
};

/* i2c of the eeprom edid */
i2c-gpio-1 {
i2c-1 {
compatible = "i2c-gpio";
scl-gpios = <&gpio0 33 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
sda-gpios = <&gpio0 32 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
Expand Down Expand Up @@ -114,6 +114,7 @@
<0x0 0x1fe01140 0x0 0x8>;
reg-names = "main", "isr0", "isr1";
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
interrupt-parent = <&cpuintc>;
interrupts = <2>;
Expand All @@ -131,6 +132,7 @@
<0x0 0x1fe01148 0x0 0x8>;
reg-names = "main", "isr0", "isr1";
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
interrupt-parent = <&cpuintc>;
interrupts = <3>;
Expand Down Expand Up @@ -437,54 +439,47 @@

gmac0: ethernet@3,0 {
reg = <0x1800 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc0>;
interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,
<13 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc0 12 IRQ_TYPE_LEVEL_HIGH>,
<&liointc0 13 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi";
status = "disabled";
};

gmac1: ethernet@3,1 {
reg = <0x1900 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc0>;
interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
<15 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc0 14 IRQ_TYPE_LEVEL_HIGH>,
<&liointc0 15 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi";
status = "disabled";
};

ehci0: usb@4,1 {
reg = <0x2100 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc1>;
interrupts = <18 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc1 18 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

ohci0: usb@4,2 {
reg = <0x2200 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc1>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc1 19 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

display@6,0 {
reg = <0x3000 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc0>;
interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc0 28 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

hda@7,0 {
reg = <0x3800 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc0>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc0 4 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

sata: sata@8,0 {
reg = <0x4000 0x0 0x0 0x0 0x0>;
interrupt-parent = <&liointc0>;
interrupts = <19 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&liointc0 19 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

Expand Down
35 changes: 15 additions & 20 deletions arch/loongarch/boot/dts/loongson-2k2000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
reg = <0x0 0x1fe01400 0x0 0x64>;

interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
interrupt-parent = <&cpuintc>;
interrupts = <2>;
Expand All @@ -140,6 +141,7 @@
compatible = "loongson,ls2k2000-eiointc";
reg = <0x0 0x1fe01600 0x0 0xea00>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <1>;
interrupt-parent = <&cpuintc>;
interrupts = <3>;
Expand All @@ -149,6 +151,7 @@
compatible = "loongson,pch-pic-1.0";
reg = <0x0 0x10000000 0x0 0x400>;
interrupt-controller;
#address-cells = <0>;
#interrupt-cells = <2>;
loongson,pic-base-vec = <0>;
interrupt-parent = <&eiointc>;
Expand Down Expand Up @@ -291,65 +294,57 @@

gmac0: ethernet@3,0 {
reg = <0x1800 0x0 0x0 0x0 0x0>;
interrupts = <12 IRQ_TYPE_LEVEL_HIGH>,
<13 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&pic 12 IRQ_TYPE_LEVEL_HIGH>,
<&pic 13 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi";
interrupt-parent = <&pic>;
status = "disabled";
};

gmac1: ethernet@3,1 {
reg = <0x1900 0x0 0x0 0x0 0x0>;
interrupts = <14 IRQ_TYPE_LEVEL_HIGH>,
<15 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&pic 14 IRQ_TYPE_LEVEL_HIGH>,
<&pic 15 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi";
interrupt-parent = <&pic>;
status = "disabled";
};

gmac2: ethernet@3,2 {
reg = <0x1a00 0x0 0x0 0x0 0x0>;
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>,
<18 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&pic 17 IRQ_TYPE_LEVEL_HIGH>,
<&pic 18 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "macirq", "eth_lpi";
interrupt-parent = <&pic>;
status = "disabled";
};

xhci0: usb@4,0 {
reg = <0x2000 0x0 0x0 0x0 0x0>;
interrupts = <48 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&pic>;
interrupts-extended = <&pic 48 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

xhci1: usb@19,0 {
reg = <0xc800 0x0 0x0 0x0 0x0>;
interrupts = <22 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&pic>;
interrupts-extended = <&pic 22 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

display@6,1 {
reg = <0x3100 0x0 0x0 0x0 0x0>;
interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&pic>;
interrupts-extended = <&pic 28 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

i2s@7,0 {
reg = <0x3800 0x0 0x0 0x0 0x0>;
interrupts = <78 IRQ_TYPE_LEVEL_HIGH>,
<79 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&pic 78 IRQ_TYPE_LEVEL_HIGH>,
<&pic 79 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "tx", "rx";
interrupt-parent = <&pic>;
status = "disabled";
};

sata: sata@8,0 {
reg = <0x4000 0x0 0x0 0x0 0x0>;
interrupts = <16 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&pic>;
interrupts-extended = <&pic 16 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};

Expand Down
21 changes: 18 additions & 3 deletions arch/loongarch/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,22 +626,37 @@ static const struct loongarch_perf_event *loongarch_pmu_map_cache_event(u64 conf
return pev;
}

static inline bool loongarch_pmu_event_requires_counter(const struct perf_event *event)
{
switch (event->attr.type) {
case PERF_TYPE_HARDWARE:
case PERF_TYPE_HW_CACHE:
case PERF_TYPE_RAW:
return true;
default:
return false;
}
}

static int validate_group(struct perf_event *event)
{
struct cpu_hw_events fake_cpuc;
struct perf_event *sibling, *leader = event->group_leader;

memset(&fake_cpuc, 0, sizeof(fake_cpuc));

if (loongarch_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0)
if (loongarch_pmu_event_requires_counter(leader) &&
loongarch_pmu_alloc_counter(&fake_cpuc, &leader->hw) < 0)
return -EINVAL;

for_each_sibling_event(sibling, leader) {
if (loongarch_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0)
if (loongarch_pmu_event_requires_counter(sibling) &&
loongarch_pmu_alloc_counter(&fake_cpuc, &sibling->hw) < 0)
return -EINVAL;
}

if (loongarch_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0)
if (loongarch_pmu_event_requires_counter(event) &&
loongarch_pmu_alloc_counter(&fake_cpuc, &event->hw) < 0)
return -EINVAL;

return 0;
Expand Down
1 change: 1 addition & 0 deletions arch/loongarch/kvm/intc/eiointc.c
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,7 @@ static void kvm_eiointc_destroy(struct kvm_device *dev)
kvm_io_bus_unregister_dev(kvm, KVM_IOCSR_BUS, &eiointc->device);
kvm_io_bus_unregister_dev(kvm, KVM_IOCSR_BUS, &eiointc->device_vext);
kfree(eiointc);
kfree(dev);
}

static struct kvm_device_ops kvm_eiointc_dev_ops = {
Expand Down
1 change: 1 addition & 0 deletions arch/loongarch/kvm/intc/ipi.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ static void kvm_ipi_destroy(struct kvm_device *dev)
ipi = kvm->arch.ipi;
kvm_io_bus_unregister_dev(kvm, KVM_IOCSR_BUS, &ipi->device);
kfree(ipi);
kfree(dev);
}

static struct kvm_device_ops kvm_ipi_dev_ops = {
Expand Down
1 change: 1 addition & 0 deletions arch/loongarch/kvm/intc/pch_pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ static void kvm_pch_pic_destroy(struct kvm_device *dev)
/* unregister pch pic device and free it's memory */
kvm_io_bus_unregister_dev(kvm, KVM_MMIO_BUS, &s->device);
kfree(s);
kfree(dev);
}

static struct kvm_device_ops kvm_pch_pic_dev_ops = {
Expand Down
23 changes: 23 additions & 0 deletions arch/mips/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,28 @@ void __init paging_init(void)
static struct kcore_list kcore_kseg0;
#endif

static inline void __init highmem_init(void)
{
#ifdef CONFIG_HIGHMEM
unsigned long tmp;

/*
* If CPU cannot support HIGHMEM discard the memory above highstart_pfn
*/
if (cpu_has_dc_aliases) {
memblock_remove(PFN_PHYS(highstart_pfn), -1);
return;
}

for (tmp = highstart_pfn; tmp < highend_pfn; tmp++) {
struct page *page = pfn_to_page(tmp);

if (!memblock_is_memory(PFN_PHYS(tmp)))
SetPageReserved(page);
}
#endif
}

void __init arch_mm_preinit(void)
{
/*
Expand All @@ -435,6 +457,7 @@ void __init arch_mm_preinit(void)

maar_init();
setup_zero_pages(); /* Setup zeroed pages. */
highmem_init();

#ifdef CONFIG_64BIT
if ((unsigned long) &_text > (unsigned long) CKSEG0)
Expand Down
1 change: 1 addition & 0 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ config X86
select HAVE_PCI
select HAVE_PERF_REGS
select HAVE_PERF_USER_STACK_DUMP
select ASYNC_KERNEL_PGTABLE_FREE if IOMMU_SVA
select MMU_GATHER_RCU_TABLE_FREE
select MMU_GATHER_MERGE_VMAS
select HAVE_POSIX_CPU_TIMERS_TASK_WORK
Expand Down
17 changes: 13 additions & 4 deletions arch/x86/kernel/cpu/resctrl/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,19 @@ void resctrl_cpu_detect(struct cpuinfo_x86 *c)
c->x86_cache_occ_scale = ebx;
c->x86_cache_mbm_width_offset = eax & 0xff;

if ((c->x86_vendor == X86_VENDOR_AMD ||
c->x86_vendor == X86_VENDOR_HYGON) &&
!c->x86_cache_mbm_width_offset)
c->x86_cache_mbm_width_offset = MBM_CNTR_WIDTH_OFFSET_AMD;
if (!c->x86_cache_mbm_width_offset) {
switch (c->x86_vendor) {
case X86_VENDOR_AMD:
c->x86_cache_mbm_width_offset = MBM_CNTR_WIDTH_OFFSET_AMD;
break;
case X86_VENDOR_HYGON:
c->x86_cache_mbm_width_offset = MBM_CNTR_WIDTH_OFFSET_HYGON;
break;
default:
/* Leave c->x86_cache_mbm_width_offset as 0 */
break;
}
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions arch/x86/kernel/cpu/resctrl/internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

#define MBM_CNTR_WIDTH_OFFSET_AMD 20

/* Hygon MBM counter width as an offset from MBM_CNTR_WIDTH_BASE */
#define MBM_CNTR_WIDTH_OFFSET_HYGON 8

#define RMID_VAL_ERROR BIT_ULL(63)

#define RMID_VAL_UNAVAIL BIT_ULL(62)
Expand Down
Loading