Skip to content

Commit c159dfb

Browse files
committed
Merge tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull non-MM updates from Andrew Morton: "Mainly individually changelogged singleton patches. The patch series in this pull are: - "lib min_heap: Improve min_heap safety, testing, and documentation" from Kuan-Wei Chiu provides various tightenings to the min_heap library code - "xarray: extract __xa_cmpxchg_raw" from Tamir Duberstein preforms some cleanup and Rust preparation in the xarray library code - "Update reference to include/asm-<arch>" from Geert Uytterhoeven fixes pathnames in some code comments - "Converge on using secs_to_jiffies()" from Easwar Hariharan uses the new secs_to_jiffies() in various places where that is appropriate - "ocfs2, dlmfs: convert to the new mount API" from Eric Sandeen switches two filesystems to the new mount API - "Convert ocfs2 to use folios" from Matthew Wilcox does that - "Remove get_task_comm() and print task comm directly" from Yafang Shao removes now-unneeded calls to get_task_comm() in various places - "squashfs: reduce memory usage and update docs" from Phillip Lougher implements some memory savings in squashfs and performs some maintainability work - "lib: clarify comparison function requirements" from Kuan-Wei Chiu tightens the sort code's behaviour and adds some maintenance work - "nilfs2: protect busy buffer heads from being force-cleared" from Ryusuke Konishi fixes an issues in nlifs when the fs is presented with a corrupted image - "nilfs2: fix kernel-doc comments for function return values" from Ryusuke Konishi fixes some nilfs kerneldoc - "nilfs2: fix issues with rename operations" from Ryusuke Konishi addresses some nilfs BUG_ONs which syzbot was able to trigger - "minmax.h: Cleanups and minor optimisations" from David Laight does some maintenance work on the min/max library code - "Fixes and cleanups to xarray" from Kemeng Shi does maintenance work on the xarray library code" * tag 'mm-nonmm-stable-2025-01-24-23-16' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm: (131 commits) ocfs2: use str_yes_no() and str_no_yes() helper functions include/linux/lz4.h: add some missing macros Xarray: use xa_mark_t in xas_squash_marks() to keep code consistent Xarray: remove repeat check in xas_squash_marks() Xarray: distinguish large entries correctly in xas_split_alloc() Xarray: move forward index correctly in xas_pause() Xarray: do not return sibling entries from xas_find_marked() ipc/util.c: complete the kernel-doc function descriptions gcov: clang: use correct function param names latencytop: use correct kernel-doc format for func params minmax.h: remove some #defines that are only expanded once minmax.h: simplify the variants of clamp() minmax.h: move all the clamp() definitions after the min/max() ones minmax.h: use BUILD_BUG_ON_MSG() for the lo < hi test in clamp() minmax.h: reduce the #define expansion of min(), max() and clamp() minmax.h: update some comments minmax.h: add whitespace around operators and after commas nilfs2: do not update mtime of renamed directory that is not moved nilfs2: handle errors that nilfs_prepare_chunk() may return CREDITS: fix spelling mistake ...
2 parents baf29cc + beeba1e commit c159dfb

File tree

179 files changed

+2501
-2093
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+2501
-2093
lines changed

.mailmap

+1
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@ Liam Mark <quic_lmark@quicinc.com> <lmark@codeaurora.org>
415415
Linas Vepstas <linas@austin.ibm.com>
416416
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@ascom.ch>
417417
Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@web.de>
418+
Linus Lüssing <linus.luessing@c0d3.blue> <ll@simonwunderlich.de>
418419
<linux-hardening@vger.kernel.org> <kernel-hardening@lists.openwall.com>
419420
Li Yang <leoyang.li@nxp.com> <leoli@freescale.com>
420421
Li Yang <leoyang.li@nxp.com> <leo@zh-kernel.org>

CREDITS

+1-1
Original file line numberDiff line numberDiff line change
@@ -4339,7 +4339,7 @@ D: Freescale Highspeed USB device driver
43394339
D: Freescale QE SoC support and Ethernet driver
43404340
S: B-1206 Jingmao Guojigongyu
43414341
S: 16 Baliqiao Nanjie, Beijing 101100
4342-
S: People's Repulic of China
4342+
S: People's Republic of China
43434343

43444344
N: Vlad Yasevich
43454345
E: vyasevich@gmail.com

Documentation/accounting/delay-accounting.rst

+21-21
Original file line numberDiff line numberDiff line change
@@ -100,29 +100,29 @@ Get delays, since system boot, for pid 10::
100100
# ./getdelays -d -p 10
101101
(output similar to next case)
102102

103-
Get sum of delays, since system boot, for all pids with tgid 5::
103+
Get sum and peak of delays, since system boot, for all pids with tgid 242::
104104

105-
# ./getdelays -d -t 5
105+
bash-4.4# ./getdelays -d -t 242
106106
print delayacct stats ON
107-
TGID 5
108-
109-
110-
CPU count real total virtual total delay total delay average
111-
8 7000000 6872122 3382277 0.423ms
112-
IO count delay total delay average
113-
0 0 0.000ms
114-
SWAP count delay total delay average
115-
0 0 0.000ms
116-
RECLAIM count delay total delay average
117-
0 0 0.000ms
118-
THRASHING count delay total delay average
119-
0 0 0.000ms
120-
COMPACT count delay total delay average
121-
0 0 0.000ms
122-
WPCOPY count delay total delay average
123-
0 0 0.000ms
124-
IRQ count delay total delay average
125-
0 0 0.000ms
107+
TGID 242
108+
109+
110+
CPU count real total virtual total delay total delay average delay max delay min
111+
39 156000000 156576579 2111069 0.054ms 0.212296ms 0.031307ms
112+
IO count delay total delay average delay max delay min
113+
0 0 0.000ms 0.000000ms 0.000000ms
114+
SWAP count delay total delay average delay max delay min
115+
0 0 0.000ms 0.000000ms 0.000000ms
116+
RECLAIM count delay total delay average delay max delay min
117+
0 0 0.000ms 0.000000ms 0.000000ms
118+
THRASHING count delay total delay average delay max delay min
119+
0 0 0.000ms 0.000000ms 0.000000ms
120+
COMPACT count delay total delay average delay max delay min
121+
0 0 0.000ms 0.000000ms 0.000000ms
122+
WPCOPY count delay total delay average delay max delay min
123+
156 11215873 0.072ms 0.207403ms 0.033913ms
124+
IRQ count delay total delay average delay max delay min
125+
0 0 0.000ms 0.000000ms 0.000000ms
126126

127127
Get IO accounting for pid 1, it works only with -p::
128128

Documentation/core-api/min_heap.rst

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
Min Heap API
55
============
66

7+
:Author: Kuan-Wei Chiu <visitorckw@gmail.com>
8+
79
Introduction
810
============
911

Documentation/core-api/xarray.rst

+13-11
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ call xa_tag_pointer() to create an entry with a tag, xa_untag_pointer()
4242
to turn a tagged entry back into an untagged pointer and xa_pointer_tag()
4343
to retrieve the tag of an entry. Tagged pointers use the same bits that
4444
are used to distinguish value entries from normal pointers, so you must
45-
decide whether they want to store value entries or tagged pointers in
46-
any particular XArray.
45+
decide whether you want to store value entries or tagged pointers in any
46+
particular XArray.
4747

4848
The XArray does not support storing IS_ERR() pointers as some
4949
conflict with value entries or internal entries.
@@ -52,8 +52,9 @@ An unusual feature of the XArray is the ability to create entries which
5252
occupy a range of indices. Once stored to, looking up any index in
5353
the range will return the same entry as looking up any other index in
5454
the range. Storing to any index will store to all of them. Multi-index
55-
entries can be explicitly split into smaller entries, or storing ``NULL``
56-
into any entry will cause the XArray to forget about the range.
55+
entries can be explicitly split into smaller entries. Unsetting (using
56+
xa_erase() or xa_store() with ``NULL``) any entry will cause the XArray
57+
to forget about the range.
5758

5859
Normal API
5960
==========
@@ -63,13 +64,14 @@ for statically allocated XArrays or xa_init() for dynamically
6364
allocated ones. A freshly-initialised XArray contains a ``NULL``
6465
pointer at every index.
6566

66-
You can then set entries using xa_store() and get entries
67-
using xa_load(). xa_store will overwrite any entry with the
68-
new entry and return the previous entry stored at that index. You can
69-
use xa_erase() instead of calling xa_store() with a
70-
``NULL`` entry. There is no difference between an entry that has never
71-
been stored to, one that has been erased and one that has most recently
72-
had ``NULL`` stored to it.
67+
You can then set entries using xa_store() and get entries using
68+
xa_load(). xa_store() will overwrite any entry with the new entry and
69+
return the previous entry stored at that index. You can unset entries
70+
using xa_erase() or by setting the entry to ``NULL`` using xa_store().
71+
There is no difference between an entry that has never been stored to
72+
and one that has been erased with xa_erase(); an entry that has most
73+
recently had ``NULL`` stored to it is also equivalent except if the
74+
XArray was initialized with ``XA_FLAGS_ALLOC``.
7375

7476
You can conditionally replace an entry at an index by using
7577
xa_cmpxchg(). Like cmpxchg(), it will only succeed if

Documentation/filesystems/squashfs.rst

+6-8
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Squashfs 4.0 Filesystem
66

77
Squashfs is a compressed read-only filesystem for Linux.
88

9-
It uses zlib, lz4, lzo, or xz compression to compress files, inodes and
9+
It uses zlib, lz4, lzo, xz or zstd compression to compress files, inodes and
1010
directories. Inodes in the system are very small and all blocks are packed to
1111
minimise data overhead. Block sizes greater than 4K are supported up to a
1212
maximum of 1Mbytes (default block size 128K).
@@ -16,8 +16,8 @@ use (i.e. in cases where a .tar.gz file may be used), and in constrained
1616
block device/memory systems (e.g. embedded systems) where low overhead is
1717
needed.
1818

19-
Mailing list: squashfs-devel@lists.sourceforge.net
20-
Web site: www.squashfs.org
19+
Mailing list (kernel code): linux-fsdevel@vger.kernel.org
20+
Web site: github.com/plougher/squashfs-tools
2121

2222
1. Filesystem Features
2323
----------------------
@@ -58,11 +58,9 @@ inodes have different sizes).
5858

5959
As squashfs is a read-only filesystem, the mksquashfs program must be used to
6060
create populated squashfs filesystems. This and other squashfs utilities
61-
can be obtained from http://www.squashfs.org. Usage instructions can be
62-
obtained from this site also.
63-
64-
The squashfs-tools development tree is now located on kernel.org
65-
git://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git
61+
are very likely packaged by your linux distribution (called squashfs-tools).
62+
The source code can be obtained from github.com/plougher/squashfs-tools.
63+
Usage instructions can also be obtained from this site.
6664

6765
2.1 Mount options
6866
-----------------

MAINTAINERS

+5-5
Original file line numberDiff line numberDiff line change
@@ -2864,7 +2864,7 @@ ARM/NXP S32G ARCHITECTURE
28642864
R: Chester Lin <chester62515@gmail.com>
28652865
R: Matthias Brugger <mbrugger@suse.com>
28662866
R: Ghennadi Procopciuc <ghennadi.procopciuc@oss.nxp.com>
2867-
L: NXP S32 Linux Team <s32@nxp.com>
2867+
R: NXP S32 Linux Team <s32@nxp.com>
28682868
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
28692869
S: Maintained
28702870
F: arch/arm64/boot/dts/freescale/s32g*.dts*
@@ -16705,8 +16705,8 @@ F: arch/nios2/
1670516705

1670616706
NITRO ENCLAVES (NE)
1670716707
M: Alexandru Ciobotaru <alcioa@amazon.com>
16708+
R: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@amazon.com>
1670816709
L: linux-kernel@vger.kernel.org
16709-
L: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@amazon.com>
1671016710
S: Supported
1671116711
W: https://aws.amazon.com/ec2/nitro/nitro-enclaves/
1671216712
F: Documentation/virt/ne_overview.rst
@@ -16717,8 +16717,8 @@ F: samples/nitro_enclaves/
1671716717

1671816718
NITRO SECURE MODULE (NSM)
1671916719
M: Alexander Graf <graf@amazon.com>
16720+
R: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@amazon.com>
1672016721
L: linux-kernel@vger.kernel.org
16721-
L: The AWS Nitro Enclaves Team <aws-nitro-enclaves-devel@amazon.com>
1672216722
S: Supported
1672316723
W: https://aws.amazon.com/ec2/nitro/nitro-enclaves/
1672416724
F: drivers/misc/nsm.c
@@ -18530,8 +18530,8 @@ M: Fabio Estevam <festevam@gmail.com>
1853018530
M: Shawn Guo <shawnguo@kernel.org>
1853118531
M: Jacky Bai <ping.bai@nxp.com>
1853218532
R: Pengutronix Kernel Team <kernel@pengutronix.de>
18533+
R: NXP S32 Linux Team <s32@nxp.com>
1853318534
L: linux-gpio@vger.kernel.org
18534-
L: NXP S32 Linux Team <s32@nxp.com>
1853518535
S: Maintained
1853618536
F: Documentation/devicetree/bindings/pinctrl/fsl,*
1853718537
F: Documentation/devicetree/bindings/pinctrl/nxp,s32*
@@ -19675,7 +19675,7 @@ F: drivers/ras/amd/fmpm.c
1967519675

1967619676
RASPBERRY PI PISP BACK END
1967719677
M: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
19678-
L: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
19678+
R: Raspberry Pi Kernel Maintenance <kernel-list@raspberrypi.com>
1967919679
L: linux-media@vger.kernel.org
1968019680
S: Maintained
1968119681
F: Documentation/devicetree/bindings/media/raspberrypi,pispbe.yaml

arch/alpha/lib/fpreg.c

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include <linux/preempt.h>
1111
#include <asm/fpu.h>
1212
#include <asm/thread_info.h>
13-
#include <asm/fpu.h>
1413

1514
#if defined(CONFIG_ALPHA_EV6) || defined(CONFIG_ALPHA_EV67)
1615
#define STT(reg,val) asm volatile ("ftoit $f"#reg",%0" : "=r"(val));

arch/arc/kernel/unaligned.c

+2-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs,
200200
struct callee_regs *cregs)
201201
{
202202
struct disasm_state state;
203-
char buf[TASK_COMM_LEN];
204203

205204
/* handle user mode only and only if enabled by sysadmin */
206205
if (!user_mode(regs) || !unaligned_enabled)
@@ -212,11 +211,11 @@ int misaligned_fixup(unsigned long address, struct pt_regs *regs,
212211
" performance significantly\n. To enable further"
213212
" logging of such instances, please \n"
214213
" echo 0 > /proc/sys/kernel/ignore-unaligned-usertrap\n",
215-
get_task_comm(buf, current), task_pid_nr(current));
214+
current->comm, task_pid_nr(current));
216215
} else {
217216
/* Add rate limiting if it gets down to it */
218217
pr_warn("%s(%d): unaligned access to/from 0x%lx by PC: 0x%lx\n",
219-
get_task_comm(buf, current), task_pid_nr(current),
218+
current->comm, task_pid_nr(current),
220219
address, regs->ret);
221220

222221
}

arch/arm/mach-pxa/sharpsl_pm.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
/*
3232
* Constants
3333
*/
34-
#define SHARPSL_CHARGE_ON_TIME_INTERVAL (msecs_to_jiffies(1*60*1000)) /* 1 min */
35-
#define SHARPSL_CHARGE_FINISH_TIME (msecs_to_jiffies(10*60*1000)) /* 10 min */
36-
#define SHARPSL_BATCHK_TIME (msecs_to_jiffies(15*1000)) /* 15 sec */
37-
#define SHARPSL_BATCHK_TIME_SUSPEND (60*10) /* 10 min */
34+
#define SHARPSL_CHARGE_ON_TIME_INTERVAL (secs_to_jiffies(60))
35+
#define SHARPSL_CHARGE_FINISH_TIME (secs_to_jiffies(10*60))
36+
#define SHARPSL_BATCHK_TIME (secs_to_jiffies(15))
37+
#define SHARPSL_BATCHK_TIME_SUSPEND (60*10) /* 10 min */
3838

3939
#define SHARPSL_WAIT_CO_TIME 15 /* 15 sec */
4040
#define SHARPSL_WAIT_DISCHARGE_ON 100 /* 100 msec */

arch/m68k/configs/amiga_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ CONFIG_TEST_PRINTF=m
626626
CONFIG_TEST_SCANF=m
627627
CONFIG_TEST_BITMAP=m
628628
CONFIG_TEST_UUID=m
629-
CONFIG_TEST_XARRAY=m
630629
CONFIG_TEST_MAPLE_TREE=m
631630
CONFIG_TEST_RHASHTABLE=m
632631
CONFIG_TEST_IDA=m

arch/m68k/configs/apollo_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ CONFIG_TEST_PRINTF=m
583583
CONFIG_TEST_SCANF=m
584584
CONFIG_TEST_BITMAP=m
585585
CONFIG_TEST_UUID=m
586-
CONFIG_TEST_XARRAY=m
587586
CONFIG_TEST_MAPLE_TREE=m
588587
CONFIG_TEST_RHASHTABLE=m
589588
CONFIG_TEST_IDA=m

arch/m68k/configs/atari_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@ CONFIG_TEST_PRINTF=m
603603
CONFIG_TEST_SCANF=m
604604
CONFIG_TEST_BITMAP=m
605605
CONFIG_TEST_UUID=m
606-
CONFIG_TEST_XARRAY=m
607606
CONFIG_TEST_MAPLE_TREE=m
608607
CONFIG_TEST_RHASHTABLE=m
609608
CONFIG_TEST_IDA=m

arch/m68k/configs/bvme6000_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ CONFIG_TEST_PRINTF=m
575575
CONFIG_TEST_SCANF=m
576576
CONFIG_TEST_BITMAP=m
577577
CONFIG_TEST_UUID=m
578-
CONFIG_TEST_XARRAY=m
579578
CONFIG_TEST_MAPLE_TREE=m
580579
CONFIG_TEST_RHASHTABLE=m
581580
CONFIG_TEST_IDA=m

arch/m68k/configs/hp300_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,6 @@ CONFIG_TEST_PRINTF=m
585585
CONFIG_TEST_SCANF=m
586586
CONFIG_TEST_BITMAP=m
587587
CONFIG_TEST_UUID=m
588-
CONFIG_TEST_XARRAY=m
589588
CONFIG_TEST_MAPLE_TREE=m
590589
CONFIG_TEST_RHASHTABLE=m
591590
CONFIG_TEST_IDA=m

arch/m68k/configs/mac_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,6 @@ CONFIG_TEST_PRINTF=m
602602
CONFIG_TEST_SCANF=m
603603
CONFIG_TEST_BITMAP=m
604604
CONFIG_TEST_UUID=m
605-
CONFIG_TEST_XARRAY=m
606605
CONFIG_TEST_MAPLE_TREE=m
607606
CONFIG_TEST_RHASHTABLE=m
608607
CONFIG_TEST_IDA=m

arch/m68k/configs/multi_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,6 @@ CONFIG_TEST_PRINTF=m
689689
CONFIG_TEST_SCANF=m
690690
CONFIG_TEST_BITMAP=m
691691
CONFIG_TEST_UUID=m
692-
CONFIG_TEST_XARRAY=m
693692
CONFIG_TEST_MAPLE_TREE=m
694693
CONFIG_TEST_RHASHTABLE=m
695694
CONFIG_TEST_IDA=m

arch/m68k/configs/mvme147_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ CONFIG_TEST_PRINTF=m
575575
CONFIG_TEST_SCANF=m
576576
CONFIG_TEST_BITMAP=m
577577
CONFIG_TEST_UUID=m
578-
CONFIG_TEST_XARRAY=m
579578
CONFIG_TEST_MAPLE_TREE=m
580579
CONFIG_TEST_RHASHTABLE=m
581580
CONFIG_TEST_IDA=m

arch/m68k/configs/mvme16x_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,6 @@ CONFIG_TEST_PRINTF=m
576576
CONFIG_TEST_SCANF=m
577577
CONFIG_TEST_BITMAP=m
578578
CONFIG_TEST_UUID=m
579-
CONFIG_TEST_XARRAY=m
580579
CONFIG_TEST_MAPLE_TREE=m
581580
CONFIG_TEST_RHASHTABLE=m
582581
CONFIG_TEST_IDA=m

arch/m68k/configs/q40_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ CONFIG_TEST_PRINTF=m
592592
CONFIG_TEST_SCANF=m
593593
CONFIG_TEST_BITMAP=m
594594
CONFIG_TEST_UUID=m
595-
CONFIG_TEST_XARRAY=m
596595
CONFIG_TEST_MAPLE_TREE=m
597596
CONFIG_TEST_RHASHTABLE=m
598597
CONFIG_TEST_IDA=m

arch/m68k/configs/sun3_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ CONFIG_TEST_PRINTF=m
572572
CONFIG_TEST_SCANF=m
573573
CONFIG_TEST_BITMAP=m
574574
CONFIG_TEST_UUID=m
575-
CONFIG_TEST_XARRAY=m
576575
CONFIG_TEST_MAPLE_TREE=m
577576
CONFIG_TEST_RHASHTABLE=m
578577
CONFIG_TEST_IDA=m

arch/m68k/configs/sun3x_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,6 @@ CONFIG_TEST_PRINTF=m
573573
CONFIG_TEST_SCANF=m
574574
CONFIG_TEST_BITMAP=m
575575
CONFIG_TEST_UUID=m
576-
CONFIG_TEST_XARRAY=m
577576
CONFIG_TEST_MAPLE_TREE=m
578577
CONFIG_TEST_RHASHTABLE=m
579578
CONFIG_TEST_IDA=m

arch/powerpc/configs/ppc64_defconfig

-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,6 @@ CONFIG_TEST_PRINTF=m
448448
CONFIG_TEST_SCANF=m
449449
CONFIG_TEST_BITMAP=m
450450
CONFIG_TEST_UUID=m
451-
CONFIG_TEST_XARRAY=m
452451
CONFIG_TEST_MAPLE_TREE=m
453452
CONFIG_TEST_RHASHTABLE=m
454453
CONFIG_TEST_IDA=m

arch/powerpc/kvm/book3s_hv.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4957,7 +4957,7 @@ int kvmhv_run_single_vcpu(struct kvm_vcpu *vcpu, u64 time_limit,
49574957
* states are synchronized from L0 to L1. L1 needs to inform L0 about
49584958
* MER=1 only when there are pending external interrupts.
49594959
* In the above if check, MER bit is set if there are pending
4960-
* external interrupts. Hence, explicity mask off MER bit
4960+
* external interrupts. Hence, explicitly mask off MER bit
49614961
* here as otherwise it may generate spurious interrupts in L2 KVM
49624962
* causing an endless loop, which results in L2 guest getting hung.
49634963
*/

arch/powerpc/platforms/pseries/papr_scm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ static int drc_pmem_query_health(struct papr_scm_priv *p)
544544

545545
/* Jiffies offset for which the health data is assumed to be same */
546546
cache_timeout = p->lasthealth_jiffies +
547-
msecs_to_jiffies(MIN_HEALTH_QUERY_INTERVAL * 1000);
547+
secs_to_jiffies(MIN_HEALTH_QUERY_INTERVAL);
548548

549549
/* Fetch new health info is its older than MIN_HEALTH_QUERY_INTERVAL */
550550
if (time_after(jiffies, cache_timeout))

arch/s390/kernel/lgr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static struct timer_list lgr_timer;
166166
*/
167167
static void lgr_timer_set(void)
168168
{
169-
mod_timer(&lgr_timer, jiffies + msecs_to_jiffies(LGR_TIMER_INTERVAL_SECS * MSEC_PER_SEC));
169+
mod_timer(&lgr_timer, jiffies + secs_to_jiffies(LGR_TIMER_INTERVAL_SECS));
170170
}
171171

172172
/*

arch/s390/kernel/time.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,12 @@ static void stp_check_leap(void)
662662
if (ret < 0)
663663
pr_err("failed to set leap second flags\n");
664664
/* arm Timer to clear leap second flags */
665-
mod_timer(&stp_timer, jiffies + msecs_to_jiffies(14400 * MSEC_PER_SEC));
665+
mod_timer(&stp_timer, jiffies + secs_to_jiffies(14400));
666666
} else {
667667
/* The day the leap second is scheduled for hasn't been reached. Retry
668668
* in one hour.
669669
*/
670-
mod_timer(&stp_timer, jiffies + msecs_to_jiffies(3600 * MSEC_PER_SEC));
670+
mod_timer(&stp_timer, jiffies + secs_to_jiffies(3600));
671671
}
672672
}
673673

0 commit comments

Comments
 (0)