Eric Biggers
5da8f890a9
ANDROID: block: backport the ability to specify max_dun_bytes
...
Backport a fix from the v7 inline crypto patchset which ensures that the
block layer knows the number of DUN bytes the inline encryption hardware
supports, so that hardware isn't used when it shouldn't be.
(This unfortunately means introducing some increasing long argument
lists; this was all already fixed up in later versions of the patchset.)
To avoid breaking the KMI for drivers, don't add a dun_bytes argument to
keyslot_manager_create() but rather allow drivers to call
keyslot_manager_set_max_dun_bytes() to override the default. Also,
don't add dun_bytes as a new field in 'struct blk_crypto_key' but rather
pack it into the existing 'hash' field which is for block layer use.
Bug: 144046242
Bug: 153512828
Change-Id: I285f36557fb3eafc5f2f64727ef1740938b59dd7
Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-05-14 15:44:27 -07:00
..
partitions
partitions/aix: append null character to print data from disk
2018-07-27 09:17:41 -06:00
badblocks.c
badblocks: fix wrong return value in badblocks_set if badblocks are disabled
2017-11-03 11:29:50 -07:00
bfq-cgroup.c
block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group()
2020-03-25 08:06:08 +01:00
bfq-iosched.c
block, bfq: fix use-after-free in bfq_idle_slice_timer_body
2020-04-17 10:48:42 +02:00
bfq-iosched.h
block, bfq: inject other-queue I/O into seeky idle queues on NCQ flash
2019-11-20 18:46:44 +01:00
bfq-wf2q.c
block, bfq: correctly charge and reset entity service in all cases
2018-11-13 11:08:28 -08:00
bio-crypt-ctx.c
ANDROID: dm: add dm-default-key target for metadata encryption
2020-01-24 10:49:09 -08:00
bio-integrity.c
block/bio-integrity: fix a memory leak bug
2019-07-31 07:27:08 +02:00
bio.c
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
2020-01-13 07:11:38 -08:00
blk-cgroup.c
blkcg: make blkcg_print_stat() print stats only for online blkgs
2019-11-12 19:21:19 +01:00
blk-core.c
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
2020-01-13 07:11:38 -08:00
blk-crypto-fallback.c
ANDROID: block: require drivers to declare supported crypto key type(s)
2020-04-07 17:57:33 +00:00
blk-crypto-internal.h
ANDROID: block: make blk_crypto_start_using_mode() properly check for support
2020-04-07 17:57:24 +00:00
blk-crypto.c
ANDROID: block: backport the ability to specify max_dun_bytes
2020-05-14 15:44:27 -07:00
blk-exec.c
blk-mq-sched: remove unused 'can_block' arg from blk_mq_sched_insert_request
2018-01-17 09:49:21 -07:00
blk-flush.c
block: fix null pointer dereference in blk_mq_rq_timed_out()
2019-10-05 13:10:08 +02:00
blk-integrity.c
block drivers/block: Use octal not symbolic permissions
2018-05-24 13:38:59 -06:00
blk-ioc.c
block: Fix use-after-free issue accessing struct io_cq
2020-04-17 10:48:41 +02:00
blk-iolatency.c
This is the 4.19.73 stable release
2019-09-16 09:35:02 +02:00
blk-lib.c
block: fix 32 bit overflow in __blkdev_issue_discard()
2020-02-01 09:37:12 +00:00
blk-map.c
block: fix memleak when __blk_rq_map_user_iov() is failed
2020-01-12 12:17:22 +01:00
blk-merge.c
This is the 4.19.99 stable release
2020-01-27 15:55:44 +01:00
blk-mq-cpumap.c
blk-mq: don't keep offline CPUs mapped to hctx 0
2018-04-10 08:38:46 -06:00
blk-mq-debugfs-zoned.c
block: Make struct request_queue smaller for CONFIG_BLK_DEV_ZONED=n
2018-07-09 09:07:52 -06:00
blk-mq-debugfs.c
block, scsi: Change the preempt-only flag into a counter
2019-08-04 09:30:57 +02:00
blk-mq-debugfs.h
block: Make struct request_queue smaller for CONFIG_BLK_DEV_ZONED=n
2018-07-09 09:07:52 -06:00
blk-mq-pci.c
blk-mq: code clean-up by adding an API to clear set->mq_map
2018-07-09 09:07:53 -06:00
blk-mq-rdma.c
block: Add rdma affinity based queue mapping helper
2017-08-08 14:58:03 -04:00
blk-mq-sched.c
block: mq-deadline: Fix write completion handling
2019-01-13 09:51:07 +01:00
blk-mq-sched.h
block: mq-deadline: Fix write completion handling
2019-01-13 09:51:07 +01:00
blk-mq-sysfs.c
blk-mq: make sure that line break can be printed
2019-12-17 20:35:48 +01:00
blk-mq-tag.c
blk-mq: Allow blocking queue tag iter callbacks
2018-09-25 20:17:59 -06:00
blk-mq-tag.h
Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-block
2017-11-14 15:32:19 -08:00
blk-mq-virtio.c
ANDROID: modularize BLK_MQ_VIRTIO
2020-01-31 16:11:59 -08:00
blk-mq.c
block: fix null pointer dereference in blk_mq_rq_timed_out()
2019-10-05 13:10:08 +02:00
blk-mq.h
blk-mq: free hw queue's resource in hctx's release handler
2019-09-16 08:22:13 +02:00
blk-rq-qos.c
blk-wbt: fix performance regression in wbt scale_up/scale_down
2019-10-17 13:45:16 -07:00
blk-rq-qos.h
blk-rq-qos: fix first node deletion of rq_qos_del()
2019-10-29 09:20:09 +01:00
blk-settings.c
block: keep bdi->io_pages in sync with max_sectors_kb for stacked devices
2020-04-17 10:48:39 +02:00
blk-softirq.c
block: fix timeout changes for legacy request drivers
2018-06-19 11:27:18 -06:00
blk-stat.c
blk-stat: export helpers for modifying blk_rq_stat
2018-07-09 09:07:54 -06:00
blk-stat.h
block: deactivate blk_stat timer in wbt_disable_default()
2019-01-13 09:51:06 +01:00
blk-sysfs.c
block: call rq_qos_exit() after queue is frozen
2019-12-01 09:17:06 +01:00
blk-tag.c
for-linus-20180616
2018-06-17 05:37:55 +09:00
blk-throttle.c
blk-throttle: fix zero wait time for iops throttled group
2019-07-26 09:14:30 +02:00
blk-timeout.c
blk-mq: Fix timeout handling in case the timeout handler returns BLK_EH_DONE
2018-06-23 10:25:45 -06:00
blk-wbt.c
blk-wbt: fix performance regression in wbt scale_up/scale_down
2019-10-17 13:45:16 -07:00
blk-wbt.h
block: remove external dependency on wbt_flags
2018-07-09 09:07:54 -06:00
blk-zoned.c
block: Remove a superfluous cast from blkdev_report_zones()
2018-07-09 09:07:52 -06:00
blk.h
block: fix null pointer dereference in blk_mq_rq_timed_out()
2019-10-05 13:10:08 +02:00
bounce.c
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
2020-01-13 07:11:38 -08:00
bsg-lib.c
block/bsg-lib: use PTR_ERR_OR_ZERO to simplify the flow path
2018-08-01 09:13:03 -06:00
bsg.c
block: bsg: move atomic_t ref_count variable to refcount API
2018-08-27 19:17:02 -06:00
cfq-iosched.c
ANDROID: block/cfq-iosched: make group_idle per io cgroup tunable
2019-05-08 21:48:28 +00:00
cmdline-parser.c
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
compat_ioctl.c
compat_ioctl: block: handle BLKREPORTZONE/BLKRESETZONE
2020-01-09 10:19:01 +01:00
deadline-iosched.c
block drivers/block: Use octal not symbolic permissions
2018-05-24 13:38:59 -06:00
elevator.c
block: fix deadline elevator drain for zoned block devices
2018-09-26 19:57:24 -06:00
genhd.c
block: fix use-after-free on gendisk
2019-05-31 06:46:18 -07:00
ioctl.c
block: pass inclusive 'lend' parameter to truncate_inode_pages_range
2018-02-23 15:20:19 -07:00
ioprio.c
block: add ioprio_check_cap function
2018-05-31 10:50:54 -04:00
Kconfig
ANDROID: modularize BLK_MQ_VIRTIO
2020-01-31 16:11:59 -08:00
Kconfig.iosched
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
2017-11-02 11:10:55 +01:00
keyslot-manager.c
ANDROID: block: backport the ability to specify max_dun_bytes
2020-05-14 15:44:27 -07:00
kyber-iosched.c
block: kyber: make kyber more friendly with merging
2018-05-30 10:47:40 -06:00
Makefile
BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series
2020-01-13 07:11:38 -08:00
mq-deadline.c
block: mq-deadline: Fix queue restart handling
2019-10-07 18:57:19 +02:00
noop-iosched.c
block: move existing elevator ops to union
2017-01-17 10:03:33 -07:00
opal_proto.h
block: sed-opal: Set MBRDone on S3 resume path if TPER is MBREnabled
2017-09-11 09:45:52 -06:00
partition-generic.c
block: fix use-after-free on gendisk
2019-05-31 06:46:18 -07:00
scsi_ioctl.c
block: consistently use GFP_NOIO instead of __GFP_NORECLAIM
2018-05-14 08:55:18 -06:00
sed-opal.c
block: sed-opal: fix IOC_OPAL_ENABLE_DISABLE_MBR
2019-05-31 06:46:24 -07:00
t10-pi.c
block: move dif_prepare/dif_complete functions to block layer
2018-07-30 08:27:02 -06:00