)]}' { "log": [ { "commit": "6613476e225e090cc9aad49be7fa504e290dd33d", "tree": "44dde92e4dbd16f25c7ce50240bf53a7b753e7ad", "parents": [ "35a4474b5c3dd4315f72bd53e87b97f128d9bb3d" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 14:11:32 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 14:11:32 2024 -0800" }, "message": "Linux 6.8-rc1\n" }, { "commit": "35a4474b5c3dd4315f72bd53e87b97f128d9bb3d", "tree": "072e5ac37cef1c04e80a1cd66d7cdb56be680fa6", "parents": [ "4fbbed7872677b0a28ba8237169968171a61efbd", "249f441f83c546281f1c175756c81fac332bb64c" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 14:01:12 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 14:01:12 2024 -0800" }, "message": "Merge tag \u0027bcachefs-2024-01-21\u0027 of https://evilpiepirate.org/git/bcachefs\n\nPull more bcachefs updates from Kent Overstreet:\n \"Some fixes, Some refactoring, some minor features:\n\n - Assorted prep work for disk space accounting rewrite\n\n - BTREE_TRIGGER_ATOMIC: after combining our trigger callbacks, this\n makes our trigger context more explicit\n\n - A few fixes to avoid excessive transaction restarts on\n multithreaded workloads: fstests (in addition to ktest tests) are\n now checking slowpath counters, and that\u0027s shaking out a few bugs\n\n - Assorted tracepoint improvements\n\n - Starting to break up bcachefs_format.h and move on disk types so\n they\u0027re with the code they belong to; this will make room to start\n documenting the on disk format better.\n\n - A few minor fixes\"\n\n* tag \u0027bcachefs-2024-01-21\u0027 of https://evilpiepirate.org/git/bcachefs: (46 commits)\n bcachefs: Improve inode_to_text()\n bcachefs: logged_ops_format.h\n bcachefs: reflink_format.h\n bcachefs; extents_format.h\n bcachefs: ec_format.h\n bcachefs: subvolume_format.h\n bcachefs: snapshot_format.h\n bcachefs: alloc_background_format.h\n bcachefs: xattr_format.h\n bcachefs: dirent_format.h\n bcachefs: inode_format.h\n bcachefs; quota_format.h\n bcachefs: sb-counters_format.h\n bcachefs: counters.c -\u003e sb-counters.c\n bcachefs: comment bch_subvolume\n bcachefs: bch_snapshot::btime\n bcachefs: add missing __GFP_NOWARN\n bcachefs: opts-\u003ecompression can now also be applied in the background\n bcachefs: Prep work for variable size btree node buffers\n bcachefs: grab s_umount only if snapshotting\n ...\n" }, { "commit": "4fbbed7872677b0a28ba8237169968171a61efbd", "tree": "a85bef68b4202c0fa1918db023587d633576c5a0", "parents": [ "7b297a5cc9308b57c29635e00395f4005c9ba960", "71fee48fb772ac4f6cfa63dbebc5629de8b4cc09" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 11:14:40 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 11:14:40 2024 -0800" }, "message": "Merge tag \u0027timers-core-2024-01-21\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip\n\nPull timer updates from Thomas Gleixner:\n \"Updates for time and clocksources:\n\n - A fix for the idle and iowait time accounting vs CPU hotplug.\n\n The time is reset on CPU hotplug which makes the accumulated\n systemwide time jump backwards.\n\n - Assorted fixes and improvements for clocksource/event drivers\"\n\n* tag \u0027timers-core-2024-01-21\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:\n tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug\n clocksource/drivers/ep93xx: Fix error handling during probe\n clocksource/drivers/cadence-ttc: Fix some kernel-doc warnings\n clocksource/drivers/timer-ti-dm: Fix make W\u003dn kerneldoc warnings\n clocksource/timer-riscv: Add riscv_clock_shutdown callback\n dt-bindings: timer: Add StarFive JH8100 clint\n dt-bindings: timer: thead,c900-aclint-mtimer: separate mtime and mtimecmp regs\n" }, { "commit": "7b297a5cc9308b57c29635e00395f4005c9ba960", "tree": "bd4bf0b7daa5f07d8ab4032b0fb1140611734543", "parents": [ "2368fcf341d3a6aa143e3cdfb0440fabd152c83b", "18f14afe281648e31ed35c9ad2fcb724c4838ad9" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 11:04:29 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 11:04:29 2024 -0800" }, "message": "Merge tag \u0027powerpc-6.8-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux\n\nPull powerpc fixes from Aneesh Kumar:\n\n - Increase default stack size to 32KB for Book3S\n\nThanks to Michael Ellerman.\n\n* tag \u0027powerpc-6.8-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:\n powerpc/64s: Increase default stack size to 32KB\n" }, { "commit": "249f441f83c546281f1c175756c81fac332bb64c", "tree": "0f175811af8a601542c7ca5660c378c5f5435f24", "parents": [ "d826cc57c53fa759cac019efc9e59e475cf41070" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 12:19:01 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs: Improve inode_to_text()\n\nAdd line breaks - inode_to_text() is now much easier to read.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "d826cc57c53fa759cac019efc9e59e475cf41070", "tree": "d163e994a822a206edc65cc49648c5e39cd32c36", "parents": [ "8d52ba60c4dccbf5d45db70f41b82b18c38059bd" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:57:45 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs: logged_ops_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "8d52ba60c4dccbf5d45db70f41b82b18c38059bd", "tree": "ea97f296bd94f0ba783a81e91a6f1d80e2f6df39", "parents": [ "b2fa1b633bac0c3b2d04ae00e8801414d251aace" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:54:47 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs: reflink_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "b2fa1b633bac0c3b2d04ae00e8801414d251aace", "tree": "289a3c26ea5d6b4c4478f78e062984c6819a5799", "parents": [ "0560eb9abf7dee3c3517cb38246522ecaf1efc12" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:51:56 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs; extents_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "0560eb9abf7dee3c3517cb38246522ecaf1efc12", "tree": "f94b70acb282febec6066aa1e3487606ea33f5ed", "parents": [ "c6c4ff6507c4e1d32f9c2019795d4b7aa6eb559f" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:47:14 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs: ec_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "c6c4ff6507c4e1d32f9c2019795d4b7aa6eb559f", "tree": "18b47b480f4601a5a570cb5ed8865979e0021b4c", "parents": [ "8fed323b14040f42e5755bbb9bd778415634c4b6" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:42:53 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:11 2024 -0500" }, "message": "bcachefs: subvolume_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "8fed323b14040f42e5755bbb9bd778415634c4b6", "tree": "743f845201a457b4955eb278e4410cc2bfac99bf", "parents": [ "d455179fce10f0a7a76b84d1c8327988a93e3216" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 02:41:06 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: snapshot_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "d455179fce10f0a7a76b84d1c8327988a93e3216", "tree": "74260f7bf77a947dbaa223e2d13c15607fa00e2d", "parents": [ "72e0801049c9b10fe3cadacf57eb040dbe65ba52" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 00:01:52 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: alloc_background_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "72e0801049c9b10fe3cadacf57eb040dbe65ba52", "tree": "74f416894f7e0bbb51cc2c46bd471443d105bf53", "parents": [ "7ffc4daa5f08b13f88c0ce743dadb18040926cbf" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:59:15 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: xattr_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "7ffc4daa5f08b13f88c0ce743dadb18040926cbf", "tree": "e2f1d4d162627d8cb8d9a2fd796da6ea259cf414", "parents": [ "b36425da71fe25a51c7f28af0e92b37e535db4a2" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:57:10 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: dirent_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "b36425da71fe25a51c7f28af0e92b37e535db4a2", "tree": "8f6c18ca194e1484d7e4d43c9ec21d61e3c92f6b", "parents": [ "82de6207fb20ea9a467065f4c8ec382affc38405" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:55:39 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: inode_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "82de6207fb20ea9a467065f4c8ec382affc38405", "tree": "d8f9cda7d0b35430f5c77fe948f0e490005145d2", "parents": [ "43314801a43985aa78cf475ccbdb3c520aa1e3d0" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:53:52 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs; quota_format.h\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "43314801a43985aa78cf475ccbdb3c520aa1e3d0", "tree": "c1efa46b83b856cc2701303e66e1651abac2fe9f", "parents": [ "3a58dfbc46c277b090f1b72c949e15da7e1290bf" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:50:56 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: sb-counters_format.h\n\nbcachefs_format.h has gotten too big; let\u0027s do some organizing.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "3a58dfbc46c277b090f1b72c949e15da7e1290bf", "tree": "7800932ee0f5eaca4d4508d3b018ce765da203bc", "parents": [ "12207f49ef41d5599fb313d103f2c7b485848c9d" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:46:35 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: counters.c -\u003e sb-counters.c\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "12207f49ef41d5599fb313d103f2c7b485848c9d", "tree": "33e815bd10a4b293415b28bd10e202f6e1477764", "parents": [ "d32088f2f2f0f361caeb87dfc71b632231fd6c7b" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:44:17 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: comment bch_subvolume\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "d32088f2f2f0f361caeb87dfc71b632231fd6c7b", "tree": "51348b251d0f5a7e6032996eea43ee6576318a8f", "parents": [ "7be0208fc99207e86974f40a3b57949dae67976c" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 20 23:35:41 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: bch_snapshot::btime\n\nAdd a field to bch_snapshot for creation time; this will be important\nwhen we start exposing the snapshot tree to userspace.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "7be0208fc99207e86974f40a3b57949dae67976c", "tree": "029b5e7a49cfccabaa5eece065999121308edecd", "parents": [ "d7e77f53e90e1eb87838eed7c651531427b9114a" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Wed Jan 17 17:16:07 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: add missing __GFP_NOWARN\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "d7e77f53e90e1eb87838eed7c651531427b9114a", "tree": "f5e54a0751c8b51d9dcbd8522af1fb70e26331bf", "parents": [ "ec4edd7b9d2038a97e0ba3fad8fc8492b0d12d35" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Tue Jan 16 16:20:21 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: opts-\u003ecompression can now also be applied in the background\n\nThe \"apply this compression method in the background\" paths now use the\ncompression option if background_compression is not set; this means that\nsetting or changing the compression option will cause existing data to\nbe compressed accordingly in the background.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "ec4edd7b9d2038a97e0ba3fad8fc8492b0d12d35", "tree": "2ba47c4de8460460489d335e3f562eab8819ce96", "parents": [ "2acc59dd88d27ad69b66ded80df16c042b04eeec" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Tue Jan 16 13:29:59 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: Prep work for variable size btree node buffers\n\nbcachefs btree nodes are big - typically 256k - and btree roots are\npinned in memory. As we\u0027re now up to 18 btrees, we now have significant\nmemory overhead in mostly empty btree roots.\n\nAnd in the future we\u0027re going to start enforcing that certain btree node\nboundaries exist, to solve lock contention issues - analagous to XFS\u0027s\nAGIs.\n\nThus, we need to start allocating smaller btree node buffers when we\ncan. This patch changes code that refers to the filesystem constant\nc-\u003eopts.btree_node_size to refer to the btree node buffer size -\nbtree_buf_bytes() - where appropriate.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "2acc59dd88d27ad69b66ded80df16c042b04eeec", "tree": "b33dedf3aa3ab02102598aeb7b35fe0c00a4c1a3", "parents": [ "369acf97d6fd5da620d053d0f1878ffe32eff555" ], "author": { "name": "Su Yue", "email": "glass.su@suse.com", "time": "Mon Jan 15 10:21:25 2024 +0800" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: grab s_umount only if snapshotting\n\nWhen I was testing mongodb over bcachefs with compression,\nthere is a lockdep warning when snapshotting mongodb data volume.\n\n$ cat test.sh\nprog\u003dbcachefs\n\n$prog subvolume create /mnt/data\n$prog subvolume create /mnt/data/snapshots\n\nwhile true;do\n $prog subvolume snapshot /mnt/data /mnt/data/snapshots/$(date +%s)\n sleep 1s\ndone\n\n$ cat /etc/mongodb.conf\nsystemLog:\n destination: file\n logAppend: true\n path: /mnt/data/mongod.log\n\nstorage:\n dbPath: /mnt/data/\n\nlockdep reports:\n[ 3437.452330] \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n[ 3437.452750] WARNING: possible circular locking dependency detected\n[ 3437.453168] 6.7.0-rc7-custom+ #85 Tainted: G E\n[ 3437.453562] ------------------------------------------------------\n[ 3437.453981] bcachefs/35533 is trying to acquire lock:\n[ 3437.454325] ffffa0a02b2b1418 (sb_writers#10){.+.+}-{0:0}, at: filename_create+0x62/0x190\n[ 3437.454875]\n but task is already holding lock:\n[ 3437.455268] ffffa0a02b2b10e0 (\u0026type-\u003es_umount_key#48){.+.+}-{3:3}, at: bch2_fs_file_ioctl+0x232/0xc90 [bcachefs]\n[ 3437.456009]\n which lock already depends on the new lock.\n\n[ 3437.456553]\n the existing dependency chain (in reverse order) is:\n[ 3437.457054]\n -\u003e #3 (\u0026type-\u003es_umount_key#48){.+.+}-{3:3}:\n[ 3437.457507] down_read+0x3e/0x170\n[ 3437.457772] bch2_fs_file_ioctl+0x232/0xc90 [bcachefs]\n[ 3437.458206] __x64_sys_ioctl+0x93/0xd0\n[ 3437.458498] do_syscall_64+0x42/0xf0\n[ 3437.458779] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 3437.459155]\n -\u003e #2 (\u0026c-\u003esnapshot_create_lock){++++}-{3:3}:\n[ 3437.459615] down_read+0x3e/0x170\n[ 3437.459878] bch2_truncate+0x82/0x110 [bcachefs]\n[ 3437.460276] bchfs_truncate+0x254/0x3c0 [bcachefs]\n[ 3437.460686] notify_change+0x1f1/0x4a0\n[ 3437.461283] do_truncate+0x7f/0xd0\n[ 3437.461555] path_openat+0xa57/0xce0\n[ 3437.461836] do_filp_open+0xb4/0x160\n[ 3437.462116] do_sys_openat2+0x91/0xc0\n[ 3437.462402] __x64_sys_openat+0x53/0xa0\n[ 3437.462701] do_syscall_64+0x42/0xf0\n[ 3437.462982] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 3437.463359]\n -\u003e #1 (\u0026sb-\u003es_type-\u003ei_mutex_key#15){+.+.}-{3:3}:\n[ 3437.463843] down_write+0x3b/0xc0\n[ 3437.464223] bch2_write_iter+0x5b/0xcc0 [bcachefs]\n[ 3437.464493] vfs_write+0x21b/0x4c0\n[ 3437.464653] ksys_write+0x69/0xf0\n[ 3437.464839] do_syscall_64+0x42/0xf0\n[ 3437.465009] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 3437.465231]\n -\u003e #0 (sb_writers#10){.+.+}-{0:0}:\n[ 3437.465471] __lock_acquire+0x1455/0x21b0\n[ 3437.465656] lock_acquire+0xc6/0x2b0\n[ 3437.465822] mnt_want_write+0x46/0x1a0\n[ 3437.465996] filename_create+0x62/0x190\n[ 3437.466175] user_path_create+0x2d/0x50\n[ 3437.466352] bch2_fs_file_ioctl+0x2ec/0xc90 [bcachefs]\n[ 3437.466617] __x64_sys_ioctl+0x93/0xd0\n[ 3437.466791] do_syscall_64+0x42/0xf0\n[ 3437.466957] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 3437.467180]\n other info that might help us debug this:\n\n[ 3437.469670] 2 locks held by bcachefs/35533:\n other info that might help us debug this:\n\n[ 3437.467507] Chain exists of:\n sb_writers#10 --\u003e \u0026c-\u003esnapshot_create_lock --\u003e \u0026type-\u003es_umount_key#48\n\n[ 3437.467979] Possible unsafe locking scenario:\n\n[ 3437.468223] CPU0 CPU1\n[ 3437.468405] ---- ----\n[ 3437.468585] rlock(\u0026type-\u003es_umount_key#48);\n[ 3437.468758] lock(\u0026c-\u003esnapshot_create_lock);\n[ 3437.469030] lock(\u0026type-\u003es_umount_key#48);\n[ 3437.469291] rlock(sb_writers#10);\n[ 3437.469434]\n *** DEADLOCK ***\n\n[ 3437.469670] 2 locks held by bcachefs/35533:\n[ 3437.469838] #0: ffffa0a02ce00a88 (\u0026c-\u003esnapshot_create_lock){++++}-{3:3}, at: bch2_fs_file_ioctl+0x1e3/0xc90 [bcachefs]\n[ 3437.470294] #1: ffffa0a02b2b10e0 (\u0026type-\u003es_umount_key#48){.+.+}-{3:3}, at: bch2_fs_file_ioctl+0x232/0xc90 [bcachefs]\n[ 3437.470744]\n stack backtrace:\n[ 3437.470922] CPU: 7 PID: 35533 Comm: bcachefs Kdump: loaded Tainted: G E 6.7.0-rc7-custom+ #85\n[ 3437.471313] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.16.3-1-1 04/01/2014\n[ 3437.471694] Call Trace:\n[ 3437.471795] \u003cTASK\u003e\n[ 3437.471884] dump_stack_lvl+0x57/0x90\n[ 3437.472035] check_noncircular+0x132/0x150\n[ 3437.472202] __lock_acquire+0x1455/0x21b0\n[ 3437.472369] lock_acquire+0xc6/0x2b0\n[ 3437.472518] ? filename_create+0x62/0x190\n[ 3437.472683] ? lock_is_held_type+0x97/0x110\n[ 3437.472856] mnt_want_write+0x46/0x1a0\n[ 3437.473025] ? filename_create+0x62/0x190\n[ 3437.473204] filename_create+0x62/0x190\n[ 3437.473380] user_path_create+0x2d/0x50\n[ 3437.473555] bch2_fs_file_ioctl+0x2ec/0xc90 [bcachefs]\n[ 3437.473819] ? lock_acquire+0xc6/0x2b0\n[ 3437.474002] ? __fget_files+0x2a/0x190\n[ 3437.474195] ? __fget_files+0xbc/0x190\n[ 3437.474380] ? lock_release+0xc5/0x270\n[ 3437.474567] ? __x64_sys_ioctl+0x93/0xd0\n[ 3437.474764] ? __pfx_bch2_fs_file_ioctl+0x10/0x10 [bcachefs]\n[ 3437.475090] __x64_sys_ioctl+0x93/0xd0\n[ 3437.475277] do_syscall_64+0x42/0xf0\n[ 3437.475454] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 3437.475691] RIP: 0033:0x7f2743c313af\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nIn __bch2_ioctl_subvolume_create(), we grab s_umount unconditionally\nand unlock it at the end of the function. There is a comment\n\"why do we need this lock?\" about the lock coming from\ncommit 42d237320e98 (\"bcachefs: Snapshot creation, deletion\")\nThe reason is that __bch2_ioctl_subvolume_create() calls\nsync_inodes_sb() which enforce locked s_umount to writeback all dirty\nnodes before doing snapshot works.\n\nFix it by read locking s_umount for snapshotting only and unlocking\ns_umount after sync_inodes_sb().\n\nSigned-off-by: Su Yue \u003cglass.su@suse.com\u003e\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "369acf97d6fd5da620d053d0f1878ffe32eff555", "tree": "78ecb20f596e7b91ae97ffe3c37d3b1c0eb41e5d", "parents": [ "00fff4dd58661944af9cb4fe8fe61b4105931776" ], "author": { "name": "Su Yue", "email": "glass.su@suse.com", "time": "Tue Jan 16 19:05:37 2024 +0800" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: kvfree bch_fs::snapshots in bch2_fs_snapshots_exit\n\nbch_fs::snapshots is allocated by kvzalloc in __snapshot_t_mut.\nIt should be freed by kvfree not kfree.\nOr umount will triger:\n\n[ 406.829178 ] BUG: unable to handle page fault for address: ffffe7b487148008\n[ 406.830676 ] #PF: supervisor read access in kernel mode\n[ 406.831643 ] #PF: error_code(0x0000) - not-present page\n[ 406.832487 ] PGD 0 P4D 0\n[ 406.832898 ] Oops: 0000 [#1] PREEMPT SMP PTI\n[ 406.833512 ] CPU: 2 PID: 1754 Comm: umount Kdump: loaded Tainted: G OE 6.7.0-rc7-custom+ #90\n[ 406.834746 ] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Arch Linux 1.16.3-1-1 04/01/2014\n[ 406.835796 ] RIP: 0010:kfree+0x62/0x140\n[ 406.836197 ] Code: 80 48 01 d8 0f 82 e9 00 00 00 48 c7 c2 00 00 00 80 48 2b 15 78 9f 1f 01 48 01 d0 48 c1 e8 0c 48 c1 e0 06 48 03 05 56 9f 1f 01 \u003c48\u003e 8b 50 08 48 89 c7 f6 c2 01 0f 85 b0 00 00 00 66 90 48 8b 07 f6\n[ 406.837810 ] RSP: 0018:ffffb9d641607e48 EFLAGS: 00010286\n[ 406.838213 ] RAX: ffffe7b487148000 RBX: ffffb9d645200000 RCX: ffffb9d641607dc4\n[ 406.838738 ] RDX: 000065bb00000000 RSI: ffffffffc0d88b84 RDI: ffffb9d645200000\n[ 406.839217 ] RBP: ffff9a4625d00068 R08: 0000000000000001 R09: 0000000000000001\n[ 406.839650 ] R10: 0000000000000001 R11: 000000000000001f R12: ffff9a4625d4da80\n[ 406.840055 ] R13: ffff9a4625d00000 R14: ffffffffc0e2eb20 R15: 0000000000000000\n[ 406.840451 ] FS: 00007f0a264ffb80(0000) GS:ffff9a4e2d500000(0000) knlGS:0000000000000000\n[ 406.840851 ] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033\n[ 406.841125 ] CR2: ffffe7b487148008 CR3: 000000018c4d2000 CR4: 00000000000006f0\n[ 406.841464 ] Call Trace:\n[ 406.841583 ] \u003cTASK\u003e\n[ 406.841682 ] ? __die+0x1f/0x70\n[ 406.841828 ] ? page_fault_oops+0x159/0x470\n[ 406.842014 ] ? fixup_exception+0x22/0x310\n[ 406.842198 ] ? exc_page_fault+0x1ed/0x200\n[ 406.842382 ] ? asm_exc_page_fault+0x22/0x30\n[ 406.842574 ] ? bch2_fs_release+0x54/0x280 [bcachefs]\n[ 406.842842 ] ? kfree+0x62/0x140\n[ 406.842988 ] ? kfree+0x104/0x140\n[ 406.843138 ] bch2_fs_release+0x54/0x280 [bcachefs]\n[ 406.843390 ] kobject_put+0xb7/0x170\n[ 406.843552 ] deactivate_locked_super+0x2f/0xa0\n[ 406.843756 ] cleanup_mnt+0xba/0x150\n[ 406.843917 ] task_work_run+0x59/0xa0\n[ 406.844083 ] exit_to_user_mode_prepare+0x197/0x1a0\n[ 406.844302 ] syscall_exit_to_user_mode+0x16/0x40\n[ 406.844510 ] do_syscall_64+0x4e/0xf0\n[ 406.844675 ] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n[ 406.844907 ] RIP: 0033:0x7f0a2664e4fb\n\nSigned-off-by: Su Yue \u003cglass.su@suse.com\u003e\nReviewed-by: Brian Foster \u003cbfoster@redhat.com\u003e\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "00fff4dd58661944af9cb4fe8fe61b4105931776", "tree": "d16b3409cd300ba8e0685351171491b300991367", "parents": [ "aead3428e8b7502942356a17f0882d28eb3ff0c3" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Tue Jan 16 11:38:04 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: bios must be 512 byte algined\n\nFixes: 023f9ac9f70f bcachefs: Delete dio read alignment check\nReported-by: Brian Foster \u003cbfoster@redhat.com\u003e\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "aead3428e8b7502942356a17f0882d28eb3ff0c3", "tree": "cb6ddbdda6b9655a660e373bbd50062e4058cc5d", "parents": [ "b97de453651f06071afbf52a5614bd55b8cc4740" ], "author": { "name": "Colin Ian King", "email": "colin.i.king@gmail.com", "time": "Tue Jan 16 11:07:23 2024 +0000" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: remove redundant variable tmp\n\nThe variable tmp is being assigned a value but it isn\u0027t being\nread afterwards. The assignment is redundant and so tmp can be\nremoved.\n\nCleans up clang scan build warning:\nwarning: Although the value stored to \u0027ret\u0027 is used in the enclosing\nexpression, the value is never actually read from \u0027ret\u0027\n[deadcode.DeadStores]\n\nSigned-off-by: Colin Ian King \u003ccolin.i.king@gmail.com\u003e\nReviewed-by: Brian Foster \u003cbfoster@redhat.com\u003e\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "b97de453651f06071afbf52a5614bd55b8cc4740", "tree": "051c59f7bf602ee1846ec7c28a87ed770889efcc", "parents": [ "46bf2e9cc745996ca56e56ed816e60d07811bd9a" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 20:40:06 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: Improve trace_trans_restart_relock\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "46bf2e9cc745996ca56e56ed816e60d07811bd9a", "tree": "94858ccb5646f0629924d68761471e24b67433df", "parents": [ "1a5039041b376f545dfc11d89af77cc720217b44" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 20:37:23 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: Fix excess transaction restarts in __bchfs_fallocate()\n\ndrop_locks_do() should not be used in a fastpath without first trying\nthe do in nonblocking mode - the unlock and relock will cause excessive\ntransaction restarts and potentially livelocking with other threads that\nare contending for the same locks.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "1a5039041b376f545dfc11d89af77cc720217b44", "tree": "c6bbd057c1310b67a7be18583c9a8c45fceea721", "parents": [ "ba96d36ca526f99b163927115abfec36ef5565e0" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 18:19:52 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:10 2024 -0500" }, "message": "bcachefs: extents_to_bp_state\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "ba96d36ca526f99b163927115abfec36ef5565e0", "tree": "44685458a4378233a757e8fc31d7983cf0cb0924", "parents": [ "e6a2566f7a009b644fd84a43a6c1e3a53bb0bf00" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 18:08:32 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: bkey_and_val_eq()\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "e6a2566f7a009b644fd84a43a6c1e3a53bb0bf00", "tree": "8849edac47fc5dff4b60da31d13bc5278ca7bacc", "parents": [ "4ae016607b907e69ed817ce14158adffb9b47978" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 17:59:51 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Better journal tracepoints\n\nFactor out bch2_journal_bufs_to_text(), and use it in the\njournal_entry_full() tracepoint; when we can\u0027t get a journal reservation\nwe need to know the outstanding journal entry sizes to know if the\nproblem is due to excessive flushing.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "4ae016607b907e69ed817ce14158adffb9b47978", "tree": "e476e02085d5a265baaa8e2cbe8fc8406fb19dbc", "parents": [ "a6548c8b5eb541e77ffcf497e8761f34172ff828" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 17:57:44 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Print size of superblock with space allocated\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "a6548c8b5eb541e77ffcf497e8761f34172ff828", "tree": "e1c9a12250c925fe94800e94ac2e53c6e3aa5ad5", "parents": [ "189c176c5dd324531d4cb23f172b1761e65bb0ed" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 17:56:22 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Avoid flushing the journal in the discard path\n\nWhen issuing discards, we may need to flush the journal if there\u0027s too\nmany buckets that can\u0027t be discarded until a journal flush.\n\nBut the heuristic was bad; we should be comparing the number of buckets\nthat need to flushes against the number of free buckets, not the number\nof buckets we saw.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "189c176c5dd324531d4cb23f172b1761e65bb0ed", "tree": "bfa5c0aecb418775eb736f0e40d962564112ea93", "parents": [ "ef740a1e2939376ea4cc11cc8b923214dc1f4a41" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 15:33:39 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Improve move_extent tracepoint\n\nAlso print out the data_opts, so that we can see what specifically is\nbeing done to an extent.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "ef740a1e2939376ea4cc11cc8b923214dc1f4a41", "tree": "9eb08277400567ebd95f88ea27c84af57c61539e", "parents": [ "fa3185af43dce43a23df78c122bef860bcd4bf40" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 15:06:43 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Add missing bch2_moving_ctxt_flush_all()\n\nThis fixes a bug with rebalance IOs getting stuck with reads completed,\nbut writes never being issued.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "fa3185af43dce43a23df78c122bef860bcd4bf40", "tree": "9a61a0ae05b689c85565e8afd6f84f9a86966262", "parents": [ "d92b83f592d810aded2e5f90db5f560cc8cf577b" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 15:04:40 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Re-add move_extent_write tracepoint\n\nIt appears this was accidentally deleted at some point - also, do a bit\nof cleanup.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "d92b83f592d810aded2e5f90db5f560cc8cf577b", "tree": "6f1e09ed5dddae7fbe8b1d8fec6f0ecb306a119c", "parents": [ "741c1d3ec1a4a91d0bf18f200e2f0f8bed1ee7e9" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 14:15:26 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: bch2_kthread_io_clock_wait() no longer sleeps until full amount\n\nDrop t he loop in bch2_kthread_io_clock_wait(): this allows the code\nthat uses it to be woken up for other reasons, and fixes a bug where\nrebalance wouldn\u0027t wake up when a scan was requested.\n\nThis raises the possibility of spurious wakeups, but callers should\nalways be able to handle that reasonably well.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "741c1d3ec1a4a91d0bf18f200e2f0f8bed1ee7e9", "tree": "343aedb06c8b8e3188e045c2f24584ca0d86e9b0", "parents": [ "0124f42da70c513dc371b73688663c54e5a9666f" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 14:15:03 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:09 2024 -0500" }, "message": "bcachefs: Add .val_to_text() for KEY_TYPE_cookie\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "0124f42da70c513dc371b73688663c54e5a9666f", "tree": "48b02781bb9df403cc4d2f824e78eb3b6e968fd1", "parents": [ "57f2d2097603fea102330e8cfe6be4a8db24809e" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Mon Jan 15 14:12:43 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 13:27:04 2024 -0500" }, "message": "bcachefs: Don\u0027t pass memcmp() as a pointer\n\nSome (buggy!) compilers have issues with this.\n\nFixes: https://github.com/koverstreet/bcachefs/issues/625\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "2368fcf341d3a6aa143e3cdfb0440fabd152c83b", "tree": "0547337c46e5b9f2fcc1d41b4690205f1da619f0", "parents": [ "7a396820222d6d4c02057f41658b162bdcdadd0e", "5f4c01f1e3c7b0c8d1e5dd6f080531de7aa5e47b" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 10:21:43 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sun Jan 21 10:21:43 2024 -0800" }, "message": "Merge tag \u0027header_cleanup-2024-01-20\u0027 of https://evilpiepirate.org/git/bcachefs\n\nPull header fix from Kent Overstreet:\n \"Just one small fixup for the RT build\"\n\n* tag \u0027header_cleanup-2024-01-20\u0027 of https://evilpiepirate.org/git/bcachefs:\n spinlock: Fix failing build for PREEMPT_RT\n" }, { "commit": "57f2d2097603fea102330e8cfe6be4a8db24809e", "tree": "60436cd28c9f83ba432873e0af1a48e2e71002cb", "parents": [ "5b14ce35af901853e91e186f34e71f31b08b4e0a" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Wed Jan 10 23:47:04 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: Reduce would_deadlock restarts\n\nWe don\u0027t have to take locks in any particular ordering - we\u0027ll make\nforward progress just fine - but if we try to stick to an ordering, it\ncan help to avoid excessive would_deadlock transaction restarts.\n\nThis tweaks the reflink path to take extents btree locks in the right\norder.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "5b14ce35af901853e91e186f34e71f31b08b4e0a", "tree": "6c5464e7a69f911a18de19e6103c798460fef1b7", "parents": [ "8e7834a8831678d0825895d7f5a02ad0b29bbcde" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Nov 11 15:08:36 2023 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: bch2_trans_account_disk_usage_change()\n\nThe disk space accounting rewrite is splitting out accounting for each\nreplicas set - those are moving to btree keys, instead of percpu\ncounters.\n\nThis breaks bch2_trans_fs_usage_apply() up, splitting out the part we\nwill still need.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "8e7834a8831678d0825895d7f5a02ad0b29bbcde", "tree": "fa85c824684ae6d07c128723a626f788f2abebe3", "parents": [ "4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Fri Nov 17 00:03:45 2023 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: bch_fs_usage_base\n\nSplit out base filesystem usage into its own type; prep work for\nbreaking up bch2_trans_fs_usage_apply().\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47", "tree": "e8c593d20f6004d9601bce00d6f02031ffa217ff", "parents": [ "e58f963cecbdb08f28334122afba93a7840beabc" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 06 21:01:47 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: bch2_prt_compression_type()\n\nbounds checking helper, since compression types are extensible\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "e58f963cecbdb08f28334122afba93a7840beabc", "tree": "0a5e9dd89fceeb1fbd8550958dfe44d1d7981cad", "parents": [ "38c23fb809f60bda1adfc431b18200b8f68c2025" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 06 20:57:43 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: helpers for printing data types\n\nWe need bounds checking since new versions may introduce new data types.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "38c23fb809f60bda1adfc431b18200b8f68c2025", "tree": "48f374d06315169812d6b61cce3a2db4aa1643a7", "parents": [ "9d5dba2ba86de28f74497d9018889918d368d9fa" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 07 17:14:46 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: BTREE_TRIGGER_ATOMIC\n\nAdd a new flag to be explicit about when we\u0027re running atomic triggers.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "9d5dba2ba86de28f74497d9018889918d368d9fa", "tree": "aea296c253ddf5aff9c5cd0b82ecc1c3475432cd", "parents": [ "3fe8a1864042f7793e8fd79e4e24678839207153" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 06 19:47:09 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: drop to_text code for obsolete bps in alloc keys\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "3fe8a1864042f7793e8fd79e4e24678839207153", "tree": "c9d30c5afde89ce1d48c9e51cefa760240baa129", "parents": [ "4ecad0da9de830681ffff973bc0d47b07612bbe6" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sat Jan 06 19:29:14 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: eytzinger_for_each() declares loop iter\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "4ecad0da9de830681ffff973bc0d47b07612bbe6", "tree": "25ef8543c8395e05b57aedd34ce81d4faed913de", "parents": [ "e240c1b3635e3fc7d3ba46c6fe12a0d8efb2941a" ], "author": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Wed Jan 10 23:08:30 2024 -0500" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: Don\u0027t log errors if BCH_WRITE_ALLOC_NOWAIT\n\nPreviously, we added logging in the write path to ensure that any\nunexpected errors getting reported to userspace have a log message; but\nBCH_WRITE_ALLOC_NOWAIT is a special case, it\u0027s used for promotes where\nerrors are expected and not reported out to userspace - so we need to\nsilence those.\n\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "e240c1b3635e3fc7d3ba46c6fe12a0d8efb2941a", "tree": "9e7c88823850aae20df1fb12766b8d50fe83c0a7", "parents": [ "169de41985f53320580f3d347534966ea83343ca" ], "author": { "name": "Su Yue", "email": "glass.su@suse.com", "time": "Mon Jan 08 23:11:08 2024 +0800" }, "committer": { "name": "Kent Overstreet", "email": "kent.overstreet@linux.dev", "time": "Sun Jan 21 06:01:45 2024 -0500" }, "message": "bcachefs: fix memleak in bch2_split_devs\n\nThe pointer dev_name can be modified by strseq(),\nthen causes the memleak:\n\nunreferenced object 0xffff9d08a2916c80 (size 32):\n comm \"mount.bcachefs\", pid 9090, jiffies 4295856224 (age 17.564s)\n hex dump (first 32 bytes):\n 2f 64 65 76 2f 6d 61 70 70 65 72 2f 74 65 73 74 /dev/mapper/test\n 2d 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 -0..............\n backtrace:\n [\u003c00000000c5d3be7d\u003e] __kmem_cache_alloc_node+0x1f3/0x2c0\n [\u003c0000000052215d26\u003e] __kmalloc_node_track_caller+0x51/0x150\n [\u003c0000000069fea956\u003e] kstrdup+0x32/0x60\n [\u003c000000000877fcf1\u003e] bch2_split_devs+0x3f/0x150 [bcachefs]\n [\u003c000000007ee93204\u003e] bch2_mount+0xcb/0x640 [bcachefs]\n [\u003c000000002dd1e04b\u003e] legacy_get_tree+0x30/0x60\n [\u003c000000006afc31d3\u003e] vfs_get_tree+0x28/0xf0\n [\u003c000000007b0c538e\u003e] path_mount+0x475/0xb60\n [\u003c0000000092de5882\u003e] __x64_sys_mount+0x105/0x140\n [\u003c0000000054fc05d8\u003e] do_syscall_64+0x42/0xf0\n [\u003c00000000df584910\u003e] entry_SYSCALL_64_after_hwframe+0x6e/0x76\n\nFix it by copy pointer dev_name at beginning and free the copied\npointer at end.\n\nSigned-off-by: Su Yue \u003cglass.su@suse.com\u003e\nReviewed-by: Brian Foster \u003cbfoster@redhat.com\u003e\nSigned-off-by: Kent Overstreet \u003ckent.overstreet@linux.dev\u003e\n" }, { "commit": "7a396820222d6d4c02057f41658b162bdcdadd0e", "tree": "398f16d6b12c032937d874fe9b62d75979a2c26c", "parents": [ "65163d16fcaef37733b5f273ffe4d00d731b34de", "78e727e58e54efca4c23863fbd9e16e9d2d83f81" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 16:48:07 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 16:48:07 2024 -0800" }, "message": "Merge tag \u0027v6.8-rc-part2-smb-client\u0027 of git://git.samba.org/sfrench/cifs-2.6\n\nPull smb client updates from Steve French:\n \"Various smb client fixes, including multichannel and for SMB3.1.1\n POSIX extensions:\n\n - debugging improvement (display start time for stats)\n\n - two reparse point handling fixes\n\n - various multichannel improvements and fixes\n\n - SMB3.1.1 POSIX extensions open/create parsing fix\n\n - retry (reconnect) improvement including new retrans mount parm, and\n handling of two additional return codes that need to be retried on\n\n - two minor cleanup patches and another to remove duplicate query\n info code\n\n - two documentation cleanup, and one reviewer email correction\"\n\n* tag \u0027v6.8-rc-part2-smb-client\u0027 of git://git.samba.org/sfrench/cifs-2.6:\n cifs: update iface_last_update on each query-and-update\n cifs: handle servers that still advertise multichannel after disabling\n cifs: new mount option called retrans\n cifs: reschedule periodic query for server interfaces\n smb: client: don\u0027t clobber -\u003ei_rdev from cached reparse points\n smb: client: get rid of smb311_posix_query_path_info()\n smb: client: parse owner/group when creating reparse points\n smb: client: fix parsing of SMB3.1.1 POSIX create context\n cifs: update known bugs mentioned in kernel docs for cifs\n cifs: new nt status codes from MS-SMB2\n cifs: pick channel for tcon and tdis\n cifs: open_cached_dir should not rely on primary channel\n smb3: minor documentation updates\n Update MAINTAINERS email address\n cifs: minor comment cleanup\n smb3: show beginning time for per share stats\n cifs: remove redundant variable tcon_exist\n" }, { "commit": "65163d16fcaef37733b5f273ffe4d00d731b34de", "tree": "edac27d7202e2b7c0a250aa836cf8d3f50fda8b2", "parents": [ "80fc600fafee8ba981da6ed41a572800c8e11de6", "cb95a4fa50bbc1262bfb7fea482388a50b12948f" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 15:03:25 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 15:03:25 2024 -0800" }, "message": "Merge tag \u0027dmaengine-fix-6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine\n\nPull dmaengine updates from Vinod Koul:\n \"New support:\n - Loongson LS2X APB DMA controller\n - sf-pdma: mpfs-pdma support\n - Qualcomm X1E80100 GPI dma controller support\n\n Updates:\n - Xilinx XDMA updates to support interleaved DMA transfers\n - TI PSIL threads for AM62P and J722S and cfg register regions\n description\n - axi-dmac Improving the cyclic DMA transfers\n - Tegra Support dma-channel-mask property\n - Remaining platform remove callback returning void conversions\n\n Driver fixes for:\n - Xilinx xdma driver operator precedence and initialization fix\n - Excess kernel-doc warning fix in imx-sdma xilinx xdma drivers\n - format-overflow warning fix for rz-dmac, sh usb dmac drivers\n - \u0027output may be truncated\u0027 fix for shdma, fsl-qdma and dw-edma\n drivers\"\n\n* tag \u0027dmaengine-fix-6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (58 commits)\n dmaengine: dw-edma: increase size of \u0027name\u0027 in debugfs code\n dmaengine: fsl-qdma: increase size of \u0027irq_name\u0027\n dmaengine: shdma: increase size of \u0027dev_id\u0027\n dmaengine: xilinx: xdma: Fix kernel-doc warnings\n dmaengine: usb-dmac: Avoid format-overflow warning\n dmaengine: sh: rz-dmac: Avoid format-overflow warning\n dmaengine: imx-sdma: fix Excess kernel-doc warnings\n dmaengine: xilinx: xdma: Fix initialization location of desc in xdma_channel_isr()\n dmaengine: xilinx: xdma: Fix operator precedence in xdma_prep_interleaved_dma()\n dmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma\n dmaengine: xilinx: xdma: Workaround truncation compilation error\n dmaengine: pl330: issue_pending waits until WFP state\n dmaengine: xilinx: xdma: Implement interleaved DMA transfers\n dmaengine: xilinx: xdma: Prepare the introduction of interleaved DMA transfers\n dmaengine: xilinx: xdma: Add transfer error reporting\n dmaengine: xilinx: xdma: Add error checking in xdma_channel_isr()\n dmaengine: xilinx: xdma: Rework xdma_terminate_all()\n dmaengine: xilinx: xdma: Ease dma_pool alignment requirements\n dmaengine: xilinx: xdma: Add necessary macro definitions\n dmaengine: xilinx: xdma: Get rid of unused code\n ...\n" }, { "commit": "80fc600fafee8ba981da6ed41a572800c8e11de6", "tree": "332afcc4bddb244ce43d6b1298ea3742c196b6cc", "parents": [ "31e97d7c9ae3de072d7b424b2cf706a03ec10720", "ff82e84e80fc0c93095f5a36e0a3508ac121ab80" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 14:20:34 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 14:20:34 2024 -0800" }, "message": "Merge tag \u0027coccinelle-for-6.8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux\n\nPull coccinelle updates from Julia Lawall:\n \"Updates to the device_attr_show semantic patch to reflect the new\n guidelines of the Linux kernel documentation.\n\n The problem was identified by Li Zhijian \u003clizhijian@fujitsu.com\u003e, who\n proposed an initial fix\"\n\n* tag \u0027coccinelle-for-6.8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:\n coccinelle: device_attr_show: simplify patch case\n coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/sysfs.rst\n" }, { "commit": "31e97d7c9ae3de072d7b424b2cf706a03ec10720", "tree": "d5636447c9a5014aa9388931c3cbe92376e04589", "parents": [ "978ffcbf00d82b03b79e64b5c8249589b50e7463" ], "author": { "name": "Aurelien Jarno", "email": "aurelien@aurel32.net", "time": "Sat Jan 13 19:33:31 2024 +0100" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 13:30:00 2024 -0800" }, "message": "media: solo6x10: replace max(a, min(b, c)) by clamp(b, a, c)\n\nThis patch replaces max(a, min(b, c)) by clamp(b, a, c) in the solo6x10\ndriver. This improves the readability and more importantly, for the\nsolo6x10-p2m.c file, this reduces on my system (x86-64, gcc 13):\n\n - the preprocessed size from 121 MiB to 4.5 MiB;\n\n - the build CPU time from 46.8 s to 1.6 s;\n\n - the build memory from 2786 MiB to 98MiB.\n\nIn fine, this allows this relatively simple C file to be built on a\n32-bit system.\n\nReported-by: Jiri Slaby \u003cjirislaby@gmail.com\u003e\nCloses: https://lore.kernel.org/lkml/18c6df0d-45ed-450c-9eda-95160a2bbb8e@gmail.com/\nCc: \u003cstable@vger.kernel.org\u003e # v6.7+\nSuggested-by: David Laight \u003cDavid.Laight@ACULAB.COM\u003e\nSigned-off-by: Aurelien Jarno \u003caurelien@aurel32.net\u003e\nReviewed-by: David Laight \u003cDavid.Laight@ACULAB.COM\u003e\nReviewed-by: Hans Verkuil \u003chverkuil-cisco@xs4all.nl\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n" }, { "commit": "ff82e84e80fc0c93095f5a36e0a3508ac121ab80", "tree": "3279cd0ec1274b4cd443bfebce403a8e5f0d60ad", "parents": [ "68ea60a7961ca6c7c38f856572a146f66949815d" ], "author": { "name": "Julia Lawall", "email": "Julia.Lawall@inria.fr", "time": "Sat Jan 20 21:56:11 2024 +0100" }, "committer": { "name": "Julia Lawall", "email": "Julia.Lawall@inria.fr", "time": "Sat Jan 20 21:56:11 2024 +0100" }, "message": "coccinelle: device_attr_show: simplify patch case\n\nReplacing the final expression argument by ... allows the format\nstring to have multiple arguments.\n\nIt also has the advantage of allowing the change to be recognized as\na change in a single statement, thus avoiding adding unneeded braces.\n\nSigned-off-by: Julia Lawall \u003cJulia.Lawall@inria.fr\u003e\n" }, { "commit": "978ffcbf00d82b03b79e64b5c8249589b50e7463", "tree": "5a7f5d86429047a360beea76852c289d86f3dfd3", "parents": [ "e5075d8ec5647322fb9e699bfb76331cc8ee098d" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Mon Jan 08 16:43:04 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 12:15:43 2024 -0800" }, "message": "execve: open the executable file before doing anything else\n\nNo point in allocating a new mm, counting arguments and environment\nvariables etc if we\u0027re just going to return ENOENT.\n\nThis patch does expose the fact that \u0027do_filp_open()\u0027 that execve() uses\nis still unnecessarily expensive in the failure case, because it\nallocates the \u0027struct file *\u0027 early, even if the path lookup (which is\nheavily optimized) fails.\n\nSo that remains an unnecessary cost in the \"no such executable\" case,\nbut it\u0027s a separate issue. Regardless, I do not want to do _both_ a\nfilename_lookup() and a later do_filp_open() like the origin patch by\nJosh Triplett did in [1].\n\nReported-by: Josh Triplett \u003cjosh@joshtriplett.org\u003e\nCc: Kees Cook \u003ckeescook@chromium.org\u003e\nCc: Mateusz Guzik \u003cmjguzik@gmail.com\u003e\nCc: Al Viro \u003cviro@zeniv.linux.org.uk\u003e\nLink: https://lore.kernel.org/lkml/5c7333ea4bec2fad1b47a8fa2db7c31e4ffc4f14.1663334978.git.josh@joshtriplett.org/ [1]\nLink: https://lore.kernel.org/lkml/202209161637.9EDAF6B18@keescook/\nLink: https://lore.kernel.org/lkml/CAHk-\u003dwgznerM-xs+x+krDfE7eVBiy_HOam35rbsFMMOwvYuEKQ@mail.gmail.com/\nLink: https://lore.kernel.org/lkml/CAHk-\u003dwhf9qLO8ipps4QhmS0BkM8mtWJhvnuDSdtw5gFjhzvKNA@mail.gmail.com/\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n" }, { "commit": "e5075d8ec5647322fb9e699bfb76331cc8ee098d", "tree": "8ec986d65c79dbf421a318a8ec2042fe02bf20d4", "parents": [ "c25b24fa72c734f8cd6c31a13548013263b26286", "f24a70106dc1ad2a755b2d42f47cf1dcf24f0b27" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 11:06:04 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 11:06:04 2024 -0800" }, "message": "Merge tag \u0027riscv-for-linus-6.8-mw4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux\n\nPull more RISC-V updates from Palmer Dabbelt:\n\n - Support for tuning for systems with fast misaligned accesses.\n\n - Support for SBI-based suspend.\n\n - Support for the new SBI debug console extension.\n\n - The T-Head CMOs now use PA-based flushes.\n\n - Support for enabling the V extension in kernel code.\n\n - Optimized IP checksum routines.\n\n - Various ftrace improvements.\n\n - Support for archrandom, which depends on the Zkr extension.\n\n - The build is no longer broken under NET\u003dn, KUNIT\u003dy for ports that\n don\u0027t define their own ipv6 checksum.\n\n* tag \u0027riscv-for-linus-6.8-mw4\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux: (56 commits)\n lib: checksum: Fix build with CONFIG_NET\u003dn\n riscv: lib: Check if output in asm goto supported\n riscv: Fix build error on rv32 + XIP\n riscv: optimize ELF relocation function in riscv\n RISC-V: Implement archrandom when Zkr is available\n riscv: Optimize hweight API with Zbb extension\n riscv: add dependency among Image(.gz), loader(.bin), and vmlinuz.efi\n samples: ftrace: Add RISC-V support for SAMPLE_FTRACE_DIRECT[_MULTI]\n riscv: ftrace: Add DYNAMIC_FTRACE_WITH_DIRECT_CALLS support\n riscv: ftrace: Make function graph use ftrace directly\n riscv: select FTRACE_MCOUNT_USE_PATCHABLE_FUNCTION_ENTRY\n lib/Kconfig.debug: Update AS_HAS_NON_CONST_LEB128 comment and name\n riscv: Restrict DWARF5 when building with LLVM to known working versions\n riscv: Hoist linker relaxation disabling logic into Kconfig\n kunit: Add tests for csum_ipv6_magic and ip_fast_csum\n riscv: Add checksum library\n riscv: Add checksum header\n riscv: Add static key for misaligned accesses\n asm-generic: Improve csum_fold\n RISC-V: selftests: cbo: Ensure asm operands match constraints\n ...\n" }, { "commit": "c25b24fa72c734f8cd6c31a13548013263b26286", "tree": "b1baecba0aff4ffc8e687293dca9c046eb08fc0d", "parents": [ "125514880ddd381fdaaa4d11f32afdb55f1c0307", "83ab68168a3d990d5ff39ab030ad5754cbbccb25" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:42:32 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:42:32 2024 -0800" }, "message": "Merge tag \u0027scsi-misc\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi\n\nPull SCSI updates from James Bottomley:\n \"Final round of fixes that came in too late to send in the first\n request.\n\n It\u0027s nine bug fixes and one version update (because of a bug fix) and\n one set of PCI ID additions. There\u0027s one bug fix in the core which is\n really a one liner (except that an additional sdev pointer was added\n for convenience) and the rest are in drivers\"\n\n* tag \u0027scsi-misc\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:\n scsi: target: core: Add TMF to tmr_list handling\n scsi: core: Kick the requeue list after inserting when flushing\n scsi: fnic: unlock on error path in fnic_queuecommand()\n scsi: fcoe: Fix unsigned comparison with zero in store_ctlr_mode()\n scsi: mpi3mr: Fix mpi3mr_fw.c kernel-doc warnings\n scsi: smartpqi: Bump driver version to 2.1.26-030\n scsi: smartpqi: Fix logical volume rescan race condition\n scsi: smartpqi: Add new controller PCI IDs\n scsi: ufs: qcom: Remove unnecessary goto statement from ufs_qcom_config_esi()\n scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()\n scsi: ufs: core: Simplify power management during async scan\n" }, { "commit": "125514880ddd381fdaaa4d11f32afdb55f1c0307", "tree": "1947b47ff9a6341af6f4e46254ac4f9490c04441", "parents": [ "b1737ad4406a35f20eaae0e8079cc6ca6447e83a", "99fe83ab3bb0e8aac4d45a9361919794336b2ba8" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:24:06 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:24:06 2024 -0800" }, "message": "Merge tag \u0027sh-for-v6.8-tag1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux\n\nPull sh updates from John Paul Adrian Glaubitz:\n \"Since the large patch series to convert arch/sh to device tree support\n has not been finalized yet due to various maintainers still asking for\n changes to the series, this ended up being rather small consisting of\n just two fixes.\n\n The first patch by Geert Uytterhoeven addresses a build failure in the\n EcoVec platform code. And the second patch by Masahiro Yamada removes\n an unnecessary $(foreach ...) found in a Makefile of the vsyscall\n code.\n\n - Rename missed backlight field from fbdev to dev\n\n - Remove unnecessary $(foreach ...)\"\n\n* tag \u0027sh-for-v6.8-tag1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/glaubitz/sh-linux:\n sh: vsyscall: Remove unnecessary $(foreach ...)\n sh: ecovec24: Rename missed backlight field from fbdev to dev\n" }, { "commit": "b1737ad4406a35f20eaae0e8079cc6ca6447e83a", "tree": "e9c42c3da24bb334feb53f26653b3e41aaf9623c", "parents": [ "9d64bf433c53cab2f48a3fff7a1f2a696bc5229a", "2bebc3cd48701607e38e8258ab9692de9b1a718b" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:14:04 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Sat Jan 20 09:14:04 2024 -0800" }, "message": "Merge tag \u0027fbdev-for-6.8-rc1-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev\n\nPull fbdev fix from Helge Deller:\n \"There were various reports from people without any graphics output on\n the screen and it turns out one commit triggers the problem.\n\n - Revert \u0027firmware/sysfb: Clear screen_info state after consuming it\u0027\"\n\n* tag \u0027fbdev-for-6.8-rc1-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev:\n Revert \"firmware/sysfb: Clear screen_info state after consuming it\"\n" }, { "commit": "9d64bf433c53cab2f48a3fff7a1f2a696bc5229a", "tree": "0535254c177c27ec34adbc153d494cea9a9625a0", "parents": [ "57f22c8dab6b266ae36b89b073a4a33dea71e762", "d988c9f511af71a3445b6a4f3a2c67208ff8e480" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 14:25:23 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 14:25:23 2024 -0800" }, "message": "Merge tag \u0027perf-tools-for-v6.8-1-2024-01-09\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools\n\nPull perf tools updates from Arnaldo Carvalho de Melo:\n \"Add Namhyung Kim as tools/perf/ co-maintainer, we\u0027re taking turns\n processing patches, switching roles from perf-tools to perf-tools-next\n at each Linux release.\n\n Data profiling:\n\n - Associate samples that identify loads and stores with data\n structures. This uses events available on Intel, AMD and others and\n DWARF info:\n\n # To get memory access samples in kernel for 1 second (on Intel)\n $ perf mem record -a -K --ldlat\u003d4 -- sleep 1\n\n # Similar for the AMD (but it requires 6.3+ kernel for BPF filters)\n $ perf mem record -a --filter \u0027mem_op \u003d\u003d load || mem_op \u003d\u003d store, ip \u003e 0x8000000000000000\u0027 -- sleep 1\n\n Then, amongst several modes of post processing, one can do things like:\n\n $ perf report -s type,typeoff --hierarchy --group --stdio\n ...\n #\n # Samples: 10K of events \u0027cpu/mem-loads,ldlat\u003d4/P, cpu/mem-stores/P, dummy:u\u0027\n # Event count (approx.): 602758064\n #\n # Overhead Data Type / Data Type Offset\n # ........................... ............................\n #\n 26.09% 3.28% 0.00% long unsigned int\n 26.09% 3.28% 0.00% long unsigned int +0 (no field)\n 18.48% 0.73% 0.00% struct page\n 10.83% 0.02% 0.00% struct page +8 (lru.next)\n 3.90% 0.28% 0.00% struct page +0 (flags)\n 3.45% 0.06% 0.00% struct page +24 (mapping)\n 0.25% 0.28% 0.00% struct page +48 (_mapcount.counter)\n 0.02% 0.06% 0.00% struct page +32 (index)\n 0.02% 0.00% 0.00% struct page +52 (_refcount.counter)\n 0.02% 0.01% 0.00% struct page +56 (memcg_data)\n 0.00% 0.01% 0.00% struct page +16 (lru.prev)\n 15.37% 17.54% 0.00% (stack operation)\n 15.37% 17.54% 0.00% (stack operation) +0 (no field)\n 11.71% 50.27% 0.00% (unknown)\n 11.71% 50.27% 0.00% (unknown) +0 (no field)\n\n $ perf annotate --data-type\n ...\n Annotate type: \u0027struct cfs_rq\u0027 in [kernel.kallsyms] (13 samples):\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n samples offset size field\n 13 0 640 struct cfs_rq {\n 2 0 16 struct load_weight load {\n 2 0 8 unsigned long weight;\n 0 8 4 u32 inv_weight;\n };\n 0 16 8 unsigned long runnable_weight;\n 0 24 4 unsigned int nr_running;\n 1 28 4 unsigned int h_nr_running;\n ...\n\n $ perf annotate --data-type\u003dpage --group\n Annotate type: \u0027struct page\u0027 in [kernel.kallsyms] (480 samples):\n event[0] \u003d cpu/mem-loads,ldlat\u003d4/P\n event[1] \u003d cpu/mem-stores/P\n event[2] \u003d dummy:u\n \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n samples offset size field\n 447 33 0 0 64 struct page {\n 108 8 0 0 8\t long unsigned int flags;\n 319 13 0 8 40\t union {\n 319 13 0 8 40 struct {\n 236 2 0 8 16 union {\n 236 2 0 8 16 struct list_head lru {\n 236 1 0 8 8 struct list_head* next;\n 0 1 0 16 8 struct list_head* prev;\n };\n 236 2 0 8 16 struct {\n 236 1 0 8 8 void* __filler;\n 0 1 0 16 4 unsigned int mlock_count;\n };\n 236 2 0 8 16 struct list_head buddy_list {\n 236 1 0 8 8 struct list_head* next;\n 0 1 0 16 8 struct list_head* prev;\n };\n 236 2 0 8 16 struct list_head pcp_list {\n 236 1 0 8 8 struct list_head* next;\n 0 1 0 16 8 struct list_head* prev;\n };\n };\n 82 4 0 24 8 struct address_space* mapping;\n 1 7 0 32 8 union {\n 1 7 0 32 8 long unsigned int index;\n 1 7 0 32 8 long unsigned int share;\n };\n 0 0 0 40 8 long unsigned int private;\n };\n\n This uses the existing annotate code, calling objdump to do the\n disassembly, with improvements to avoid having this take too long,\n but longer term a switch to a disassembler library, possibly\n reusing code in the kernel will be pursued.\n\n This is the initial implementation, please use it and report\n impressions and bugs. Make sure the kernel-debuginfo packages match\n the running kernel. The \u0027perf report\u0027 phase for non short perf.data\n files may take a while.\n\n There is a great article about it on LWN:\n\n https://lwn.net/Articles/955709/ - \"Data-type profiling for perf\"\n\n One last test I did while writing this text, on a AMD Ryzen 5950X,\n using a distro kernel, while doing a simple \u0027find /\u0027 on an\n otherwise idle system resulted in:\n\n # uname -r\n 6.6.9-100.fc38.x86_64\n # perf -vv | grep BPF_\n bpf: [ on ] # HAVE_LIBBPF_SUPPORT\n bpf_skeletons: [ on ] # HAVE_BPF_SKEL\n # rpm -qa | grep kernel-debuginfo\n kernel-debuginfo-common-x86_64-6.6.9-100.fc38.x86_64\n kernel-debuginfo-6.6.9-100.fc38.x86_64\n #\n # perf mem record -a --filter \u0027mem_op \u003d\u003d load || mem_op \u003d\u003d store, ip \u003e 0x8000000000000000\u0027\n ^C[ perf record: Woken up 1 times to write data ]\n [ perf record: Captured and wrote 2.199 MB perf.data (2913 samples) ]\n #\n # ls -la perf.data\n -rw-------. 1 root root 2346486 Jan 9 18:36 perf.data\n # perf evlist\n ibs_op//\n dummy:u\n # perf evlist -v\n ibs_op//: type: 11, size: 136, config: 0, { sample_period, sample_freq }: 4000, sample_type: IP|TID|TIME|ADDR|CPU|PERIOD|IDENTIFIER|DATA_SRC|WEIGHT, read_format: ID, disabled: 1, inherit: 1, freq: 1, sample_id_all: 1\n dummy:u: type: 1 (PERF_TYPE_SOFTWARE), size: 136, config: 0x9 (PERF_COUNT_SW_DUMMY), { sample_period, sample_freq }: 1, sample_type: IP|TID|TIME|ADDR|CPU|IDENTIFIER|DATA_SRC|WEIGHT, read_format: ID, inherit: 1, exclude_kernel: 1, exclude_hv: 1, mmap: 1, comm: 1, task: 1, mmap_data: 1, sample_id_all: 1, exclude_guest: 1, mmap2: 1, comm_exec: 1, ksymbol: 1, bpf_event: 1\n #\n # perf report -s type,typeoff --hierarchy --group --stdio\n # Total Lost Samples: 0\n #\n # Samples: 2K of events \u0027ibs_op//, dummy:u\u0027\n # Event count (approx.): 1904553038\n #\n # Overhead Data Type / Data Type Offset\n # ................... ............................\n #\n 73.70% 0.00% (unknown)\n 73.70% 0.00% (unknown) +0 (no field)\n 3.01% 0.00% long unsigned int\n 3.00% 0.00% long unsigned int +0 (no field)\n 0.01% 0.00% long unsigned int +2 (no field)\n 2.73% 0.00% struct task_struct\n 1.71% 0.00% struct task_struct +52 (on_cpu)\n 0.38% 0.00% struct task_struct +2104 (rcu_read_unlock_special.b.blocked)\n 0.23% 0.00% struct task_struct +2100 (rcu_read_lock_nesting)\n 0.14% 0.00% struct task_struct +2384 ()\n 0.06% 0.00% struct task_struct +3096 (signal)\n 0.05% 0.00% struct task_struct +3616 (cgroups)\n 0.05% 0.00% struct task_struct +2344 (active_mm)\n 0.02% 0.00% struct task_struct +46 (flags)\n 0.02% 0.00% struct task_struct +2096 (migration_disabled)\n 0.01% 0.00% struct task_struct +24 (__state)\n 0.01% 0.00% struct task_struct +3956 (mm_cid_active)\n 0.01% 0.00% struct task_struct +1048 (cpus_ptr)\n 0.01% 0.00% struct task_struct +184 (se.group_node.next)\n 0.01% 0.00% struct task_struct +20 (thread_info.cpu)\n 0.00% 0.00% struct task_struct +104 (on_rq)\n 0.00% 0.00% struct task_struct +2456 (pid)\n 1.36% 0.00% struct module\n 0.59% 0.00% struct module +952 (kallsyms)\n 0.42% 0.00% struct module +0 (state)\n 0.23% 0.00% struct module +8 (list.next)\n 0.12% 0.00% struct module +216 (syms)\n 0.95% 0.00% struct inode\n 0.41% 0.00% struct inode +40 (i_sb)\n 0.22% 0.00% struct inode +0 (i_mode)\n 0.06% 0.00% struct inode +76 (i_rdev)\n 0.06% 0.00% struct inode +56 (i_security)\n \u003cSNIP\u003e\n\n perf top/report:\n\n - Don\u0027t ignore job control, allowing control+Z + bg to work.\n\n - Add s390 raw data interpretation for PAI (Processor Activity\n Instrumentation) counters.\n\n perf archive:\n\n - Add new option \u0027--all\u0027 to pack perf.data with DSOs.\n\n - Add new option \u0027--unpack\u0027 to expand tarballs.\n\n Initialization speedups:\n\n - Lazily initialize zstd streams to save memory when not using it.\n\n - Lazily allocate/size mmap event copy.\n\n - Lazy load kernel symbols in \u0027perf record\u0027.\n\n - Be lazier in allocating lost samples buffer in \u0027perf record\u0027.\n\n - Don\u0027t synthesize BPF events when disabled via the command line\n (perf record --no-bpf-event).\n\n Assorted improvements:\n\n - Show note on AMD systems that the :p, :pp, :ppp and :P are all the\n same, as IBS (Instruction Based Sampling) is used and it is\n inherentely precise, not having levels of precision like in Intel\n systems.\n\n - When \u0027cycles\u0027 isn\u0027t available, fall back to the \"task-clock\" event\n when not system wide, not to \u0027cpu-clock\u0027.\n\n - Add --debug-file option to redirect debug output, e.g.:\n\n $ perf --debug-file /tmp/perf.log record -v true\n\n - Shrink \u0027struct map\u0027 to under one cacheline by avoiding function\n pointers for selecting if addresses are identity or DSO relative,\n and using just a byte for some boolean struct members.\n\n - Resolve the arch specific strerrno just once to use in\n perf_env__arch_strerrno().\n\n - Reduce memory for recording PERF_RECORD_LOST_SAMPLES event.\n\n Assorted fixes:\n\n - Fix the default \u0027perf top\u0027 usage on Intel hybrid systems, now it\n starts with a browser showing the number of samples for Efficiency\n (cpu_atom/cycles/P) and Performance (cpu_core/cycles/P). This\n behaviour is similar on ARM64, with its respective set of\n big.LITTLE processors.\n\n - Fix segfault on build_mem_topology() error path.\n\n - Fix \u0027perf mem\u0027 error on hybrid related to availability of mem event\n in a PMU.\n\n - Fix missing reference count gets (map, maps) in the db-export code.\n\n - Avoid recursively taking env-\u003ebpf_progs.lock in the \u0027perf_env\u0027\n code.\n\n - Use the newly introduced maps__for_each_map() to add missing\n locking around iteration of \u0027struct map\u0027 entries.\n\n - Parse NOTE segments until the build id is found, don\u0027t stop on the\n first one, ELF files may have several such NOTE segments.\n\n - Remove \u0027egrep\u0027 usage, its deprecated, use \u0027grep -E\u0027 instead.\n\n - Warn first about missing libelf, not libbpf, that depends on\n libelf.\n\n - Use alternative to \u0027find ... -printf\u0027 as this isn\u0027t supported in\n busybox.\n\n - Address python 3.6 DeprecationWarning for string scapes.\n\n - Fix memory leak in uniq() in libsubcmd.\n\n - Fix man page formatting for \u0027perf lock\u0027\n\n - Fix some spelling mistakes.\n\n perf tests:\n\n - Fail shell tests that needs some symbol in perf itself if it is\n stripped. These tests check if a symbol is resolved, if some hot\n function is indeed detected by profiling, etc.\n\n - The \u0027perf test sigtrap\u0027 test is currently failing on PREEMPT_RT,\n skip it if sleeping spinlocks are detected (using BTF) and point to\n the mailing list discussion about it. This test is also being\n skipped on several architectures (powerpc, s390x, arm and aarch64)\n due to other pending issues with intruction breakpoints.\n\n - Adjust test case perf record offcpu profiling tests for s390.\n\n - Fix \u0027Setup struct perf_event_attr\u0027 fails on s390 on z/VM guest,\n addressing issues caused by the fallback from cycles to task-clock\n done in this release.\n\n - Fix mask for VG register in the user-regs test.\n\n - Use shellcheck on \u0027perf test\u0027 shell scripts automatically to make\n sure changes don\u0027t introduce things it flags as problematic.\n\n - Add option to change objdump binary and allow it to be set via\n \u0027perf config\u0027.\n\n - Add basic \u0027perf script\u0027, \u0027perf list --json\" and \u0027perf diff\u0027 tests.\n\n - Basic branch counter support.\n\n - Make DSO tests a suite rather than individual.\n\n - Remove atomics from test_loop to avoid test failures.\n\n - Fix call chain match on powerpc for the record+probe_libc_inet_pton\n test.\n\n - Improve Intel hybrid tests.\n\n Vendor event files (JSON):\n\n powerpc:\n\n - Update datasource event name to fix duplicate events on IBM\u0027s\n Power10.\n\n - Add PVN for HX-C2000 CPU with Power8 Architecture.\n\n Intel:\n\n - Alderlake/rocketlake metric fixes.\n\n - Update emeraldrapids events to v1.02.\n\n - Update icelakex events to v1.23.\n\n - Update sapphirerapids events to v1.17.\n\n - Add skx, clx, icx and spr upi bandwidth metric.\n\n AMD:\n\n - Add Zen 4 memory controller events.\n\n RISC-V:\n\n - Add StarFive Dubhe-80 and Dubhe-90 JSON files.\n https://www.starfivetech.com/en/site/cpu-u\n\n - Add T-HEAD C9xx JSON file.\n https://github.com/riscv-software-src/opensbi/blob/master/docs/platform/thead-c9xx.md\n\n ARM64:\n\n - Remove UTF-8 characters from cmn.json, that were causing build\n failure in some distros.\n\n - Add core PMU events and metrics for Ampere One X.\n\n - Rename Ampere One\u0027s BPU_FLUSH_MEM_FAULT to GPC_FLUSH_MEM_FAULT\n\n libperf:\n\n - Rename several perf_cpu_map constructor names to clarify what they\n really do.\n\n - Ditto for some other methods, coping with some issues in their\n semantics, like perf_cpu_map__empty() -\u003e\n perf_cpu_map__has_any_cpu_or_is_empty().\n\n - Document perf_cpu_map__nr()\u0027s behavior\n\n perf stat:\n\n - Exit if parse groups fails.\n\n - Combine the -A/--no-aggr and --no-merge options.\n\n - Fix help message for --metric-no-threshold option.\n\n Hardware tracing:\n\n ARM64 CoreSight:\n\n - Bump minimum OpenCSD version to ensure a bugfix is present.\n\n - Add \u0027T\u0027 itrace option for timestamp trace\n\n - Set start vm addr of exectable file to 0 and don\u0027t ignore first\n sample on the arm-cs-trace-disasm.py \u0027perf script\u0027\"\n\n* tag \u0027perf-tools-for-v6.8-1-2024-01-09\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools: (179 commits)\n MAINTAINERS: Add Namhyung as tools/perf/ co-maintainer\n perf test: test case \u0027Setup struct perf_event_attr\u0027 fails on s390 on z/vm\n perf db-export: Fix missing reference count get in call_path_from_sample()\n perf tests: Add perf script test\n libsubcmd: Fix memory leak in uniq()\n perf TUI: Don\u0027t ignore job control\n perf vendor events intel: Update sapphirerapids events to v1.17\n perf vendor events intel: Update icelakex events to v1.23\n perf vendor events intel: Update emeraldrapids events to v1.02\n perf vendor events intel: Alderlake/rocketlake metric fixes\n perf x86 test: Add hybrid test for conflicting legacy/sysfs event\n perf x86 test: Update hybrid expectations\n perf vendor events amd: Add Zen 4 memory controller events\n perf stat: Fix hard coded LL miss units\n perf record: Reduce memory for recording PERF_RECORD_LOST_SAMPLES event\n perf env: Avoid recursively taking env-\u003ebpf_progs.lock\n perf annotate: Add --insn-stat option for debugging\n perf annotate: Add --type-stat option for debugging\n perf annotate: Support event group display\n perf annotate: Add --data-type option\n ...\n" }, { "commit": "57f22c8dab6b266ae36b89b073a4a33dea71e762", "tree": "f7a3f74f74dc83ee11ed1c4855c9119c8a2909c3", "parents": [ "18b5cb6cb85c2ac96b8e94e698d11b909225ce4a", "d26270061ae66b915138af7cd73ca6f8b85e6b44" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:49:16 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:49:16 2024 -0800" }, "message": "Merge tag \u0027strlcpy-removal-v6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux\n\nPull strlcpy removal from Kees Cook:\n \"As promised, this is \u0027part 2\u0027 of the hardening tree, late in -rc1 now\n that all the other trees with strlcpy() removals have landed. One new\n user appeared (in bcachefs) but was a trivial refactor. The kernel is\n now free of the strlcpy() API!\n\n - Remove of the final (very recent) user of strlcpy() (in bcachefs)\n\n - Remove the strlcpy() API. Long live strscpy()\"\n\n* tag \u0027strlcpy-removal-v6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:\n string: Remove strlcpy()\n bcachefs: Replace strlcpy() with strscpy()\n" }, { "commit": "18b5cb6cb85c2ac96b8e94e698d11b909225ce4a", "tree": "66b03915098e09ef9c81b0561787563df452265d", "parents": [ "24fdd5189914b36102cb51626a890a2d84501993", "1b20d0486a602417defb5bf33320d31b2a7a47f8" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:36:15 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:36:15 2024 -0800" }, "message": "Merge tag \u0027arm64-fixes\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux\n\nPull arm64 fixes from Will Deacon:\n \"I think the main one is fixing the dynamic SCS patching when full LTO\n is enabled (clang was silently getting this horribly wrong), but it\u0027s\n all good stuff.\n\n Rob just pointed out that the fix to the workaround for erratum\n #2966298 might not be necessary, but in the worst case it\u0027s harmless\n and since the official description leaves a little to be desired here,\n I\u0027ve left it in.\n\n Summary:\n\n - Fix shadow call stack patching with LTO\u003dfull\n\n - Fix voluntary preemption of the FPSIMD registers from assembly code\n\n - Fix workaround for A520 CPU erratum #2966298 and extend to A510\n\n - Fix SME issues that resulted in corruption of the register state\n\n - Minor fixes (missing includes, formatting)\"\n\n* tag \u0027arm64-fixes\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:\n arm64: Fix silcon-errata.rst formatting\n arm64/sme: Always exit sme_alloc() early with existing storage\n arm64/fpsimd: Remove spurious check for SVE support\n arm64/ptrace: Don\u0027t flush ZA/ZT storage when writing ZA via ptrace\n arm64: entry: simplify kernel_exit logic\n arm64: entry: fix ARM64_WORKAROUND_SPECULATIVE_UNPRIV_LOAD\n arm64: errata: Add Cortex-A510 speculative unprivileged load workaround\n arm64: Rename ARM64_WORKAROUND_2966298\n arm64: fpsimd: Bring cond_yield asm macro in line with new rules\n arm64: scs: Work around full LTO issue with dynamic SCS\n arm64: irq: include \u003clinux/cpumask.h\u003e\n" }, { "commit": "24fdd5189914b36102cb51626a890a2d84501993", "tree": "ff79d396f2912ae4936c28c3e8fcb703f7f23393", "parents": [ "9bc44c51a0461e099d4eb5dff86c2d72f0fb4a6c", "6e441fa3ac475be73c03c9a85bd305d66ea476a6" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:30:49 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:30:49 2024 -0800" }, "message": "Merge tag \u0027loongarch-6.8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson\n\nPull LoongArch updates from Huacai Chen:\n\n - Raise minimum clang version to 18.0.0\n\n - Enable initial Rust support for LoongArch\n\n - Add built-in dtb support for LoongArch\n\n - Use generic interface to support crashkernel\u003dX,[high,low]\n\n - Some bug fixes and other small changes\n\n - Update the default config file.\n\n* tag \u0027loongarch-6.8\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson: (22 commits)\n MAINTAINERS: Add BPF JIT for LOONGARCH entry\n LoongArch: Update Loongson-3 default config file\n LoongArch: BPF: Prevent out-of-bounds memory access\n LoongArch: BPF: Support 64-bit pointers to kfuncs\n LoongArch: Fix definition of ftrace_regs_set_instruction_pointer()\n LoongArch: Use generic interface to support crashkernel\u003dX,[high,low]\n LoongArch: Fix and simplify fcsr initialization on execve()\n LoongArch: Let cores_io_master cover the largest NR_CPUS\n LoongArch: Change SHMLBA from SZ_64K to PAGE_SIZE\n LoongArch: Add a missing call to efi_esrt_init()\n LoongArch: Parsing CPU-related information from DTS\n LoongArch: dts: DeviceTree for Loongson-2K2000\n LoongArch: dts: DeviceTree for Loongson-2K1000\n LoongArch: dts: DeviceTree for Loongson-2K0500\n LoongArch: Allow device trees be built into the kernel\n dt-bindings: interrupt-controller: loongson,liointc: Fix dtbs_check warning for interrupt-names\n dt-bindings: interrupt-controller: loongson,liointc: Fix dtbs_check warning for reg-names\n dt-bindings: loongarch: Add Loongson SoC boards compatibles\n dt-bindings: loongarch: Add CPU bindings for LoongArch\n LoongArch: Enable initial Rust support\n ...\n" }, { "commit": "2bebc3cd48701607e38e8258ab9692de9b1a718b", "tree": "2d8e5ab4a407c439df0c89029bb3c157935d9673", "parents": [ "556e2d17cae620d549c5474b1ece053430cd50bc" ], "author": { "name": "Helge Deller", "email": "deller@gmx.de", "time": "Fri Jan 19 21:47:15 2024 +0100" }, "committer": { "name": "Helge Deller", "email": "deller@gmx.de", "time": "Fri Jan 19 22:22:26 2024 +0100" }, "message": "Revert \"firmware/sysfb: Clear screen_info state after consuming it\"\n\nThis reverts commit df67699c9cb0ceb70f6cc60630ca938c06773eda.\n\nJens Axboe reported a regression that his machine is failing to show a\nconsole, or in fact anything, on current -git. There\u0027s no output and no\nconsole after:\n\nLoading Linux 6.7.0+ ...\nLoading initial ramdisk ...\n\nSigned-off-by: Helge Deller \u003cdeller@gmx.de\u003e\nCc: Thomas Zimmermann \u003ctzimmermann@suse.de\u003e\nCc: Jens Axboe \u003caxboe@kernel.dk\u003e\n" }, { "commit": "9bc44c51a0461e099d4eb5dff86c2d72f0fb4a6c", "tree": "3379df41c7fa335ce1a48b4af2276f122253b4e3", "parents": [ "a638bfbfa1f8e8fbf36d84679916c60c1382a2ef", "ef175b29a242fea98f467f008237484b03c94834" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:00:45 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 13:00:45 2024 -0800" }, "message": "Merge tag \u0027devicetree-for-6.8-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux\n\nPull devicetree header detangling from Rob Herring:\n \"Remove the circular including of of_device.h and of_platform.h along\n with all of their implicit includes.\n\n This is the culmination of several kernel cycles worth of fixing\n implicit DT includes throughout the tree\"\n\n* tag \u0027devicetree-for-6.8-2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux:\n of: Stop circularly including of_device.h and of_platform.h\n clk: qcom: gcc-x1e80100: Replace of_device.h with explicit includes\n thermal: loongson2: Replace of_device.h with explicit includes\n net: can: Use device_get_match_data()\n sparc: Use device_get_match_data()\n" }, { "commit": "68ea60a7961ca6c7c38f856572a146f66949815d", "tree": "98cf5e2f7c117a162abab45618be57d6477fb445", "parents": [ "556e2d17cae620d549c5474b1ece053430cd50bc" ], "author": { "name": "Li Zhijian", "email": "lizhijian@fujitsu.com", "time": "Fri Jan 19 14:20:57 2024 +0800" }, "committer": { "name": "Julia Lawall", "email": "Julia.Lawall@inria.fr", "time": "Fri Jan 19 21:52:09 2024 +0100" }, "message": "coccinelle: device_attr_show: Adapt to the latest Documentation/filesystems/sysfs.rst\n\nAdapt description, warning message and MODE\u003dpatch according to the latest\nDocumentation/filesystems/sysfs.rst:\n\u003e show() should only use sysfs_emit() or sysfs_emit_at() when formatting\n\u003e the value to be returned to user space.\n\nAfter this patch:\nWhen MODE\u003dreport,\n $ make coccicheck COCCI\u003dscripts/coccinelle/api/device_attr_show.cocci M\u003ddrivers/hid/hid-picolcd_core.c MODE\u003dreport\n \u003c...snip...\u003e\n drivers/hid/hid-picolcd_core.c:304:8-16: WARNING: please use sysfs_emit or sysfs_emit_at\n drivers/hid/hid-picolcd_core.c:259:9-17: WARNING: please use sysfs_emit or sysfs_emit_at\n\nWhen MODE\u003dpatch,\n $ make coccicheck COCCI\u003dscripts/coccinelle/api/device_attr_show.cocci M\u003ddrivers/hid/hid-picolcd_core.c MODE\u003dpatch\n \u003c...snip...\u003e\n diff -u -p a/drivers/hid/hid-picolcd_core.c b/drivers/hid/hid-picolcd_core.c\n --- a/drivers/hid/hid-picolcd_core.c\n +++ b/drivers/hid/hid-picolcd_core.c\n @@ -255,10 +255,12 @@ static ssize_t picolcd_operation_mode_sh\n {\n struct picolcd_data *data \u003d dev_get_drvdata(dev);\n\n - if (data-\u003estatus \u0026 PICOLCD_BOOTLOADER)\n - return snprintf(buf, PAGE_SIZE, \"[bootloader] lcd\\n\");\n - else\n - return snprintf(buf, PAGE_SIZE, \"bootloader [lcd]\\n\");\n + if (data-\u003estatus \u0026 PICOLCD_BOOTLOADER) {\n + return sysfs_emit(buf, \"[bootloader] lcd\\n\");\n + }\n + else {\n + return sysfs_emit(buf, \"bootloader [lcd]\\n\");\n + }\n }\n\n static ssize_t picolcd_operation_mode_store(struct device *dev,\n @@ -301,7 +303,7 @@ static ssize_t picolcd_operation_mode_de\n {\n struct picolcd_data *data \u003d dev_get_drvdata(dev);\n\n - return snprintf(buf, PAGE_SIZE, \"hello world\\n\");\n + return sysfs_emit(buf, \"hello world\\n\");\n }\n\n static ssize_t picolcd_operation_mode_delay_store(struct device *dev,\n\nCC: Julia Lawall \u003cJulia.Lawall@inria.fr\u003e\nCC: Nicolas Palix \u003cnicolas.palix@imag.fr\u003e\nCC: cocci@inria.fr\nSigned-off-by: Li Zhijian \u003clizhijian@fujitsu.com\u003e\n" }, { "commit": "a638bfbfa1f8e8fbf36d84679916c60c1382a2ef", "tree": "ecd8b066a7cbf64ae3ef60e76b731e7037b6ad1d", "parents": [ "a1fe5b6d0dce12893f40f0f3cc4e3885456155fb", "17dc11a02d8dacc7e78968daa2a8c16281eb7d1e" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 12:50:09 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 12:50:09 2024 -0800" }, "message": "Merge tag \u0027spi-fix-v6.8-merge-window\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi\n\nPull spi fix from Mark Brown:\n \"One simple fix for the device unbind path in the Coldfire driver.\n\n A conversion to use a combined get/enable helper missed removing a\n disable\"\n\n* tag \u0027spi-fix-v6.8-merge-window\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi:\n spi: coldfire-qspi: Remove an erroneous clk_disable_unprepare() from the remove function\n" }, { "commit": "a1fe5b6d0dce12893f40f0f3cc4e3885456155fb", "tree": "522fac116264c34260c675aa3e0045bf2fe82fe2", "parents": [ "e08b5758153981ca812c5991209a6133c732e799", "fb3c007fde80d9d3b4207943e74c150c9116cead" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 12:30:29 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 12:30:29 2024 -0800" }, "message": "Merge tag \u0027sound-fix-6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound\n\nPull sound fixes from Takashi Iwai:\n \"A collection of small fixes:\n\n - Lots of ASoC SOF fixes and related reworks\n\n - ASoC TAS codec fixes including DT updates\n\n - A few HD-audio quirks and regression fixes\n\n - Minor fixes for aloop, oxygen and scarlett2 mixer\"\n\n* tag \u0027sound-fix-6.8-rc1\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: (23 commits)\n ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5\n ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on HP ZBook\n ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx\n ASoC: SOF: ipc4-loader: remove the CPC check warnings\n ASoC: SOF: ipc4-pcm: remove log message for LLP\n ALSA: hda: generic: Remove obsolete call to ledtrig_audio_get\n ALSA: scarlett2: Fix yet more -Wformat-truncation warnings\n ALSA: hda: Properly setup HDMI stream\n ASoC: audio-graph-card2: fix index check on graph_parse_node_multi_nm()\n ASoC: SOF: icp3-dtrace: Revert \"Fix wrong kfree() usage\"\n ALSA: oxygen: Fix right channel of capture volume mixer\n ALSA: aloop: Introduce a function to get if access is interleaved mode\n ASoC: mediatek: sof-common: Add NULL check for normal_link string\n ASoC: mediatek: mt8195: Remove afe-dai component and rework codec link\n ASoC: mediatek: mt8192: Check existence of dai_name before dereferencing\n ASoC: Intel: bxt_rt298: Fix kernel ops due to COMP_DUMMY change\n ASoC: Intel: bxt_da7219_max98357a: Fix kernel ops due to COMP_DUMMY change\n ASoC: codecs: rtq9128: Fix TDM enable and DAI format control flow\n ASoC: codecs: rtq9128: Fix PM_RUNTIME usage\n ASoC: tas2781: Add tas2563 into driver\n ...\n" }, { "commit": "d26270061ae66b915138af7cd73ca6f8b85e6b44", "tree": "efd84b38f392f32f691e6f98173b90cbbd0e0106", "parents": [ "e28b0359587fe4055c838698172de0530b511702" ], "author": { "name": "Kees Cook", "email": "keescook@chromium.org", "time": "Thu Jan 18 12:31:55 2024 -0800" }, "committer": { "name": "Kees Cook", "email": "keescook@chromium.org", "time": "Fri Jan 19 11:59:11 2024 -0800" }, "message": "string: Remove strlcpy()\n\nWith all the users of strlcpy() removed[1] from the kernel, remove the\nAPI, self-tests, and other references. Leave mentions in Documentation\n(about its deprecation), and in checkpatch.pl (to help migrate host-only\ntools/ usage). Long live strscpy().\n\nLink: https://github.com/KSPP/linux/issues/89 [1]\nCc: Azeem Shaikh \u003cazeemshaikh38@gmail.com\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Andy Whitcroft \u003capw@canonical.com\u003e\nCc: Joe Perches \u003cjoe@perches.com\u003e\nCc: Dwaipayan Ray \u003cdwaipayanray1@gmail.com\u003e\nCc: Lukas Bulwahn \u003clukas.bulwahn@gmail.com\u003e\nCc: linux-hardening@vger.kernel.org\nReviewed-by: Andy Shevchenko \u003candy.shevchenko@gmail.com\u003e\nSigned-off-by: Kees Cook \u003ckeescook@chromium.org\u003e\n" }, { "commit": "e08b5758153981ca812c5991209a6133c732e799", "tree": "83017ae9e529989b7015476920709a9ff77cd7fb", "parents": [ "ab1e2d0fccc570c950fd939840ebc8efa3bd39b8", "009f0a64f9ccee9db9d758b883059e5c74bb7330" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 11:50:00 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 11:50:00 2024 -0800" }, "message": "Merge tag \u0027drm-next-2024-01-19\u0027 of git://anongit.freedesktop.org/drm/drm\n\nPull more drm fixes from Dave Airlie:\n \"This is mostly amdgpu and xe fixes, with an amdkfd and nouveau fix\n thrown in.\n\n The amdgpu ones are just the usual couple of weeks of fixes. The xe\n ones are bunch of cleanups for the new xe driver, the fix you put in\n on the merge commit and the kconfig fix that was hiding the problem\n from me.\n\n amdgpu:\n - DSC fixes\n - DC resource pool fixes\n - OTG fix\n - DML2 fixes\n - Aux fix\n - GFX10 RLC firmware handling fix\n - Revert a broken workaround for SMU 13.0.2\n - DC writeback fix\n - Enable gfxoff when ROCm apps are active on gfx11 with the proper FW\n version\n\n amdkfd:\n - Fix dma-buf exports using GEM handles\n\n nouveau:\n - fix a unneeded WARN_ON triggering\n\n xe:\n - Fix for definition of wakeref_t\n - Fix for an error code aliasing\n - Fix for VM_UNBIND_ALL in the case there are no bound VMAs\n - Fixes for a number of __iomem address space mismatches reported by\n sparse\n - Fixes for the assignment of exec_queue priority\n - A Fix for skip_guc_pc not taking effect\n - Workaround for a build problem on GCC 11\n - A couple of fixes for error paths\n - Fix a Flat CCS compression metadata copy issue\n - Fix a misplace array bounds checking\n - Don\u0027t have display support depend on EXPERT (as discussed on IRC)\"\n\n* tag \u0027drm-next-2024-01-19\u0027 of git://anongit.freedesktop.org/drm/drm: (71 commits)\n nouveau/vmm: don\u0027t set addr on the fail path to avoid warning\n drm/amdgpu: Enable GFXOFF for Compute on GFX11\n drm/amd/display: Drop \u0027acrtc\u0027 and add \u0027new_crtc_state\u0027 NULL check for writeback requests.\n drm/amdgpu: revert \"Adjust removal control flow for smu v13_0_2\"\n drm/amdkfd: init drm_client with funcs hook\n drm/amd/display: Fix a switch statement in populate_dml_output_cfg_from_stream_state()\n drm/amdgpu: Fix the null pointer when load rlc firmware\n drm/amd/display: Align the returned error code with legacy DP\n drm/amd/display: Fix DML2 watermark calculation\n drm/amd/display: Clear OPTC mem select on disable\n drm/amd/display: Port DENTIST hang and TDR fixes to OTG disable W/A\n drm/amd/display: Add logging resource checks\n drm/amd/display: Init link enc resources in dc_state only if res_pool presents\n drm/amd/display: Fix late derefrence \u0027dsc\u0027 check in \u0027link_set_dsc_pps_packet()\u0027\n drm/amd/display: Avoid enum conversion warning\n drm/amd/pm: Fix smuv13.0.6 current clock reporting\n drm/amd/pm: Add error log for smu v13.0.6 reset\n drm/amdkfd: Fix \u0027node\u0027 NULL check in \u0027svm_range_get_range_boundaries()\u0027\n drm/amdgpu: drop exp hw support check for GC 9.4.3\n drm/amdgpu: move debug options init prior to amdgpu device init\n ...\n" }, { "commit": "ab1e2d0fccc570c950fd939840ebc8efa3bd39b8", "tree": "615fb69d0879e9de5590d4b0a16983405884a3ff", "parents": [ "237c31cb5d83b3f77715f6d6a185f46a5ee4ec88", "17d49b7e47a1001c8796f05f4a2bbdef0a998213" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 11:34:19 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 11:34:19 2024 -0800" }, "message": "Merge tag \u0027for-v6.8-v2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply\n\nPull power supply and reset updates from Sebastian Reichel:\n \"New features:\n - bq24190: Add support for BQ24296 charger\n\n Cleanups:\n - all reset drivers: Stop using module_platform_driver_probe()\n - gpio-restart: use devm_register_sys_off_handler\n - pwr-mlxbf: support graceful reboot\n - cw2015: correct time_to_empty units\n - qcom-battmgr: Fix driver initialization sequence\n - bq27xxx: Start/Stop delayed work in suspend/resume\n - minor cleanups and fixes\"\n\n* tag \u0027for-v6.8-v2\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (33 commits)\n power: supply: bq24190_charger: Fix \"initializer element is not constant\" error\n power: supply: bq24190_charger: Add support for BQ24296\n dt-bindings: power: supply: bq24190: Add BQ24296 compatible\n dt-bindings: power: reset: xilinx: Rename node names in examples\n power: supply: qcom_battmgr: Register the power supplies after PDR is up\n dt-bindings: power: reset: qcom-pon: fix inconsistent example\n power: supply: Fix null pointer dereference in smb2_probe\n power: reset: at91: Drop \u0027__init\u0027 from at91_wakeup_status()\n power: supply: Use multiple MODULE_AUTHOR statements\n power: supply: Fix indentation and some other warnings\n power: reset: gpio-restart: Use devm_register_sys_off_handler()\n power: supply: bq256xx: fix some problem in bq256xx_hw_init\n power: supply: cw2015: correct time_to_empty units in sysfs\n power: reset: at91-sama5d2_shdwc: Convert to platform remove callback returning void\n power: reset: at91-reset: Convert to platform remove callback returning void\n power: reset: tps65086-restart: Convert to platform remove callback returning void\n power: reset: syscon-poweroff: Convert to platform remove callback returning void\n power: reset: rmobile-reset: Convert to platform remove callback returning void\n power: reset: restart-poweroff: Convert to platform remove callback returning void\n power: reset: regulator-poweroff: Convert to platform remove callback returning void\n ...\n" }, { "commit": "237c31cb5d83b3f77715f6d6a185f46a5ee4ec88", "tree": "3f804594af7a2f6b9f4eb2f0096381416eb24f1a", "parents": [ "556e2d17cae620d549c5474b1ece053430cd50bc", "8ead196be219adade3bd0d4115cc9b8506643121" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 10:53:55 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 10:53:55 2024 -0800" }, "message": "Merge tag \u0027apparmor-pr-2024-01-18\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor\n\nPull AppArmor updates from John Johansen:\n \"This adds a single feature, switch the hash used to check policy from\n sha1 to sha256\n\n There are fixes for two memory leaks, and refcount bug and a potential\n crash when a profile name is empty. Along with a couple minor code\n cleanups.\n\n Summary:\n\n Features\n - switch policy hash from sha1 to sha256\n\n Bug Fixes\n - Fix refcount leak in task_kill\n - Fix leak of pdb objects and trans_table\n - avoid crash when parse profie name is empty\n\n Cleanups\n - add static to stack_msg and nulldfa\n - more kernel-doc cleanups\"\n\n* tag \u0027apparmor-pr-2024-01-18\u0027 of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:\n apparmor: Fix memory leak in unpack_profile()\n apparmor: avoid crash when parsed profile name is empty\n apparmor: fix possible memory leak in unpack_trans_table\n apparmor: free the allocated pdb objects\n apparmor: Fix ref count leak in task_kill\n apparmor: cleanup network hook comments\n apparmor: add missing params to aa_may_ptrace kernel-doc comments\n apparmor: declare nulldfa as static\n apparmor: declare stack_msg as static\n apparmor: switch SECURITY_APPARMOR_HASH from sha1 to sha256\n" }, { "commit": "556e2d17cae620d549c5474b1ece053430cd50bc", "tree": "0716a75d50866006a4849dc8ebe2eb36311ab692", "parents": [ "ec2d264ae4bb624f1b48a6f6ee1c47d7ea385f0a", "2a965d1b15d28065b35ab4ebd1e51558fcd91aa5" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:58:55 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:58:55 2024 -0800" }, "message": "Merge tag \u0027ceph-for-6.8-rc1\u0027 of https://github.com/ceph/ceph-client\n\nPull ceph updates from Ilya Dryomov:\n \"Assorted CephFS fixes and cleanups with nothing standing out\"\n\n* tag \u0027ceph-for-6.8-rc1\u0027 of https://github.com/ceph/ceph-client:\n ceph: get rid of passing callbacks in __dentry_leases_walk()\n ceph: d_obtain_{alias,root}(ERR_PTR(...)) will do the right thing\n ceph: fix invalid pointer access if get_quota_realm return ERR_PTR\n ceph: remove duplicated code in ceph_netfs_issue_read()\n ceph: send oldest_client_tid when renewing caps\n ceph: rename create_session_open_msg() to create_session_full_msg()\n ceph: select FS_ENCRYPTION_ALGS if FS_ENCRYPTION\n ceph: fix deadlock or deadcode of misusing dget()\n ceph: try to allocate a smaller extent map for sparse read\n libceph: remove MAX_EXTENTS check for sparse reads\n ceph: reinitialize mds feature bit even when session in open\n ceph: skip reconnecting if MDS is not ready\n" }, { "commit": "ec2d264ae4bb624f1b48a6f6ee1c47d7ea385f0a", "tree": "6fc6cd0aaece1ebc202d6bc58847a3f9146f3684", "parents": [ "8cb1bb178cdbdf005b7ac07bb67a1e1f3e365e5a", "d61b40bf15ce453f3aa71f6b423938e239e7f8f8" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:57:08 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:57:08 2024 -0800" }, "message": "Merge tag \u0027xfs-6.8-merge-4\u0027 of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux\n\nPull xfs fix from Chandan Babu:\n\n - Fix per-inode space accounting bug\n\n* tag \u0027xfs-6.8-merge-4\u0027 of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:\n xfs: fix backwards logic in xfs_bmap_alloc_account\n" }, { "commit": "8cb1bb178cdbdf005b7ac07bb67a1e1f3e365e5a", "tree": "d40198c6794a35f2bef3025533b2939d5fcad54b", "parents": [ "16df6e07d6a88dc3049a5674654ed44dfbc74d81", "77bebd186442a7d703b796784db7495129cc3e70" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:31:59 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:31:59 2024 -0800" }, "message": "Merge tag \u00276.8-rc-smb-server-fixes-part2\u0027 of git://git.samba.org/ksmbd\n\nPull more smb server updates from Steve French:\n\n - Fix for incorrect oplock break on directories when leases disabled\n\n - UAF fix for race between create and destroy of tcp connection\n\n - Important session setup SPNEGO fix\n\n - Update ksmbd feature status summary\n\n* tag \u00276.8-rc-smb-server-fixes-part2\u0027 of git://git.samba.org/ksmbd:\n ksmbd: only v2 leases handle the directory\n ksmbd: fix UAF issue in ksmbd_tcp_new_connection()\n ksmbd: validate mech token in session setup\n ksmbd: update feature status in documentation\n" }, { "commit": "16df6e07d6a88dc3049a5674654ed44dfbc74d81", "tree": "a20acefcc36e8f7db865b1d5e28e92f43082fb1d", "parents": [ "9d1694dc91ce7b80bc96d6d8eaf1a1eca668d847", "1d5911d43cab5fb99229b02bce173b0c6d9da7d2" ], "author": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:10:23 2024 -0800" }, "committer": { "name": "Linus Torvalds", "email": "torvalds@linux-foundation.org", "time": "Fri Jan 19 09:10:23 2024 -0800" }, "message": "Merge tag \u0027vfs-6.8.netfs\u0027 of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs\n\nPull netfs updates from Christian Brauner:\n \"This extends the netfs helper library that network filesystems can use\n to replace their own implementations. Both afs and 9p are ported. cifs\n is ready as well but the patches are way bigger and will be routed\n separately once this is merged. That will remove lots of code as well.\n\n The overal goal is to get high-level I/O and knowledge of the page\n cache and ouf of the filesystem drivers. This includes knowledge about\n the existence of pages and folios\n\n The pull request converts afs and 9p. This removes about 800 lines of\n code from afs and 300 from 9p. For 9p it is now possible to do writes\n in larger than a page chunks. Additionally, multipage folio support\n can be turned on for 9p. Separate patches exist for cifs removing\n another 2000+ lines. I\u0027ve included detailed information in the\n individual pulls I took.\n\n Summary:\n\n - Add NFS-style (and Ceph-style) locking around DIO vs buffered I/O\n calls to prevent these from happening at the same time.\n\n - Support for direct and unbuffered I/O.\n\n - Support for write-through caching in the page cache.\n\n - O_*SYNC and RWF_*SYNC writes use write-through rather than writing\n to the page cache and then flushing afterwards.\n\n - Support for write-streaming.\n\n - Support for write grouping.\n\n - Skip reads for which the server could only return zeros or EOF.\n\n - The fscache module is now part of the netfs library and the\n corresponding maintainer entry is updated.\n\n - Some helpers from the fscache subsystem are renamed to mark them as\n belonging to the netfs library.\n\n - Follow-up fixes for the netfs library.\n\n - Follow-up fixes for the 9p conversion\"\n\n* tag \u0027vfs-6.8.netfs\u0027 of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs: (50 commits)\n netfs: Fix wrong #ifdef hiding wait\n cachefiles: Fix signed/unsigned mixup\n netfs: Fix the loop that unmarks folios after writing to the cache\n netfs: Fix interaction between write-streaming and cachefiles culling\n netfs: Count DIO writes\n netfs: Mark netfs_unbuffered_write_iter_locked() static\n netfs: Fix proc/fs/fscache symlink to point to \"netfs\" not \"../netfs\"\n netfs: Rearrange netfs_io_subrequest to put request pointer first\n 9p: Use length of data written to the server in preference to error\n 9p: Do a couple of cleanups\n 9p: Fix initialisation of netfs_inode for 9p\n cachefiles: Fix __cachefiles_prepare_write()\n 9p: Use netfslib read/write_iter\n afs: Use the netfs write helpers\n netfs: Export the netfs_sreq tracepoint\n netfs: Optimise away reads above the point at which there can be no data\n netfs: Implement a write-through caching option\n netfs: Provide a launder_folio implementation\n netfs: Provide a writepages implementation\n netfs, cachefiles: Pass upper bound length to allow expansion\n ...\n" }, { "commit": "78e727e58e54efca4c23863fbd9e16e9d2d83f81", "tree": "b59929b49ef01706700a671426a23d6044c5ff94", "parents": [ "f591062bdbf4742b7f1622173017f19e927057b0" ], "author": { "name": "Shyam Prasad N", "email": "sprasad@microsoft.com", "time": "Wed Jan 03 12:51:49 2024 +0000" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:33:21 2024 -0600" }, "message": "cifs: update iface_last_update on each query-and-update\n\niface_last_update was an unused field when it was introduced.\nLater, when we had periodic update of server interface list,\nthis field was used regularly to decide when to update next.\n\nHowever, with the new logic of updating the interfaces, it\nbecomes crucial that this field be updated whenever\nparse_server_interfaces runs successfully.\n\nThis change updates this field when either the server does\nnot support query of interfaces; so that we do not query\nthe interfaces repeatedly. It also updates the field when\nthe function reaches the end.\n\nFixes: aa45dadd34e4 (\"cifs: change iface_list from array to sorted linked list\")\nSigned-off-by: Shyam Prasad N \u003csprasad@microsoft.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "f591062bdbf4742b7f1622173017f19e927057b0", "tree": "bf9bb7475e7d761d12cc670b86f3157027e2165f", "parents": [ "ce09f8d8a7130e6edfdd6fcad8eb277824d5de95" ], "author": { "name": "Shyam Prasad N", "email": "sprasad@microsoft.com", "time": "Tue Jan 02 13:14:46 2024 +0000" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:33:17 2024 -0600" }, "message": "cifs: handle servers that still advertise multichannel after disabling\n\nSome servers like Azure SMB servers always advertise multichannel\ncapability in server capabilities list. Such servers return error\nSTATUS_NOT_IMPLEMENTED for ioctl calls to query server interfaces,\nand expect clients to consider that as a sign that they do not support\nmultichannel.\n\nWe already handled this at mount time. Soon after the tree connect,\nwe query server interfaces. And when server returned STATUS_NOT_IMPLEMENTED,\nwe kept interface list as empty. When cifs_try_adding_channels gets\ncalled, it would not find any interfaces, so will not add channels.\n\nFor the case where an active multichannel mount exists, and multichannel\nis disabled by such a server, this change will now allow the client\nto disable secondary channels on the mount. It will check the return\nstatus of query server interfaces call soon after a tree reconnect.\nIf the return status is EOPNOTSUPP, then instead of the check to add\nmore channels, we\u0027ll disable the secondary channels instead.\n\nFor better code reuse, this change also moves the common code for\ndisabling multichannel to a helper function.\n\nSigned-off-by: Shyam Prasad N \u003csprasad@microsoft.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "ce09f8d8a7130e6edfdd6fcad8eb277824d5de95", "tree": "96e9e37fc12b6bd173b8428a0acff804b08584a2", "parents": [ "49fe25ce838183afac20f40457157ec009a86930" ], "author": { "name": "Shyam Prasad N", "email": "sprasad@microsoft.com", "time": "Wed Jan 17 06:09:16 2024 +0000" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:31:57 2024 -0600" }, "message": "cifs: new mount option called retrans\n\nWe have several places in the code where we treat the\nerror -EAGAIN very differently. Some code retry for\narbitrary number of times.\n\nIntroducing this new mount option named \"retrans\", so\nthat all these handlers of -EAGAIN can retry a fixed\nnumber of times. This applies only to soft mounts.\n\nSigned-off-by: Shyam Prasad N \u003csprasad@microsoft.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "49fe25ce838183afac20f40457157ec009a86930", "tree": "d1ec370f85990d8db4b5aa18a55e11d2d3b23e18", "parents": [ "66c9314b61ed5b7bfcff0d89359aa0f975c0ab53" ], "author": { "name": "Shyam Prasad N", "email": "sprasad@microsoft.com", "time": "Wed Jan 03 08:36:22 2024 +0000" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:31:54 2024 -0600" }, "message": "cifs: reschedule periodic query for server interfaces\n\nToday, we schedule periodic query for server interfaces\nonce every 10 minutes once a tree connection has been\nestablished. Recent change to handle disabling of\nmultichannel disabled this delayed work.\n\nThis change reenables it following a reconnect, and\nthe server advertises multichannel.\n\nSigned-off-by: Shyam Prasad N \u003csprasad@microsoft.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "66c9314b61ed5b7bfcff0d89359aa0f975c0ab53", "tree": "c144f3141f957f39690e784a912abaf1635d6563", "parents": [ "f83709b9e0eb7048d74ba4515f268c6eacbce9c9" ], "author": { "name": "Paulo Alcantara", "email": "pc@manguebit.com", "time": "Fri Jan 19 01:08:29 2024 -0300" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:31:00 2024 -0600" }, "message": "smb: client: don\u0027t clobber -\u003ei_rdev from cached reparse points\n\nDon\u0027t clobber -\u003ei_rdev from valid reparse inodes over readdir(2) as it\ncan\u0027t be provided by query dir responses.\n\nSigned-off-by: Paulo Alcantara \u003cpc@manguebit.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "f83709b9e0eb7048d74ba4515f268c6eacbce9c9", "tree": "00d5448c88c7d08dff13e5fb7259ba48fd7ff52b", "parents": [ "858e74876c5cbff1dfd5bace99e32fbce2abd4b5" ], "author": { "name": "Paulo Alcantara", "email": "pc@manguebit.com", "time": "Fri Jan 19 01:08:28 2024 -0300" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:30:55 2024 -0600" }, "message": "smb: client: get rid of smb311_posix_query_path_info()\n\nMerge smb311_posix_query_path_info into -\u003equery_path_info() to get rid\nof duplicate code.\n\nSigned-off-by: Paulo Alcantara \u003cpc@manguebit.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "858e74876c5cbff1dfd5bace99e32fbce2abd4b5", "tree": "e9a11452bccb1152f486ca3ea017f4c37ae2d091", "parents": [ "76025cc2285d9ede3d717fe4305d66f8be2d9346" ], "author": { "name": "Paulo Alcantara", "email": "pc@manguebit.com", "time": "Fri Jan 19 01:08:27 2024 -0300" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:30:53 2024 -0600" }, "message": "smb: client: parse owner/group when creating reparse points\n\nParse owner/group when creating special files and symlinks under\nSMB3.1.1 POSIX mounts.\n\nMove the parsing of owner/group to smb2_compound_op() so we don\u0027t have\nto duplicate it in both smb2_get_reparse_inode() and\nsmb311_posix_query_path_info().\n\nSigned-off-by: Paulo Alcantara \u003cpc@manguebit.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "76025cc2285d9ede3d717fe4305d66f8be2d9346", "tree": "d83bc931e81b3f69e56544fc7049344d73e9b901", "parents": [ "cfb7a13399be2234052a5bc480d166cd33047b0c" ], "author": { "name": "Paulo Alcantara", "email": "pc@manguebit.com", "time": "Fri Jan 19 01:08:26 2024 -0300" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:30:51 2024 -0600" }, "message": "smb: client: fix parsing of SMB3.1.1 POSIX create context\n\nThe data offset for the SMB3.1.1 POSIX create context will always be\n8-byte aligned so having the check \u0027noff + nlen \u003e\u003d doff\u0027 in\nsmb2_parse_contexts() is wrong as it will lead to -EINVAL because noff\n+ nlen \u003d\u003d doff.\n\nFix the sanity check to correctly handle aligned create context data.\n\nFixes: af1689a9b770 (\"smb: client: fix potential OOBs in smb2_parse_contexts()\")\nSigned-off-by: Paulo Alcantara \u003cpc@manguebit.com\u003e\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "cfb7a13399be2234052a5bc480d166cd33047b0c", "tree": "ee91c65dbe8d28aec5420f2684059d1fee1b162d", "parents": [ "7f738527a7a03021c7e1b02e188f446845f05eb6" ], "author": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Thu Jan 18 22:36:13 2024 -0600" }, "committer": { "name": "Steve French", "email": "stfrench@microsoft.com", "time": "Fri Jan 19 10:30:22 2024 -0600" }, "message": "cifs: update known bugs mentioned in kernel docs for cifs\n\nRemove bugs that have been addressed and add link to xfstest results\nwiki.\n\nSigned-off-by: Steve French \u003cstfrench@microsoft.com\u003e\n" }, { "commit": "f24a70106dc1ad2a755b2d42f47cf1dcf24f0b27", "tree": "c4bf83b3bc8127dfa33ca4a9ee0946a61c76e147", "parents": [ "4525462dd0db9e86bb67c10dedbbaa4f8d62697d" ], "author": { "name": "Palmer Dabbelt", "email": "palmer@rivosinc.com", "time": "Fri Jan 19 06:56:01 2024 -0800" }, "committer": { "name": "Palmer Dabbelt", "email": "palmer@rivosinc.com", "time": "Fri Jan 19 08:12:38 2024 -0800" }, "message": "lib: checksum: Fix build with CONFIG_NET\u003dn\n\nThe generic ipv6 checksums are only defined with CONFIG_NET\u003dy, so gate\nthe test as well.\n\nFixes: 6f4c45cbcb00 (\"kunit: Add tests for csum_ipv6_magic and ip_fast_csum\")\nReported-by: kernel test robot \u003clkp@intel.com\u003e\nCloses: https://lore.kernel.org/oe-kbuild-all/202401192143.jLdjbIy3-lkp@intel.com/\nCloses: https://lore.kernel.org/oe-kbuild-all/202401192357.WU4nPRdN-lkp@intel.com/\nReviewed-By: Charlie Jenkins \u003ccharlie@rivosinc.com\u003e\nLink: https://lore.kernel.org/r/20240119145600.3093-2-palmer@rivosinc.com\nSigned-off-by: Palmer Dabbelt \u003cpalmer@rivosinc.com\u003e\n" }, { "commit": "71fee48fb772ac4f6cfa63dbebc5629de8b4cc09", "tree": "d2d46a603ffc7bd8e87a78a45559a69152f3c6c8", "parents": [ "80fe58cc176fefceb7afd6dd937f97f37313b9b3" ], "author": { "name": "Heiko Carstens", "email": "hca@linux.ibm.com", "time": "Mon Jan 15 17:35:55 2024 +0100" }, "committer": { "name": "Thomas Gleixner", "email": "tglx@linutronix.de", "time": "Fri Jan 19 16:40:38 2024 +0100" }, "message": "tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug\n\nWhen offlining and onlining CPUs the overall reported idle and iowait\ntimes as reported by /proc/stat jump backward and forward:\n\ncpu 132 0 176 225249 47 6 6 21 0 0\ncpu0 80 0 115 112575 33 3 4 18 0 0\ncpu1 52 0 60 112673 13 3 1 2 0 0\n\ncpu 133 0 177 226681 47 6 6 21 0 0\ncpu0 80 0 116 113387 33 3 4 18 0 0\n\ncpu 133 0 178 114431 33 6 6 21 0 0 \u003c---- jump backward\ncpu0 80 0 116 114247 33 3 4 18 0 0\ncpu1 52 0 61 183 0 3 1 2 0 0 \u003c---- idle + iowait start with 0\n\ncpu 133 0 178 228956 47 6 6 21 0 0 \u003c---- jump forward\ncpu0 81 0 117 114929 33 3 4 18 0 0\n\nReason for this is that get_idle_time() in fs/proc/stat.c has different\nsources for both values depending on if a CPU is online or offline:\n\n- if a CPU is online the values may be taken from its per cpu\n tick_cpu_sched structure\n\n- if a CPU is offline the values are taken from its per cpu cpustat\n structure\n\nThe problem is that the per cpu tick_cpu_sched structure is set to zero on\nCPU offline. See tick_cancel_sched_timer() in kernel/time/tick-sched.c.\n\nTherefore when a CPU is brought offline and online afterwards both its idle\nand iowait sleeptime will be zero, causing a jump backward in total system\nidle and iowait sleeptime. In a similar way if a CPU is then brought\noffline again the total idle and iowait sleeptimes will jump forward.\n\nIt looks like this behavior was introduced with commit 4b0c0f294f60\n(\"tick: Cleanup NOHZ per cpu data on cpu down\").\n\nThis was only noticed now on s390, since we switched to generic idle time\nreporting with commit be76ea614460 (\"s390/idle: remove arch_cpu_idle_time()\nand corresponding code\").\n\nFix this by preserving the values of idle_sleeptime and iowait_sleeptime\nmembers of the per-cpu tick_sched structure on CPU hotplug.\n\nFixes: 4b0c0f294f60 (\"tick: Cleanup NOHZ per cpu data on cpu down\")\nReported-by: Gerald Schaefer \u003cgerald.schaefer@linux.ibm.com\u003e\nSigned-off-by: Heiko Carstens \u003chca@linux.ibm.com\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nReviewed-by: Frederic Weisbecker \u003cfrederic@kernel.org\u003e\nLink: https://lore.kernel.org/r/20240115163555.1004144-1-hca@linux.ibm.com\n\n" }, { "commit": "ef175b29a242fea98f467f008237484b03c94834", "tree": "0b3f202a7108001d7b7457b07f7662a7eee4ccef", "parents": [ "527eb67e0cfb3f398d780cf04fde28ee55618a4a" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 15 15:24:59 2021 -0600" }, "committer": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 19 08:17:28 2024 -0600" }, "message": "of: Stop circularly including of_device.h and of_platform.h\n\nThe DT of_device.h and of_platform.h headers date back to the separate\nof_platform_bus_type before it was merged into the regular platform bus.\nAs part of that merge prepping Arm DT support 13 years ago, they\n\"temporarily\" include each other. The headers also include\nplatform_device.h and of.h. The result was lots of drivers relied on\nthese implicit includes.\n\nNow the entire tree has been fixed over the last couple of cycles to\nexplicitly include the necessary headers instead of relying on\nof_device.h and/or of_platform.h implicit includes, so the implicit and\ncircular includes can finally be removed.\n\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\n" }, { "commit": "527eb67e0cfb3f398d780cf04fde28ee55618a4a", "tree": "80b7cfcb4a90add901846133b5b4268e09d79726", "parents": [ "ed7dafcc5364d5ff1ac85d7b18bf9a00ff28b6f8" ], "author": { "name": "Stephen Rothwell", "email": "sfr@canb.auug.org.au", "time": "Mon Dec 11 16:05:10 2023 +1100" }, "committer": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 19 08:17:28 2024 -0600" }, "message": "clk: qcom: gcc-x1e80100: Replace of_device.h with explicit includes\n\nThe DT of_device.h and of_platform.h date back to the separate\nof_platform_bus_type before it as merged into the regular platform bus.\nAs part of that merge prepping Arm DT support 13 years ago, they\n\"temporarily\" include each other. They also include platform_device.h\nand of.h.\n\nof_device.h isn\u0027t needed, but mod_devicetable.h and platform_device.h\nwere implicitly included.\n\nSigned-off-by: Stephen Rothwell \u003csfr@canb.auug.org.au\u003e\nReviewed-by: Sibi Sankar \u003cquic_sibis@quicinc.com\u003e\nLink: https://lore.kernel.org/r/20231211160510.0aef871b@canb.auug.org.au\n[robh: Redo commit msg]\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\n" }, { "commit": "ed7dafcc5364d5ff1ac85d7b18bf9a00ff28b6f8", "tree": "0fead0a24603b36136699bcd7bd3c27c2e4cec35", "parents": [ "5e6c3454b40594c6f1d398254e7b4005494f9638" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Mon Oct 09 14:45:08 2023 -0500" }, "committer": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 19 08:08:53 2024 -0600" }, "message": "thermal: loongson2: Replace of_device.h with explicit includes\n\nThe DT of_device.h and of_platform.h date back to the separate\nof_platform_bus_type before it as merged into the regular platform bus.\nAs part of that merge prepping Arm DT support 13 years ago, they\n\"temporarily\" include each other. They also include platform_device.h\nand of.h.\n\nof_device.h isn\u0027t needed, but mod_devicetable.h and property.h were\nimplicitly included.\n\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\n" }, { "commit": "5e6c3454b40594c6f1d398254e7b4005494f9638", "tree": "109e2fd97bd35d171bfb98a262b1e0b645d81752", "parents": [ "61c2ef4b6cb019946479baf0aeded648081bfb5c" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Sep 01 14:36:49 2023 -0500" }, "committer": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 19 08:08:53 2024 -0600" }, "message": "net: can: Use device_get_match_data()\n\nUse preferred device_get_match_data() instead of of_match_device() to\nget the driver match data. With this, adjust the includes to explicitly\ninclude the correct headers.\n\nError checking for matching and match data was not necessary as matching\nis always successful if we\u0027re already in probe and the match tables always\nhave data pointers.\n\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\n" }, { "commit": "61c2ef4b6cb019946479baf0aeded648081bfb5c", "tree": "25ed26a8bbd1b8016987177430155ede63bcb424", "parents": [ "9d1694dc91ce7b80bc96d6d8eaf1a1eca668d847" ], "author": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Thu Aug 31 16:40:08 2023 -0500" }, "committer": { "name": "Rob Herring", "email": "robh@kernel.org", "time": "Fri Jan 19 08:08:53 2024 -0600" }, "message": "sparc: Use device_get_match_data()\n\nUse preferred device_get_match_data() instead of of_match_device() to\nget the driver match data. With this, adjust the includes to explicitly\ninclude the correct headers.\n\nSigned-off-by: Rob Herring \u003crobh@kernel.org\u003e\n" }, { "commit": "cb95a4fa50bbc1262bfb7fea482388a50b12948f", "tree": "453d414ae7712a12469f600893b1754be01f577d", "parents": [ "6386f6c995b3ab91c72cfb76e4465553c555a8da" ], "author": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:10:44 2024 +0530" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:17:34 2024 +0530" }, "message": "dmaengine: dw-edma: increase size of \u0027name\u0027 in debugfs code\n\nWe seem to have hit warnings of \u0027output may be truncated\u0027 which is fixed\nby increasing the size of \u0027name\u0027\n\ndrivers/dma/dw-edma/dw-hdma-v0-debugfs.c: In function ‘dw_hdma_v0_debugfs_on’:\ndrivers/dma/dw-edma/dw-hdma-v0-debugfs.c:125:50: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Werror\u003dformat-truncation\u003d]\n 125 | snprintf(name, sizeof(name), \"%s:%d\", CHANNEL_STR, i);\n | ^~\n\ndrivers/dma/dw-edma/dw-hdma-v0-debugfs.c: In function ‘dw_hdma_v0_debugfs_on’:\ndrivers/dma/dw-edma/dw-hdma-v0-debugfs.c:142:50: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Werror\u003dformat-truncation\u003d]\n 142 | snprintf(name, sizeof(name), \"%s:%d\", CHANNEL_STR, i);\n | ^~\ndrivers/dma/dw-edma/dw-edma-v0-debugfs.c: In function ‘dw_edma_debugfs_regs_wr’:\ndrivers/dma/dw-edma/dw-edma-v0-debugfs.c:193:50: error: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 8 [-Werror\u003dformat-truncation\u003d]\n 193 | snprintf(name, sizeof(name), \"%s:%d\", CHANNEL_STR, i);\n | ^~\n\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" }, { "commit": "6386f6c995b3ab91c72cfb76e4465553c555a8da", "tree": "e680ebd0b15cc3b87d31f0d573b978c46aa34c76", "parents": [ "404290240827c3bb5c4e195174a8854eef2f89ac" ], "author": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:10:44 2024 +0530" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:14:04 2024 +0530" }, "message": "dmaengine: fsl-qdma: increase size of \u0027irq_name\u0027\n\nWe seem to have hit warnings of \u0027output may be truncated\u0027 which is fixed\nby increasing the size of \u0027irq_name\u0027\n\ndrivers/dma/fsl-qdma.c: In function ‘fsl_qdma_irq_init’:\ndrivers/dma/fsl-qdma.c:824:46: error: ‘%d’ directive writing between 1 and 11 bytes into a region of size 10 [-Werror\u003dformat-overflow\u003d]\n 824 | sprintf(irq_name, \"qdma-queue%d\", i);\n | ^~\ndrivers/dma/fsl-qdma.c:824:35: note: directive argument in the range [-2147483641, 2147483646]\n 824 | sprintf(irq_name, \"qdma-queue%d\", i);\n | ^~~~~~~~~~~~~~\ndrivers/dma/fsl-qdma.c:824:17: note: ‘sprintf’ output between 12 and 22 bytes into a destination of size 20\n 824 | sprintf(irq_name, \"qdma-queue%d\", i);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" }, { "commit": "404290240827c3bb5c4e195174a8854eef2f89ac", "tree": "748a9e1faee8ad1968d89834b166904196442367", "parents": [ "f829bca2e294bc2953bd2dadb93d72a9987b3110" ], "author": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:10:44 2024 +0530" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 18:12:10 2024 +0530" }, "message": "dmaengine: shdma: increase size of \u0027dev_id\u0027\n\nWe seem to have hit warnings of \u0027output may be truncated\u0027 which is fixed\nby increasing the size of \u0027dev_id\u0027\n\ndrivers/dma/sh/shdmac.c: In function ‘sh_dmae_probe’:\ndrivers/dma/sh/shdmac.c:541:34: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Werror\u003dformat-truncation\u003d]\n 541 | \"sh-dmae%d.%d\", pdev-\u003eid, id);\n | ^~\nIn function ‘sh_dmae_chan_probe’,\n inlined from ‘sh_dmae_probe’ at drivers/dma/sh/shdmac.c:845:9:\ndrivers/dma/sh/shdmac.c:541:26: note: directive argument in the range [0, 2147483647]\n 541 | \"sh-dmae%d.%d\", pdev-\u003eid, id);\n | ^~~~~~~~~~~~~~\ndrivers/dma/sh/shdmac.c:541:26: note: directive argument in the range [0, 19]\ndrivers/dma/sh/shdmac.c:540:17: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 16\n 540 | snprintf(sh_chan-\u003edev_id, sizeof(sh_chan-\u003edev_id),\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n 541 | \"sh-dmae%d.%d\", pdev-\u003eid, id);\n | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" }, { "commit": "f829bca2e294bc2953bd2dadb93d72a9987b3110", "tree": "1b81993eecd423b2bae5fe485af2b667ee0a27e1", "parents": [ "62b68a88795942512936896b9fec1ee7d5fa9922" ], "author": { "name": "Jan Kuliga", "email": "jankul@alatek.krakow.pl", "time": "Sat Dec 23 00:17:28 2023 +0100" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 17:43:40 2024 +0530" }, "message": "dmaengine: xilinx: xdma: Fix kernel-doc warnings\n\nReplace hyphens with colons where necessary.\n\nReported-by: kernel test robot \u003clkp@intel.com\u003e\nCloses: https://lore.kernel.org/oe-kbuild-all/202312230634.3AIMQ3OP-lkp@intel.com/\nSigned-off-by: Jan Kuliga \u003cjankul@alatek.krakow.pl\u003e\nReviewed-by: Randy Dunlap \u003crdunlap@infradead.org\u003e\nLink: https://lore.kernel.org/r/20231222231728.7156-1-jankul@alatek.krakow.pl\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" }, { "commit": "62b68a88795942512936896b9fec1ee7d5fa9922", "tree": "f4ab828c5263465c4e7cb6726c869cc35dd85eda", "parents": [ "c4d6dcb3b6250ea546a952ad33382daf7cd32425" ], "author": { "name": "Lad Prabhakar", "email": "prabhakar.mahadev-lad.rj@bp.renesas.com", "time": "Wed Jan 10 22:22:10 2024 +0000" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 17:41:03 2024 +0530" }, "message": "dmaengine: usb-dmac: Avoid format-overflow warning\n\ngcc points out that the fix-byte buffer might be too small:\ndrivers/dma/sh/usb-dmac.c: In function \u0027usb_dmac_probe\u0027:\ndrivers/dma/sh/usb-dmac.c:720:34: warning: \u0027%u\u0027 directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow\u003d]\n 720 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~\nIn function \u0027usb_dmac_chan_probe\u0027,\n inlined from \u0027usb_dmac_probe\u0027 at drivers/dma/sh/usb-dmac.c:814:9:\ndrivers/dma/sh/usb-dmac.c:720:31: note: directive argument in the range [0, 4294967294]\n 720 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~~~~~\ndrivers/dma/sh/usb-dmac.c:720:9: note: \u0027sprintf\u0027 output between 4 and 13 bytes into a destination of size 5\n 720 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nMaximum number of channels for USB-DMAC as per the driver is 1-99 so use\nu8 instead of unsigned int/int for DMAC channel indexing and make the\npdev_irqname string long enough to avoid the warning.\n\nWhile at it use scnprintf() instead of sprintf() to make the code more\nrobust.\n\nSigned-off-by: Lad Prabhakar \u003cprabhakar.mahadev-lad.rj@bp.renesas.com\u003e\nReviewed-by: Geert Uytterhoeven \u003cgeert+renesas@glider.be\u003e\nLink: https://lore.kernel.org/r/20240110222210.193479-1-prabhakar.mahadev-lad.rj@bp.renesas.com\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" }, { "commit": "c4d6dcb3b6250ea546a952ad33382daf7cd32425", "tree": "9d94fc629ecca3b28f1959cb4b5c359de0b26ef8", "parents": [ "98373a21159379341742dadd6c038fe8ff34d9a1" ], "author": { "name": "Lad Prabhakar", "email": "prabhakar.mahadev-lad.rj@bp.renesas.com", "time": "Wed Jan 10 22:27:17 2024 +0000" }, "committer": { "name": "Vinod Koul", "email": "vkoul@kernel.org", "time": "Fri Jan 19 17:07:58 2024 +0530" }, "message": "dmaengine: sh: rz-dmac: Avoid format-overflow warning\n\nThe max channel count for RZ DMAC is 16, hence use u8 instead of unsigned\nint and make the pdev_irqname string long enough to avoid the warning.\n\nThis fixes the below issue:\ndrivers/dma/sh/rz-dmac.c: In function ‘rz_dmac_probe’:\ndrivers/dma/sh/rz-dmac.c:770:34: warning: ‘%u’ directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow\u003d]\n 770 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~\nIn function ‘rz_dmac_chan_probe’,\n inlined from ‘rz_dmac_probe’ at drivers/dma/sh/rz-dmac.c:910:9:\ndrivers/dma/sh/rz-dmac.c:770:31: note: directive argument in the range [0, 4294967294]\n 770 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~~~~~\ndrivers/dma/sh/rz-dmac.c:770:9: note: ‘sprintf’ output between 4 and 13 bytes into a destination of size 5\n 770 | sprintf(pdev_irqname, \"ch%u\", index);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nWhile at it use scnprintf() instead of sprintf() to make the code\nmore robust.\n\nSigned-off-by: Lad Prabhakar \u003cprabhakar.mahadev-lad.rj@bp.renesas.com\u003e\nReviewed-by: Geert Uytterhoeven \u003cgeert+renesas@glider.be\u003e\nLink: https://lore.kernel.org/r/20240110222717.193719-1-prabhakar.mahadev-lad.rj@bp.renesas.com\nSigned-off-by: Vinod Koul \u003cvkoul@kernel.org\u003e\n" } ], "next": "98373a21159379341742dadd6c038fe8ff34d9a1" }