bianbu-linux-6.6-fh/block
lijuan e4940a091b nvme: fix nvme dev init warning
err log:
[    3.265405] ------------[ cut here ]------------
[    3.265412] WARNING: CPU: 2 PID: 56 at block/blk-settings.c:293 blk_queue_max_segment_size+0x26/0x54
[    3.265436] Modules linked in:
[    3.265445] CPU: 2 PID: 56 Comm: kworker/u16:1 Not tainted 6.6.36+ #36
[    3.265452] Hardware name: spacemit k1-x deb1 board (DT)
[    3.265455] Workqueue: nvme-wq nvme_scan_work
[    3.265466] epc : blk_queue_max_segment_size+0x26/0x54
[    3.265473]  ra : nvme_update_ns_info+0x24e/0x72a
[    3.265481] epc : ffffffff806d1068 ra : ffffffff809d4490 sp : ffffffc800263b50
[    3.265486]  gp : ffffffff84cf3380 tp : ffffffd901808000 t0 : 0000000000000000
[    3.265490]  t1 : 0000000000001000 t2 : 0000000000000000 s0 : ffffffc800263b70
[    3.265494]  s1 : ffffffd90bea0000 a0 : ffffffd90bea0000 a1 : 0000000000080000
[    3.265499]  a2 : 0012000000000000 a3 : 0000000000000200 a4 : 0000000000000200
[    3.265503]  a5 : 0000000000000fff a6 : 0000000000000002 a7 : ffffffffffffffc0
[    3.265507]  s2 : ffffffc800263c60 s3 : 0000000000000000 s4 : ffffffd90be91400
[    3.265510]  s5 : 0000000000000200 s6 : 0000000000000200 s7 : 0000000000000200
[    3.265515]  s8 : 000000003a386030 s9 : 0000000000000000 s10: fffffffffffff6f8
[    3.265519]  s11: ffffffd900210000 t3 : 00000000000000fd t4 : 00000000000003ff
[    3.265523]  t5 : 0000000000000000 t6 : ffffffc80016d740
[    3.265525] status: 0000000200000120 badaddr: 0000000000000000 cause: 0000000000000003
[    3.265531] [<ffffffff806d1068>] blk_queue_max_segment_size+0x26/0x54
[    3.265540] [<ffffffff809d4490>] nvme_update_ns_info+0x24e/0x72a
[    3.265546] [<ffffffff809d7960>] nvme_scan_ns+0x50e/0xae6
[    3.265553] [<ffffffff809d8240>] nvme_scan_work+0x28e/0x534
[    3.265560] [<ffffffff8002f7b8>] process_one_work+0x128/0x304
[    3.265570] [<ffffffff8002fc4c>] worker_thread+0x2b8/0x394
[    3.265577] [<ffffffff8003646a>] kthread+0xda/0xf6
[    3.265586] [<ffffffff810b1532>] ret_from_fork+0xe/0x1c
[    3.265596] ---[ end trace 0000000000000000 ]---
[    3.447157]  nvme0n1:

Change-Id: I8816206eb3a1010821b7022b521ef54a56740ff1
2024-11-28 18:28:07 +08:00
..
partitions block: fix potential invalid pointer dereference in blk_add_partition 2024-10-04 16:29:01 +02:00
badblocks.c block/badblocks: Remove redundant assignments 2022-04-23 07:15:26 -06:00
bdev.c block: Provide bdev_open_* functions 2024-03-26 18:19:40 -04:00
bfq-cgroup.c blkcg: Restructure blkg_conf_prep() and friends 2023-04-13 06:46:49 -06:00
bfq-iosched.c block, bfq: fix procress reference leakage for bfqq in merge chain 2024-10-04 16:29:00 +02:00
bfq-iosched.h block, bfq: remove BFQ_WEIGHT_LEGACY_DFL 2023-04-06 16:17:32 -06:00
bfq-wf2q.c block, bfq: inject I/O to underutilized actuators 2023-01-29 15:18:33 -07:00
bio-integrity.c block: initialize integrity buffer to zero before writing it to media 2024-08-03 08:53:20 +02:00
bio.c block: Fix page refcounts for unaligned buffers in __bio_release_pages() 2024-04-03 15:28:27 +02:00
blk-cgroup-fc-appid.c block: Replace all non-returning strlcpy with strscpy 2023-06-01 09:13:31 -06:00
blk-cgroup-rwstat.c Revert "blk-cgroup: pin the gendisk in struct blkcg_gq" 2023-02-14 14:24:09 -07:00
blk-cgroup-rwstat.h block: Use the new blk_opf_t type 2022-07-14 12:14:30 -06:00
blk-cgroup.c blk-cgroup: Properly propagate the iostat update up the hierarchy 2024-06-12 11:12:46 +02:00
blk-cgroup.h block: fix q->blkg_list corruption during disk rebind 2024-04-17 11:19:28 +02:00
blk-core.c block: Fix where bio IO priority gets set 2024-09-30 16:25:12 +02:00
blk-crypto-fallback.c blk-crypto: dynamically allocate fallback profile 2023-08-18 15:00:39 -06:00
blk-crypto-internal.h blk-crypto: remove blk_crypto_insert_cloned_request() 2023-03-16 09:35:09 -06:00
blk-crypto-profile.c blk-crypto: use dynamic lock class for blk_crypto_profile::lock 2023-07-05 16:36:12 -06:00
blk-crypto-sysfs.c block: make kobj_type structures constant 2023-02-09 09:38:16 -07:00
blk-crypto.c blk-crypto: make blk_crypto_evict_key() more robust 2023-03-16 09:35:09 -06:00
blk-flush.c block: fix request.queuelist usage in flush 2024-06-21 14:38:35 +02:00
blk-ia-ranges.c block: make kobj_type structures constant 2023-02-09 09:38:16 -07:00
blk-integrity.c block: remove the blk_flush_integrity call in blk_integrity_unregister 2024-09-08 07:54:47 +02:00
blk-ioc.c blk-ioc: fix recursive spin_lock/unlock_irq() in ioc_clear_queue() 2023-06-07 07:51:00 -06:00
blk-iocost.c blk_iocost: fix more out of bound shifts 2024-10-10 11:57:24 +02:00
blk-iolatency.c block: fix bad lockdep annotation in blk-iolatency 2023-08-10 17:24:53 -06:00
blk-ioprio.c blk-ioprio: Introduce promote-to-rt policy 2023-06-06 22:26:26 -06:00
blk-ioprio.h blk-ioprio: pass a gendisk to blk_ioprio_init and blk_ioprio_exit 2022-09-26 19:09:31 -06:00
blk-lib.c blk-lib: fix blkdev_issue_secure_erase 2022-09-15 00:25:17 -06:00
blk-map.c block: fix sanity checks in blk_rq_map_user_bvec 2024-11-08 16:28:24 +01:00
blk-merge.c block: support to account io_ticks precisely 2024-06-12 11:11:35 +02:00
blk-mq-cpumap.c blk-mq: include <linux/blk-mq.h> in block/blk-mq.h 2023-04-13 06:52:29 -06:00
blk-mq-debugfs-zoned.c block: move zone related fields to struct gendisk 2022-07-06 06:46:26 -06:00
blk-mq-debugfs.c blk-mq: fix potential io hang by wrong 'wake_batch' 2023-06-12 09:55:53 -06:00
blk-mq-debugfs.h block: remove per-disk debugfs files in blk_unregister_queue 2022-06-17 07:31:05 -06:00
blk-mq-pci.c blk-mq: include <linux/blk-mq.h> in block/blk-mq.h 2023-04-13 06:52:29 -06:00
blk-mq-sched.c blk-mq: cleanup __blk_mq_sched_dispatch_requests 2023-04-13 06:57:18 -06:00
blk-mq-sched.h blk-mq: make sure elevator callbacks aren't called for passthrough request 2023-05-18 19:42:54 -06:00
blk-mq-sysfs.c blk-mq: include <linux/blk-mq.h> in block/blk-mq.h 2023-04-13 06:52:29 -06:00
blk-mq-tag.c block: Fix lockdep warning in blk_mq_mark_tag_wait 2024-08-29 17:33:30 +02:00
blk-mq-virtio.c blk-mq: include <linux/blk-mq.h> in block/blk-mq.h 2023-04-13 06:52:29 -06:00
blk-mq.c block: Fix where bio IO priority gets set 2024-09-30 16:25:12 +02:00
blk-mq.h blk-mq: fix potential io hang by wrong 'wake_batch' 2023-06-12 09:55:53 -06:00
blk-pm.c blk-mq: include <linux/blk-mq.h> in block/blk-mq.h 2023-04-13 06:52:29 -06:00
blk-pm.h
blk-rq-qos.c blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race 2024-10-22 15:46:27 +02:00
blk-rq-qos.h blk-iolatency: s/blkcg_rq_qos/iolat_rq_qos/ 2023-04-13 06:46:49 -06:00
blk-settings.c nvme: fix nvme dev init warning 2024-11-28 18:28:07 +08:00
blk-stat.c block: prevent division by zero in blk_rq_stat_sum() 2024-04-13 13:07:37 +02:00
blk-stat.h
blk-sysfs.c block: don't allow enabling a cache on devices that don't support it 2023-07-17 08:18:18 -06:00
blk-throttle.c blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!" 2023-12-20 17:01:55 +01:00
blk-throttle.h blk-throttle: print signed value 'carryover_bytes/ios' for user 2023-08-30 10:15:01 -06:00
blk-timeout.c
blk-wbt.c blk-wbt: Fix detection of dirty-throttled tasks 2024-02-23 09:25:16 +01:00
blk-wbt.h blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled 2023-06-26 09:53:36 -06:00
blk-zoned.c Merge branch '6.5/scsi-staging' into 6.5/scsi-fixes 2023-07-11 12:15:15 -04:00
blk.h block: support to account io_ticks precisely 2024-06-12 11:11:35 +02:00
bounce.c block: change the blk_queue_bounce calling convention 2022-08-02 17:22:54 -06:00
bsg-lib.c scsi: replace the fmode_t argument to ->sg_io_fn with a simple bool 2023-06-12 08:04:04 -06:00
bsg.c SCSI misc on 20230629 2023-06-30 11:57:07 -07:00
disk-events.c block: fix kernel-doc for disk_force_media_change() 2023-09-26 00:43:34 -06:00
early-lookup.c block: don't return -EINVAL for not found names in devt_from_devname 2023-06-22 09:09:33 -06:00
elevator.c block: Fix elevator_get_default() checking for NULL q->tag_set 2024-11-17 15:08:56 +01:00
elevator.h blk-mq: pass a flags argument to elevator_type->insert_requests 2023-04-13 06:52:30 -06:00
fops.c block: refine the EOF check in blkdev_iomap_begin 2024-06-12 11:11:35 +02:00
genhd.c block: fix deadlock between sd_remove & sd_release 2024-08-03 08:54:24 +02:00
holder.c block: don't allow a disk link holder to itself 2022-11-16 15:19:56 -07:00
ioctl.c block/ioctl: prefer different overflow check 2024-06-27 13:49:01 +02:00
ioprio.c scsi: block: Improve ioprio value validity checks 2023-06-16 12:04:30 -04:00
Kconfig block: sed-opal: keyring support for SED keys 2023-08-22 11:10:26 -06:00
Kconfig.iosched block: Default to use cgroup support for BFQ 2023-01-30 09:42:42 -07:00
kyber-iosched.c blk-mq: pass a flags argument to elevator_type->insert_requests 2023-04-13 06:52:30 -06:00
Makefile block: move the code to do early boot lookup of block devices to block/ 2023-06-05 10:57:40 -06:00
mq-deadline.c block/mq-deadline: Fix the tag reservation code 2024-08-03 08:53:22 +02:00
opal_proto.h block: sed-opal: handle empty atoms when parsing response 2024-03-26 18:19:12 -04:00
sed-opal.c block: sed-opal: avoid possible wrong address reference in read_sed_opal_key() 2024-06-21 14:38:35 +02:00
t10-pi.c block: add pi for extended integrity 2022-03-07 12:48:35 -07:00