Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Deepin-Kernel-SIG] [Upstream] Update kernel base to 6.6.56 #440

Merged
merged 387 commits into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
387 commits
Select commit Hold shift + click to select a range
85a67fa
drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_c…
srishanm Aug 2, 2024
59584da
drm/amd/display: fix double free issue during amdgpu module unload
Aug 15, 2024
224196b
jfs: UBSAN: shift-out-of-bounds in dbFindBits
rbrasga Jul 10, 2024
3513e2f
jfs: Fix uaf in dbFreeBits
Edward-AD Aug 24, 2024
674ba73
jfs: check if leafidx greater than num leaves per dmap tree
Edward-AD Aug 24, 2024
c952f76
scsi: smartpqi: correct stream detection
Aug 27, 2024
47e0532
drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs
konradybcio Jul 9, 2024
00a4f32
jfs: Fix uninit-value access of new_ea in ea_buffer
Sep 4, 2024
4c7b9c5
drm/amdgpu: add raven1 gfxoff quirk
Aug 30, 2024
2ee7d79
drm/amdgpu: enable gfxoff quirk on HP 705G4
Aug 30, 2024
7266bdb
drm/amdkfd: Fix resource leak in criu restore queue
Jie1zhang Sep 6, 2024
ae92f78
HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
vishnuocv Aug 18, 2024
ba83532
platform/x86: touchscreen_dmi: add nanote-next quirk
Ckath Sep 11, 2024
3abd662
drm/stm: ltdc: reset plane transparency after plane disable
Jul 12, 2024
408ea0f
drm/amd/display: Check stream before comparing them
Jun 28, 2024
d0774b7
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
Jun 27, 2024
a0f377e
drm/amd/display: Fix index out of bounds in DCN30 degamma hardware fo…
srishanm Jul 20, 2024
1ec6c47
drm/amd/display: Fix index out of bounds in degamma hardware format t…
srishanm Jul 20, 2024
c8dbe2d
drm/amd/display: Fix index out of bounds in DCN30 color transformation
srishanm Jul 20, 2024
3a98a5d
drm/amd/display: Avoid overflow assignment in link_dp_cts
Jul 17, 2024
8951f6e
drm/amd/display: Initialize get_bytes_per_element's default to 1
Jul 15, 2024
033fe36
drm/printer: Allow NULL data in devcoredump printer
mbrost05 Aug 1, 2024
1fa2de9
perf,x86: avoid missing caller address in stack traces captured in up…
anakryiko Jul 29, 2024
608dc88
scsi: aacraid: Rearrange order of struct aac_srb_unit
kees Jul 11, 2024
58c6d64
scsi: lpfc: Update PRLO handling in direct attached topology
Jul 26, 2024
2d377a5
drm/amdgpu: fix unchecked return value warning for amdgpu_gfx
Aug 1, 2024
c08e822
perf: Fix event_function_call() locking
Aug 7, 2024
b0b3821
scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers
fthain Aug 7, 2024
51407f2
drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
geertu Jul 30, 2024
59b3abb
drm/amdgpu: Block MMR_READ IOCTL in reset
Aug 8, 2024
bdf53e1
drm/amdgpu/gfx9: use rlc safe mode for soft recovery
alexdeucher Jul 24, 2024
218ee97
drm/amd/pm: ensure the fw_info is not null before using it
Aug 7, 2024
b32f184
of/irq: Refer to actual buffer size in of_irq_parse_one()
geertu Aug 20, 2024
0275f3f
powerpc/pseries: Use correct data types from pseries_hp_errorlog struct
hmyneni Aug 22, 2024
f82c619
drm/amdgpu/gfx11: use rlc safe mode for soft recovery
alexdeucher Jul 24, 2024
45f1e02
drm/amdgpu/gfx10: use rlc safe mode for soft recovery
alexdeucher Jul 24, 2024
3e6f5f2
platform/x86: lenovo-ymc: Ignore the 0x0 state
soyersoyer Aug 22, 2024
e9b40fd
ksmbd: add refcnt to ksmbd_conn struct
namjaejeon Sep 3, 2024
105dc17
bpf: Make the pointer returned by iter next method valid
juntongdeng Aug 29, 2024
82ec2af
ext4: ext4_search_dir should return a proper error
Aug 21, 2024
b5dde7a
ext4: avoid use-after-free in ext4_ext_show_leaf()
LiBaokun96 Aug 22, 2024
1dbfac5
ext4: fix i_data_sem unlock order in ext4_ind_migrate()
Aug 29, 2024
7499f38
bpftool: Fix undefined behavior caused by shifting into the sign bit
visitorckw Sep 8, 2024
91d590c
iomap: handle a post-direct I/O invalidate race in iomap_write_delall…
Sep 10, 2024
d505ad2
bpftool: Fix undefined behavior in qsort(NULL, 0, ...)
visitorckw Sep 10, 2024
96838ee
spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
Sep 23, 2024
7302e73
spi: spi-cadence: Use helper function devm_clk_get_enabled()
Aug 23, 2023
0c434c8
spi: spi-cadence: Fix pm_runtime_set_suspended() with runtime pm enabled
Sep 23, 2024
9e07cfd
spi: spi-cadence: Fix missing spi_controller_is_target() check
Sep 23, 2024
30cd2ca
selftest: hid: add missing run-hid-tools-tests.sh
Sep 29, 2024
953a21e
spi: s3c64xx: fix timeout counters in flush_fifo
bjdooks-ct Sep 24, 2024
cd35d71
selftests: breakpoints: use remaining time to check if suspend succeed
Sep 30, 2024
091f0ca
accel/ivpu: Add missing MODULE_FIRMWARE metadata
xanderlent Jul 9, 2024
8539244
spi: rpc-if: Add missing MODULE_DEVICE_TABLE
Jul 31, 2024
9b81ae0
perf callchain: Fix stitch LBR memory leaks
captain5050 Aug 8, 2024
631df8a
perf: Really fix event_function_call() locking
namhyung Aug 13, 2024
69f8fc3
selftests: vDSO: fix vDSO name for powerpc
chleroy Aug 30, 2024
f2df2f8
selftests: vDSO: fix vdso_config for powerpc
chleroy Aug 30, 2024
9d41357
selftests: vDSO: fix vDSO symbols lookup for powerpc64
chleroy Aug 30, 2024
49bdaa2
selftests/mm: fix charge_reserved_hugetlb.sh test
davidhildenbrand Aug 21, 2024
b08b49f
powerpc/vdso: Fix VDSO data access when running in a non-root time na…
chleroy Sep 6, 2024
860de2b
selftests: vDSO: fix ELF hash table entry size for s390x
Sep 11, 2024
7bda46b
selftests: vDSO: fix vdso_config for s390
hcahca Sep 11, 2024
cf9b0f0
Revert "ALSA: hda: Conditionally use snooping for AMD HDMI"
tiwai Oct 2, 2024
a55e885
platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug
zachwade-k Sep 23, 2024
61724e8
i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/r…
Sep 30, 2024
4865cbd
i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
Sep 12, 2024
6282a57
i2c: xiic: Wait for TX empty to avoid missed TX NAKs
robhancocksed Nov 21, 2023
e5479e8
media: i2c: ar0521: Use cansleep version of gpiod_set_value()
shcgit Aug 29, 2024
0e60d5f
i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
Sep 23, 2024
b5f0a1b
i2c: designware: fix controller is holding SCL low while ENABLE bit i…
Sep 13, 2024
ffddccb
rust: sync: require `T: Sync` for `LockedBy::access`
Darksonn Sep 15, 2024
bfb4a98
ovl: fail if trusted xattrs are needed but caller lacks permission
mbaynton Jul 11, 2024
47961cc
firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
krzk Aug 16, 2024
651ca65
memory: tegra186-emc: drop unused to_tegra186_emc()
krzk Aug 12, 2024
4c4145a
dt-bindings: clock: exynos7885: Fix duplicated binding
VDavid003 Aug 6, 2024
fc714dd
spi: bcm63xx: Fix module autoloading
Aug 19, 2024
d7a8776
spi: bcm63xx: Fix missing pm_runtime_disable()
Aug 19, 2024
ad3f036
power: supply: hwmon: Fix missing temp1_max_alarm attribute
jwrdegoede Sep 8, 2024
edd2081
perf/core: Fix small negative period being ignored
Aug 31, 2024
e6e9680
parisc: Fix itlb miss handler for 64-bit programs
hdeller Sep 10, 2024
16669f1
drm/mediatek: ovl_adaptor: Add missing of_node_put()
javiercarrascocruz Jun 24, 2024
857f718
drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
Sep 23, 2024
41b24e2
ALSA: hda/tas2781: Add new quirk for Lenovo Y990 Laptop
jimxbj-dot Sep 19, 2024
03606a0
ALSA: core: add isascii() check to card ID generator
perexg Oct 2, 2024
9302b12
ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET
Sep 25, 2024
ea3cca8
ALSA: usb-audio: Add native DSD support for Luxman D-08u
Oct 3, 2024
a1f7384
ALSA: line6: add hw monitor volume control to POD HD500X
hmollercl Oct 3, 2024
400e1a9
ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9
TomAi0 Sep 26, 2024
4ac34ab
ALSA: hda/realtek: Add a quirk for HP Pavilion 15z-ec200
Abhishek-Tamboli9 Sep 30, 2024
592250a
ext4: no need to continue when the number of entries is 1
Edward-AD Jul 1, 2024
163744e
ext4: correct encrypted dentry name hash when not casefolded
Jul 1, 2024
9a4351f
ext4: fix slab-use-after-free in ext4_split_extent_at()
LiBaokun96 Aug 22, 2024
594f484
ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
LiBaokun96 Aug 22, 2024
55a16fe
ext4: fix incorrect tid assumption in ext4_fc_mark_ineligible()
Jul 24, 2024
a40d39b
ext4: dax: fix overflowing extents beyond inode size when partially w…
Aug 9, 2024
b2b470e
ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
Jul 24, 2024
ce00b25
ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free
LiBaokun96 Aug 22, 2024
f0ea984
ext4: aovid use-after-free in ext4_ext_insert_extent()
LiBaokun96 Aug 22, 2024
7c53bb0
ext4: fix double brelse() the buffer of the extents path
LiBaokun96 Aug 22, 2024
29edb4f
ext4: fix timer use-after-free on failed mount
xshen053 Jul 15, 2024
7521f8c
ext4: update orig_path in ext4_find_extent()
LiBaokun96 Aug 22, 2024
928b270
ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
Jul 24, 2024
0fb23a7
ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_…
Jul 24, 2024
9c3e537
ext4: fix fast commit inode enqueueing during a full journal commit
Jul 17, 2024
97c7a50
ext4: use handle to mark fc as ineligible in __track_dentry_update()
Sep 23, 2024
21984e3
ext4: mark fc as ineligible using an handle in ext4_xattr_set()
Sep 23, 2024
5c019b0
parisc: Fix 64-bit userspace syscall path
hdeller Sep 7, 2024
81c05ef
parisc: Allow mmap(MAP_STACK) memory to automatically expand upwards
hdeller Sep 8, 2024
332f8da
parisc: Fix stack start for ADDR_NO_RANDOMIZE personality
hdeller Sep 7, 2024
c2c1169
drm/rockchip: vop: clear DMA stop bit on RK3066
valpackett Jun 24, 2024
c282e74
of: address: Report error on resource bounds overflow
t-8ch Sep 5, 2024
dd7bd60
of/irq: Support #msi-cells=<0> in of_msi_get_domain
jones-drew Aug 17, 2024
3d0ca63
drm: omapdrm: Add missing check for alloc_ordered_workqueue
Aug 8, 2024
61293b4
resource: fix region_intersects() vs add_memory_driver_managed()
yhuang-intel Sep 6, 2024
3e9d5f4
jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns…
LiBaokun96 Jul 18, 2024
15313e7
jbd2: correctly compare tids with tid_geq function in jbd2_fc_begin_c…
Aug 1, 2024
0509d76
mm: krealloc: consider spare memory for __GFP_ZERO
Aug 12, 2024
c7c07ad
ocfs2: fix the la space leak when unmounting an ocfs2 volume
zhaohem Jul 19, 2024
4c206c4
ocfs2: fix uninit-value in ocfs2_get_block()
josephhz Sep 25, 2024
04422d2
ocfs2: reserve space for inline xattr before attaching reflink tree
gtmoth Sep 18, 2024
2da1abf
ocfs2: cancel dqi_sync_work before freeing oinfo
josephhz Sep 4, 2024
11ef7cd
ocfs2: remove unreasonable unlock in ocfs2_read_blocks
Sep 2, 2024
6a5bed1
ocfs2: fix null-ptr-deref when journal load failed.
jc2870 Sep 2, 2024
f076d07
ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
Sep 2, 2024
d2d723d
arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS
Sep 30, 2024
2f68467
arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386
easwarh Oct 3, 2024
c0e59e8
riscv: define ILLEGAL_POINTER_VALUE for 64bit
xhackerustc Jul 5, 2024
28fa583
exfat: fix memory leak in exfat_load_bitmap()
YuezhangMo Sep 3, 2024
bdc82b7
perf python: Disable -Wno-cast-function-type-mismatch if present on c…
acmel Aug 22, 2024
218b341
perf hist: Update hist symbol when updating maps
mfleming Aug 15, 2024
8b2e746
nfsd: fix delegation_blocked() to block correctly for at least 30 sec…
neilbrown Sep 9, 2024
1adedbb
nfsd: map the EBADMSG to nfserr_io to avoid warning
Aug 17, 2024
3dca2ff
NFSD: Fix NFSv4's PUTPUBFH operation
chucklever Aug 11, 2024
f8e3317
i3c: master: svc: Fix use after free vulnerability in svc_i3c_master …
Sep 14, 2024
ee07dc5
RDMA/mana_ib: use the correct page size for mapping user-mode doorbel…
longlimsft Aug 30, 2024
68cad92
riscv: Fix kernel stack size when KASAN is enabled
Sep 17, 2024
f90bbc3
aoe: fix the potential use-after-free problem in more places
Oct 2, 2024
84bb3d9
media: ov5675: Fix power on/off delay timings
0xB0D Jul 13, 2024
a4f3b53
clk: rockchip: fix error for unknown clocks
sre Mar 25, 2024
c260f6d
remoteproc: k3-r5: Fix error handling when power-up failed
jan-kiszka Aug 19, 2024
f8f581c
clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
lumag Aug 4, 2024
852d19a
media: sun4i_csi: Implement link validate for sun4i_csi subdev
Jun 18, 2024
55cb505
clk: qcom: gcc-sm8450: Do not turn off PCIe GDSCs during gdsc_disable()
Mani-Sadhasivam Jul 22, 2024
0142cad
media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
Aug 7, 2024
8dd6edf
clk: qcom: clk-rpmh: Fix overflow in BCM vote
Aug 9, 2024
7127bc3
clk: samsung: exynos7885: Update CLKS_NR_FSYS after bindings fix
VDavid003 Aug 6, 2024
695a190
clk: qcom: gcc-sm8150: De-register gcc_cpuss_ahb_clk_src
Aug 12, 2024
ab8eb03
media: venus: fix use after free bug in venus_remove due to race cond…
bluesheep1337 Jun 18, 2024
0dd5ef5
clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()
Mani-Sadhasivam Jul 19, 2024
2546564
media: qcom: camss: Remove use_count guard in stop_streaming
0xB0D Jul 29, 2024
a9116d3
media: qcom: camss: Fix ordering of pm_runtime_enable
0xB0D Jul 29, 2024
420725b
clk: qcom: gcc-sc8180x: Fix the sdcc2 and sdcc4 clocks freq table
Aug 12, 2024
e0f579a
clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL
Jun 11, 2024
d7fbb00
smb: client: use actual path when queryfs
wangrong1069 Jun 20, 2024
40d3d9a
smb3: fix incorrect mode displayed for read-only files
Sep 22, 2024
ca1940e
iio: magnetometer: ak8975: Fix reading for ak099xx sensors
barni2000 Aug 18, 2024
438b4cf
vrf: revert "vrf: Remove unnecessary RCU-bh critical section"
wdebruij Sep 29, 2024
80e47b7
gso: fix udp gso fraglist segmentation after pull from frag_list
wdebruij Oct 1, 2024
0ddc56c
tomoyo: fallback to realpath if symlink's pathname does not exist
Sep 25, 2024
3a7476d
net: stmmac: Fix zero-division error when disabling tc cbs
Sep 18, 2024
848f49b
rtc: at91sam9: fix OF node leak in probe() error path
krzk Aug 25, 2024
874d6ae
Input: adp5589-keys - fix NULL pointer dereference
nunojsa Oct 1, 2024
3d8ee82
Input: adp5589-keys - fix adp5589_gpio_get_value()
nunojsa Oct 1, 2024
630129c
cachefiles: fix dentry leak in cachefiles_open_file()
LiBaokun96 Aug 29, 2024
db2c342
ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_ove…
jwrdegoede Sep 27, 2024
8283ab7
ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_o…
jwrdegoede Sep 27, 2024
61696d3
btrfs: fix a NULL pointer dereference when failed to start a new tras…
adam900710 Sep 27, 2024
cba7ce8
btrfs: send: fix invalid clone operation for file that got its size d…
fdmanana Sep 27, 2024
d90c21a
btrfs: wait for fixup workers before stopping cleaner kthread during …
fdmanana Oct 1, 2024
c15c137
cpufreq: Avoid a bad reference count on CPU node
mssola Sep 17, 2024
b1215c7
gpio: davinci: fix lazy disable
eghidoli Aug 28, 2024
c11a94c
net: pcs: xpcs: fix the wrong register that was written back
Sep 24, 2024
568fdd8
Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE
Vudentz Sep 12, 2024
3b034be
mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
pandayeah Sep 24, 2024
9c3907c
ceph: fix cap ref leak via netfs init_request
batrick Oct 3, 2024
44ca1ff
tracing/hwlat: Fix a race during cpuhp processing
stkid Sep 24, 2024
6b2179a
tracing/timerlat: Drop interface_lock in stop_kthread()
stkid Sep 24, 2024
cab9289
tracing/timerlat: Fix a race during cpuhp processing
stkid Sep 24, 2024
6b002b8
tracing/timerlat: Fix duplicated kthread creation due to CPU online/o…
stkid Sep 24, 2024
d152e75
rtla: Fix the help text in osnoise and timerlat top tools
efzrh Aug 13, 2024
19ed7db
close_range(): fix the logics in descriptor table trimming
Aug 16, 2024
cc53ed5
drm/i915/gem: fix bitwise and logical AND mixup
jnikula Sep 18, 2024
b5678a9
drm/sched: Add locking to drm_sched_entity_modify_sched
Sep 13, 2024
5a24eaa
drm/amd/display: Add HDR workaround for specific eDP
Sep 6, 2024
d0696c5
drm/amd/display: Fix system hang while resume with TBT monitor
Sep 13, 2024
ad3223c
cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock
ukleinek Oct 6, 2024
1e42d1b
kconfig: qconf: fix buffer overflow in debug links
masahir0y Oct 1, 2024
4a9d5b5
platform/x86: x86-android-tablets: Create a platform_device from modu…
jwrdegoede Sep 9, 2023
c0f166b
platform/x86: x86-android-tablets: Fix use after free on platform_dev…
jwrdegoede Oct 5, 2024
77bf893
i2c: create debugfs entry per adapter
Nov 12, 2023
195da99
i2c: core: Lock address during client device instantiation
hkallweit Aug 15, 2024
8de1a4e
i2c: synquacer: Remove a clk reference from struct synquacer_i2c
tititiou36 Jan 6, 2024
f136cd0
i2c: synquacer: Deal with optional PCLK correctly
ardbiesheuvel Sep 12, 2024
332de4c
arm64: cputype: Add Neoverse-N3 definitions
Oct 7, 2024
48313e0
arm64: errata: Expand speculative SSBS workaround once more
Oct 7, 2024
e151dbc
io_uring/net: harden multishot termination case for recv
axboe Sep 26, 2024
8626c2b
uprobes: fix kernel info leak via "[uprobes]" vma
oleg-nesterov Oct 7, 2024
2770ba8
mm: z3fold: deprecate CONFIG_Z3FOLD
yosrym93 Oct 7, 2024
1cfca66
drm/amd/display: Allow backlight to go below `AMDGPU_DM_DEFAULT_MIN_B…
superm1 Sep 15, 2024
29a98ad
build-id: require program headers to be right after ELF header
Jun 21, 2024
4a75297
lib/buildid: harden build ID parsing logic
anakryiko Aug 29, 2024
62d4d6f
sched: psi: fix bogus pressure spikes from aggregation race
hnaz Oct 3, 2024
56bd604
net: mana: Enable MANA driver on ARM64 with 4K page size
haiyangz May 13, 2024
99f5144
net: mana: Add support for page sizes other than 4KB on ARM64
haiyangz Jun 17, 2024
c8047e9
RDMA/mana_ib: use the correct page table index based on hardware page…
longlimsft Aug 30, 2024
aaf0445
media: i2c: imx335: Enable regulator supplies
kbingham Dec 11, 2023
9622c9e
media: imx335: Fix reset-gpio handling
Aug 30, 2024
444310e
remoteproc: k3-r5: Acquire mailbox handle during probe routine
3V3RYONE Aug 8, 2024
b21e376
remoteproc: k3-r5: Delay notification of wakeup event
uditkumarti Aug 20, 2024
ba922af
dt-bindings: clock: qcom: Add missing UFS QREF clocks
Mani-Sadhasivam Jan 31, 2024
99221fe
dt-bindings: clock: qcom: Add GPLL9 support on gcc-sc8180x
Aug 12, 2024
d8cc76b
iio: pressure: bmp280: Allow multiple chips id per family of devices
angiglesias Oct 22, 2023
c73cc6f
iio: pressure: bmp280: Improve indentation and line wrapping
vamoirid Apr 29, 2024
9492858
iio: pressure: bmp280: Use BME prefix for BME280 specifics
vamoirid Apr 29, 2024
be0272c
iio: pressure: bmp280: Fix regmap for BMP280 device
vamoirid Jul 11, 2024
ed7613b
iio: pressure: bmp280: Fix waiting time for BMP3xx configuration
vamoirid Jul 11, 2024
48783a6
r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
ColinIanKing Sep 9, 2024
0bb5176
r8169: add tally counter fields added with RTL8125
hkallweit Sep 17, 2024
576c7eb
clk: qcom: gcc-sc8180x: Add GPLL9 support
Aug 12, 2024
6801ef4
ACPI: battery: Simplify battery hook locking
Wer-Wolf Oct 1, 2024
97cbe7c
ACPI: battery: Fix possible crash when unregistering a battery hook
Wer-Wolf Oct 1, 2024
542ef37
btrfs: relocation: return bool from btrfs_should_ignore_reloc_root
kdave Sep 22, 2023
e84476c
btrfs: relocation: constify parameters where possible
kdave Sep 22, 2023
8e7c3c9
btrfs: drop the backref cache during relocation if we commit
josefbacik Sep 24, 2024
e4f2d49
drm/rockchip: vop: enable VOP_FEATURE_INTERNAL_RGB on RK3066
valpackett Jun 24, 2024
35d550d
Revert "drm/amd/display: Skip Recompute DSC Params if no Stream on Link"
jonathangray Oct 7, 2024
7bbf6c9
ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
Oct 2, 2024
1094feb
netfilter: nf_tables: fix memleak in map from abort path
ummakynes Oct 2, 2024
8a16622
netfilter: nf_tables: restore set elements when delete set fails
ummakynes Oct 2, 2024
695d180
net: dsa: fix netdev_priv() dereference before check on non-DSA netde…
vladimiroltean Oct 2, 2024
f2ded69
iommufd: Fix protection fault in iommufd_test_syz_conv_iova
nicolinc Oct 2, 2024
b02a479
drm/bridge: adv7511: fix crash on irq during probe
Oct 2, 2024
2fffb63
efi/unaccepted: touch soft lockup during memory accept
yu-chen-surf Oct 2, 2024
2c057bd
platform/x86: think-lmi: Fix password opcode ordering for workstations
mrhpearson Oct 2, 2024
cb00de5
null_blk: Remove usage of the deprecated ida_simple_xx() API
tititiou36 Oct 2, 2024
4b5d713
null_blk: fix null-ptr-dereference while configuring 'power' and 'sub…
Oct 2, 2024
a0e9617
net: stmmac: move the EST lock to struct stmmac_priv
Oct 2, 2024
6666330
rxrpc: Fix a race between socket set up and I/O thread creation
dhowells Oct 1, 2024
9d12a17
vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()
Whisper2020 Oct 1, 2024
6c7490b
crypto: octeontx* - Select CRYPTO_AUTHENC
herbertx Sep 5, 2024
3794286
drm/amd/display: Revert Avoid overflow assignment
Jul 25, 2024
36f5024
perf report: Fix segfault when 'sym' sort key is not used
namhyung Aug 26, 2024
025a5dd
drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_li…
Jun 27, 2024
e3b03ed
null_blk: Fix return value of nullb_device_power_store()
damien-lemoal May 27, 2024
1c663af
Revert "ubifs: ubifs_symlink: Fix memleak of inode->i_link in error p…
Apr 10, 2024
d67af36
perf python: Allow checking for the existence of warning options in c…
acmel Aug 22, 2024
803c7c3
Linux 6.6.55
gregkh Oct 10, 2024
b10fb29
Revert "perf callchain: Fix stitch LBR memory leaks"
gregkh Oct 10, 2024
c18ce74
Linux 6.6.56
gregkh Oct 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4653,6 +4653,16 @@
printk.time= Show timing data prefixed to each printk message line
Format: <bool> (1/Y/y=enable, 0/N/n=disable)

proc_mem.force_override= [KNL]
Format: {always | ptrace | never}
Traditionally /proc/pid/mem allows memory permissions to be
overridden without restrictions. This option may be set to
restrict that. Can be one of:
- 'always': traditional behavior always allows mem overrides.
- 'ptrace': only allow mem overrides for active ptracers.
- 'never': never allow mem overrides.
If not specified, default is the CONFIG_PROC_MEM_* choice.

processor.max_cstate= [HW,ACPI]
Limit processor to maximum C-state
max_cstate=9 overrides any DMI blacklist limit.
Expand Down
6 changes: 6 additions & 0 deletions Documentation/arch/arm64/silicon-errata.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A715 | #2645198 | ARM64_ERRATUM_2645198 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A715 | #3456084 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A720 | #3456091 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Cortex-A725 | #3456106 | ARM64_ERRATUM_3194386 |
Expand Down Expand Up @@ -177,6 +179,8 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N2 | #3324339 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-N3 | #3456111 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-V1 | #3324341 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
| ARM | Neoverse-V2 | #3324336 | ARM64_ERRATUM_3194386 |
Expand Down Expand Up @@ -280,3 +284,5 @@ stable kernels.
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #2253138 | ARM64_ERRATUM_2253138 |
+----------------+-----------------+-----------------+-----------------------------+
| Microsoft | Azure Cobalt 100| #3324339 | ARM64_ERRATUM_3194386 |
+----------------+-----------------+-----------------+-----------------------------+
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ properties:
and length of the AXI DMA controller IO space, unless
axistream-connected is specified, in which case the reg
attribute of the node referenced by it is used.
minItems: 1
maxItems: 2

interrupts:
Expand Down Expand Up @@ -165,7 +166,7 @@ examples:
clock-names = "s_axi_lite_clk", "axis_clk", "ref_clk", "mgt_clk";
clocks = <&axi_clk>, <&axi_clk>, <&pl_enet_ref_clk>, <&mgt_clk>;
phy-mode = "mii";
reg = <0x00 0x40000000 0x00 0x40000>;
reg = <0x40000000 0x40000>;
xlnx,rxcsum = <0x2>;
xlnx,rxmem = <0x800>;
xlnx,txcsum = <0x2>;
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 6
SUBLEVEL = 54
SUBLEVEL = 56
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth
NAME = Pinguïn Aangedreven

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/crypto/aes-ce-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ static int __init aes_init(void)
algname = aes_algs[i].base.cra_name + 2;
drvname = aes_algs[i].base.cra_driver_name + 2;
basename = aes_algs[i].base.cra_driver_name;
simd = simd_skcipher_create_compat(algname, drvname, basename);
simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename);
err = PTR_ERR(simd);
if (IS_ERR(simd))
goto unregister_simds;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/crypto/aes-neonbs-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ static int __init aes_init(void)
algname = aes_algs[i].base.cra_name + 2;
drvname = aes_algs[i].base.cra_driver_name + 2;
basename = aes_algs[i].base.cra_driver_name;
simd = simd_skcipher_create_compat(algname, drvname, basename);
simd = simd_skcipher_create_compat(aes_algs + i, algname, drvname, basename);
err = PTR_ERR(simd);
if (IS_ERR(simd))
goto unregister_simds;
Expand Down
7 changes: 4 additions & 3 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ config ARM64
select HAVE_DMA_CONTIGUOUS
select HAVE_DYNAMIC_FTRACE
select HAVE_DYNAMIC_FTRACE_WITH_ARGS \
if $(cc-option,-fpatchable-function-entry=2)
if (GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS || \
CLANG_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS)
select HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS \
if DYNAMIC_FTRACE_WITH_ARGS && DYNAMIC_FTRACE_WITH_CALL_OPS
select HAVE_DYNAMIC_FTRACE_WITH_CALL_OPS \
Expand Down Expand Up @@ -262,12 +263,10 @@ config CLANG_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS
def_bool CC_IS_CLANG
# https://github.com/ClangBuiltLinux/linux/issues/1507
depends on AS_IS_GNU || (AS_IS_LLVM && (LD_IS_LLD || LD_VERSION >= 23600))
select HAVE_DYNAMIC_FTRACE_WITH_ARGS

config GCC_SUPPORTS_DYNAMIC_FTRACE_WITH_ARGS
def_bool CC_IS_GCC
depends on $(cc-option,-fpatchable-function-entry=2)
select HAVE_DYNAMIC_FTRACE_WITH_ARGS

config 64BIT
def_bool y
Expand Down Expand Up @@ -1080,6 +1079,7 @@ config ARM64_ERRATUM_3194386
* ARM Cortex-A78C erratum 3324346
* ARM Cortex-A78C erratum 3324347
* ARM Cortex-A710 erratam 3324338
* ARM Cortex-A715 errartum 3456084
* ARM Cortex-A720 erratum 3456091
* ARM Cortex-A725 erratum 3456106
* ARM Cortex-X1 erratum 3324344
Expand All @@ -1090,6 +1090,7 @@ config ARM64_ERRATUM_3194386
* ARM Cortex-X925 erratum 3324334
* ARM Neoverse-N1 erratum 3324349
* ARM Neoverse N2 erratum 3324339
* ARM Neoverse-N3 erratum 3456111
* ARM Neoverse-V1 erratum 3324341
* ARM Neoverse V2 erratum 3324336
* ARM Neoverse-V3 erratum 3312417
Expand Down
2 changes: 2 additions & 0 deletions arch/arm64/include/asm/cputype.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
#define ARM_CPU_PART_NEOVERSE_V3 0xD84
#define ARM_CPU_PART_CORTEX_X925 0xD85
#define ARM_CPU_PART_CORTEX_A725 0xD87
#define ARM_CPU_PART_NEOVERSE_N3 0xD8E

#define APM_CPU_PART_XGENE 0x000
#define APM_CPU_VAR_POTENZA 0x00
Expand Down Expand Up @@ -184,6 +185,7 @@
#define MIDR_NEOVERSE_V3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_V3)
#define MIDR_CORTEX_X925 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_X925)
#define MIDR_CORTEX_A725 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A725)
#define MIDR_NEOVERSE_N3 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_NEOVERSE_N3)
#define MIDR_THUNDERX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX)
#define MIDR_THUNDERX_81XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_81XX)
#define MIDR_THUNDERX_83XX MIDR_CPU_MODEL(ARM_CPU_IMP_CAVIUM, CAVIUM_CPU_PART_THUNDERX_83XX)
Expand Down
3 changes: 3 additions & 0 deletions arch/arm64/kernel/cpu_errata.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
MIDR_ALL_VERSIONS(MIDR_CORTEX_A78),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A78C),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A710),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A715),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A720),
MIDR_ALL_VERSIONS(MIDR_CORTEX_A725),
MIDR_ALL_VERSIONS(MIDR_CORTEX_X1),
Expand All @@ -463,8 +464,10 @@ static const struct midr_range erratum_spec_ssbs_list[] = {
MIDR_ALL_VERSIONS(MIDR_CORTEX_X3),
MIDR_ALL_VERSIONS(MIDR_CORTEX_X4),
MIDR_ALL_VERSIONS(MIDR_CORTEX_X925),
MIDR_ALL_VERSIONS(MIDR_MICROSOFT_AZURE_COBALT_100),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N2),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N3),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V1),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V2),
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_V3),
Expand Down
1 change: 0 additions & 1 deletion arch/loongarch/configs/loongson3_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ CONFIG_BINFMT_MISC=m
CONFIG_ZSWAP=y
CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD=y
CONFIG_ZBUD=y
CONFIG_Z3FOLD=y
CONFIG_ZSMALLOC_STAT=y
CONFIG_SLAB_FREELIST_RANDOM=y
# CONFIG_SHUFFLE_PAGE_ALLOCATOR is not set
Expand Down
14 changes: 14 additions & 0 deletions arch/parisc/include/asm/mman.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,18 @@ static inline bool arch_memory_deny_write_exec_supported(void)
}
#define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported

static inline unsigned long arch_calc_vm_flag_bits(unsigned long flags)
{
/*
* The stack on parisc grows upwards, so if userspace requests memory
* for a stack, mark it with VM_GROWSUP so that the stack expansion in
* the fault handler will work.
*/
if (flags & MAP_STACK)
return VM_GROWSUP;

return 0;
}
#define arch_calc_vm_flag_bits(flags) arch_calc_vm_flag_bits(flags)

#endif /* __ASM_MMAN_H__ */
6 changes: 2 additions & 4 deletions arch/parisc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1051,17 +1051,15 @@ ENTRY_CFI(intr_save) /* for os_hpmc */
STREG %r16, PT_ISR(%r29)
STREG %r17, PT_IOR(%r29)

#if 0 && defined(CONFIG_64BIT)
/* Revisit when we have 64-bit code above 4Gb */
#if defined(CONFIG_64BIT)
b,n intr_save2

skip_save_ior:
/* We have a itlb miss, and when executing code above 4 Gb on ILP64, we
* need to adjust iasq/iaoq here in the same way we adjusted isr/ior
* above.
*/
extrd,u,* %r8,PSW_W_BIT,1,%r1
cmpib,COND(=),n 1,%r1,intr_save2
bb,COND(>=),n %r8,PSW_W_BIT,intr_save2
LDREG PT_IASQ0(%r29), %r16
LDREG PT_IAOQ0(%r29), %r17
/* adjust iasq/iaoq */
Expand Down
14 changes: 8 additions & 6 deletions arch/parisc/kernel/syscall.S
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,10 @@ linux_gateway_entry:

#ifdef CONFIG_64BIT
ldil L%sys_call_table, %r1
or,= %r2,%r2,%r2
addil L%(sys_call_table64-sys_call_table), %r1
or,ev %r2,%r2,%r2
ldil L%sys_call_table64, %r1
ldo R%sys_call_table(%r1), %r19
or,= %r2,%r2,%r2
or,ev %r2,%r2,%r2
ldo R%sys_call_table64(%r1), %r19
#else
load32 sys_call_table, %r19
Expand Down Expand Up @@ -379,10 +379,10 @@ tracesys_next:
extrd,u %r19,63,1,%r2 /* W hidden in bottom bit */

ldil L%sys_call_table, %r1
or,= %r2,%r2,%r2
addil L%(sys_call_table64-sys_call_table), %r1
or,ev %r2,%r2,%r2
ldil L%sys_call_table64, %r1
ldo R%sys_call_table(%r1), %r19
or,= %r2,%r2,%r2
or,ev %r2,%r2,%r2
ldo R%sys_call_table64(%r1), %r19
#else
load32 sys_call_table, %r19
Expand Down Expand Up @@ -1327,6 +1327,8 @@ ENTRY(sys_call_table)
END(sys_call_table)

#ifdef CONFIG_64BIT
#undef __SYSCALL_WITH_COMPAT
#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native)
.align 8
ENTRY(sys_call_table64)
#include <asm/syscall_table_64.h> /* 64-bit syscalls */
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/configs/ppc64_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ CONFIG_MODULE_SIG_SHA512=y
CONFIG_PARTITION_ADVANCED=y
CONFIG_BINFMT_MISC=m
CONFIG_ZSWAP=y
CONFIG_Z3FOLD=y
CONFIG_ZSMALLOC=y
# CONFIG_SLAB_MERGE_DEFAULT is not set
CONFIG_SLAB_FREELIST_RANDOM=y
Expand Down
15 changes: 15 additions & 0 deletions arch/powerpc/include/asm/vdso_datapage.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,21 @@ extern struct vdso_arch_data *vdso_data;
addi \ptr, \ptr, (_vdso_datapage - 999b)@l
.endm

#include <asm/asm-offsets.h>
#include <asm/page.h>

.macro get_realdatapage ptr scratch
get_datapage \ptr
#ifdef CONFIG_TIME_NS
lwz \scratch, VDSO_CLOCKMODE_OFFSET(\ptr)
xoris \scratch, \scratch, VDSO_CLOCKMODE_TIMENS@h
xori \scratch, \scratch, VDSO_CLOCKMODE_TIMENS@l
cntlzw \scratch, \scratch
rlwinm \scratch, \scratch, PAGE_SHIFT - 5, 1 << PAGE_SHIFT
add \ptr, \ptr, \scratch
#endif
.endm

#endif /* __ASSEMBLY__ */

#endif /* __KERNEL__ */
Expand Down
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ int main(void)
#else
OFFSET(CFG_SYSCALL_MAP32, vdso_arch_data, syscall_map);
#endif
OFFSET(VDSO_CLOCKMODE_OFFSET, vdso_arch_data, data[0].clock_mode);
DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS);

#ifdef CONFIG_BUG
DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/vdso/cacheflush.S
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_COHERENT_ICACHE)
#ifdef CONFIG_PPC64
mflr r12
.cfi_register lr,r12
get_datapage r10
get_realdatapage r10, r11
mtlr r12
.cfi_restore lr
#endif
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/kernel/vdso/datapage.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ V_FUNCTION_BEGIN(__kernel_get_syscall_map)
mflr r12
.cfi_register lr,r12
mr. r4,r3
get_datapage r3
get_realdatapage r3, r11
mtlr r12
#ifdef __powerpc64__
addi r3,r3,CFG_SYSCALL_MAP64
Expand All @@ -52,7 +52,7 @@ V_FUNCTION_BEGIN(__kernel_get_tbfreq)
.cfi_startproc
mflr r12
.cfi_register lr,r12
get_datapage r3
get_realdatapage r3, r11
#ifndef __powerpc64__
lwz r4,(CFG_TB_TICKS_PER_SEC + 4)(r3)
#endif
Expand Down
17 changes: 0 additions & 17 deletions arch/powerpc/platforms/pseries/dlpar.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,23 +334,6 @@ int handle_dlpar_errorlog(struct pseries_hp_errorlog *hp_elog)
{
int rc;

/* pseries error logs are in BE format, convert to cpu type */
switch (hp_elog->id_type) {
case PSERIES_HP_ELOG_ID_DRC_COUNT:
hp_elog->_drc_u.drc_count =
be32_to_cpu(hp_elog->_drc_u.drc_count);
break;
case PSERIES_HP_ELOG_ID_DRC_INDEX:
hp_elog->_drc_u.drc_index =
be32_to_cpu(hp_elog->_drc_u.drc_index);
break;
case PSERIES_HP_ELOG_ID_DRC_IC:
hp_elog->_drc_u.ic.count =
be32_to_cpu(hp_elog->_drc_u.ic.count);
hp_elog->_drc_u.ic.index =
be32_to_cpu(hp_elog->_drc_u.ic.index);
}

switch (hp_elog->resource) {
case PSERIES_HP_ELOG_RESOURCE_MEM:
rc = dlpar_memory(hp_elog);
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/hotplug-cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ int dlpar_cpu(struct pseries_hp_errorlog *hp_elog)
u32 drc_index;
int rc;

drc_index = hp_elog->_drc_u.drc_index;
drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index);

lock_device_hotplug();

Expand Down
16 changes: 8 additions & 8 deletions arch/powerpc/platforms/pseries/hotplug-memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,16 +811,16 @@ int dlpar_memory(struct pseries_hp_errorlog *hp_elog)
case PSERIES_HP_ELOG_ACTION_ADD:
switch (hp_elog->id_type) {
case PSERIES_HP_ELOG_ID_DRC_COUNT:
count = hp_elog->_drc_u.drc_count;
count = be32_to_cpu(hp_elog->_drc_u.drc_count);
rc = dlpar_memory_add_by_count(count);
break;
case PSERIES_HP_ELOG_ID_DRC_INDEX:
drc_index = hp_elog->_drc_u.drc_index;
drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index);
rc = dlpar_memory_add_by_index(drc_index);
break;
case PSERIES_HP_ELOG_ID_DRC_IC:
count = hp_elog->_drc_u.ic.count;
drc_index = hp_elog->_drc_u.ic.index;
count = be32_to_cpu(hp_elog->_drc_u.ic.count);
drc_index = be32_to_cpu(hp_elog->_drc_u.ic.index);
rc = dlpar_memory_add_by_ic(count, drc_index);
break;
default:
Expand All @@ -832,16 +832,16 @@ int dlpar_memory(struct pseries_hp_errorlog *hp_elog)
case PSERIES_HP_ELOG_ACTION_REMOVE:
switch (hp_elog->id_type) {
case PSERIES_HP_ELOG_ID_DRC_COUNT:
count = hp_elog->_drc_u.drc_count;
count = be32_to_cpu(hp_elog->_drc_u.drc_count);
rc = dlpar_memory_remove_by_count(count);
break;
case PSERIES_HP_ELOG_ID_DRC_INDEX:
drc_index = hp_elog->_drc_u.drc_index;
drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index);
rc = dlpar_memory_remove_by_index(drc_index);
break;
case PSERIES_HP_ELOG_ID_DRC_IC:
count = hp_elog->_drc_u.ic.count;
drc_index = hp_elog->_drc_u.ic.index;
count = be32_to_cpu(hp_elog->_drc_u.ic.count);
drc_index = be32_to_cpu(hp_elog->_drc_u.ic.index);
rc = dlpar_memory_remove_by_ic(count, drc_index);
break;
default:
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/pmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ int dlpar_hp_pmem(struct pseries_hp_errorlog *hp_elog)
return -EINVAL;
}

drc_index = hp_elog->_drc_u.drc_index;
drc_index = be32_to_cpu(hp_elog->_drc_u.drc_index);

lock_device_hotplug();

Expand Down
Loading
Loading