Eric Biggers
0367acdde3
ANDROID: block: require drivers to declare supported crypto key type(s)
...
We need a way to tell which type of keys the inline crypto hardware
supports (standard, wrapped, or both), so that fallbacks can be used
when needed (either blk-crypto-fallback, or fscrypt fs-layer crypto).
We can't simply assume that
keyslot_mgmt_ll_ops::derive_raw_secret == NULL
means only standard keys are supported and that
keyslot_mgmt_ll_ops::derive_raw_secret != NULL
means that only wrapped keys are supported, because device-mapper
devices always implement this method. Also, hardware might support both
types of keys.
Therefore, add a field keyslot_manager::features which contains a
bitmask of flags which indicate the supported types of keys. Drivers
will need to fill this in. This patch makes the UFS standard crypto
code set BLK_CRYPTO_FEATURE_STANDARD_KEYS, but UFS variant drivers may
need to set BLK_CRYPTO_FEATURE_WRAPPED_KEYS instead.
Then, make keyslot_manager_crypto_mode_supported() take the key type
into account.
Bug: 137270441
Bug: 151100202
Test: 'atest vts_kernel_encryption_test' on Pixel 4 with the
inline crypto patches backported, and also on Cuttlefish.
Change-Id: Ied846c2767c1fd2f438792dcfd3649157e68b005
Signed-off-by: Eric Biggers <ebiggers@google.com>
2020-04-07 17:58:49 +00:00
..
accessibility
acpi
ACPI: PM: s2idle: Rework ACPI events synchronization
2020-04-01 11:01:29 +02:00
amba
android
Revert "ANDROID: binder: fix sleeping from invalid function caused by RT inheritance"
2020-03-30 04:48:56 +00:00
ata
ahci: Add Intel Comet Lake H RAID PCI ID
2020-04-01 11:02:17 +02:00
atm
fore200e: Fix incorrect checks of NULL pointer dereference
2020-02-24 08:36:36 +01:00
auxdisplay
base
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
bcma
block
UPSTREAM: loop: Only freeze block queue when needed.
2020-04-04 14:09:14 +02:00
bluetooth
UPSTREAM: Bluetooth: hci_qca: Add support for Qualcomm Bluetooth SoC WCN3991
2020-03-20 16:08:04 +00:00
bus
bus: ti-sysc: Fix 1-wire reset quirk
2020-03-12 13:00:31 +01:00
cdrom
cdrom: respect device capabilities during opening action
2020-01-04 19:18:25 +01:00
char
This is the 5.4.26 stable release
2020-03-18 08:19:15 +01:00
clk
This is the 5.4.30 stable release
2020-04-02 16:38:08 +02:00
clocksource
clocksource/drivers/hyper-v: Untangle stimers and timesync from clocksources
2020-04-01 11:02:12 +02:00
connector
counter
cpufreq
ANDROID: cpufreq: times: Remove per-UID time in state tracking
2020-03-06 20:23:16 +00:00
cpuidle
cpuidle: teo: Avoid using "early hits" incorrectly
2020-02-05 21:22:52 +00:00
crypto
ANDROID: Removed default m for virtual sw crypto device
2020-03-03 14:23:34 -08:00
dax
dca
devfreq
Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"
2020-03-05 16:43:43 +01:00
dio
dma
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
dma-buf
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
edac
EDAC/synopsys: Do not print an error with back-to-back snprintf() calls
2020-03-12 13:00:31 +01:00
eisa
extcon
BACKPORT: extcon: Mark extcon_get_edev_name() function as exported symbol
2020-03-30 06:21:26 +00:00
firewire
net: add annotations on hh->hh_len lockless accesses
2020-01-09 10:20:06 +01:00
firmware
This is the 5.4.26 stable release
2020-03-18 08:19:15 +01:00
fpga
fsi
gnss
gpio
gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 CHT + AXP288 model
2020-04-02 15:11:01 +02:00
gpu
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
greybus
hid
This is the 5.4.27 stable release
2020-03-21 10:07:42 +01:00
hsi
hv
hv_balloon: Balloon up according to request page number
2020-02-11 04:35:21 -08:00
hwmon
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
hwspinlock
hwtracing
stm class: sys-t: Fix the use of time_after()
2020-03-25 08:25:56 +01:00
i2c
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
i3c
ide
ide: serverworks: potential overflow in svwks_set_pio_mode()
2020-02-24 08:36:53 +01:00
idle
iio
iio: light: vcnl4000: update sampling periods for vcnl4040
2020-03-25 08:25:54 +01:00
infiniband
RDMA/mlx5: Block delay drop to unprivileged users
2020-04-01 11:02:06 +02:00
input
Input: synaptics - enable RMI on HP Envy 13-ad105ng
2020-04-01 11:01:57 +02:00
interconnect
UPSTREAM: interconnect: Handle memory allocation errors
2020-03-12 14:52:54 +01:00
iommu
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
ipack
irqchip
This is the 5.4.22 stable release
2020-02-24 09:16:10 +01:00
isdn
leds
leds: pca963x: Fix open-drain initialization
2020-02-24 08:36:24 +01:00
lightnvm
macintosh
macintosh: windfarm: fix MODINFO regression
2020-03-18 07:17:53 +01:00
mailbox
mailbox: imx: Fix Tx doorbell shutdown path
2020-01-04 19:18:30 +01:00
mcb
md
ANDROID: block: require drivers to declare supported crypto key type(s)
2020-04-07 17:58:49 +00:00
media
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
memory
memory: mtk-smi: Add PM suspend and resume ops
2020-01-17 19:48:59 +01:00
memstick
message
scsi: mptfusion: Fix double fetch bug in ioctl
2020-01-23 08:22:35 +01:00
mfd
This is the 5.4.20 stable release
2020-02-19 08:28:27 +01:00
misc
This is the 5.4.28 stable release
2020-03-25 16:12:11 +01:00
mmc
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
mtd
UPSTREAM: {tty: serial, nand: onenand}: samsung: rename to fix build warning
2020-02-20 20:11:28 +01:00
mux
net
This is the 5.4.30 stable release
2020-04-02 16:38:08 +02:00
nfc
NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
2020-04-01 11:01:38 +02:00
ntb
nubus
nvdimm
libnvdimm/btt: fix variable 'rc' set but not used
2020-01-04 19:18:12 +01:00
nvme
nvmet-tcp: set MSG_MORE only if we actually have more to send
2020-03-25 08:25:59 +01:00
nvmem
UPSTREAM: nvmem: sprd: Add Spreadtrum SoCs eFuse support
2020-02-12 17:10:44 +00:00
of
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
opp
opp: Free static OPPs on errors while adding them
2020-02-24 08:36:34 +01:00
oprofile
parisc
parport
pci
This is the 5.4.22 stable release
2020-02-24 09:16:10 +01:00
pcmcia
perf
drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer
2020-03-25 08:25:47 +01:00
phy
This is the 5.4.28 stable release
2020-03-25 16:12:11 +01:00
pinctrl
This is the 5.4.26 stable release
2020-03-18 08:19:15 +01:00
platform
platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table
2020-04-02 15:11:01 +02:00
pnp
power
FROMGIT: power: reset: sc27xx: Allow the SC27XX poweroff driver building into a module
2020-03-12 15:21:54 +00:00
powercap
powercap: intel_rapl: add NULL pointer check to rapl_mmio_cpu_online()
2020-01-14 20:08:18 +01:00
pps
ps3
ptp
ptp: free ptp device pin descriptors properly
2020-01-23 08:22:51 +01:00
pwm
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
rapidio
ras
regulator
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
remoteproc
remoteproc: Initialize rproc_class before use
2020-02-24 08:36:54 +01:00
reset
This is the 5.4.22 stable release
2020-02-24 09:16:10 +01:00
rpmsg
rpmsg: char: release allocated memory
2020-01-14 20:08:37 +01:00
rtc
This is the 5.4.28 stable release
2020-03-25 16:12:11 +01:00
s390
s390/qeth: handle error when backing RX buffer
2020-04-01 11:01:54 +02:00
sbus
scsi
ANDROID: block: require drivers to declare supported crypto key type(s)
2020-04-07 17:58:49 +00:00
sfi
sh
siox
slimbus
soc
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
soundwire
spi
This is the 5.4.28 stable release
2020-03-25 16:12:11 +01:00
spmi
spmi: pmic-arb: Set lockdep class for hierarchical irq domains
2020-02-19 19:53:07 +01:00
ssb
staging
ANDROID: staging: ion: move definition of attachment
2020-04-03 00:57:14 +00:00
target
scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
2020-02-28 17:22:25 +01:00
tc
tee
tee: optee: Fix compilation issue with nommu
2020-02-05 21:22:49 +00:00
thermal
FROMGIT: thermal: sprd: Add Spreadtrum thermal driver support
2020-03-13 11:04:30 +00:00
thunderbolt
thunderbolt: Prevent crash if non-active NVMem file is read
2020-02-28 17:22:13 +01:00
tty
This is the 5.4.30 stable release
2020-04-02 16:38:08 +02:00
uio
uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
2020-02-24 08:36:27 +01:00
usb
This is the 5.4.29 stable release
2020-04-02 14:26:14 +02:00
vfio
vfio/spapr/nvlink2: Skip unpinning pages on error exit
2020-02-24 08:36:43 +01:00
vhost
This is the 5.4.24 stable release
2020-03-05 17:42:40 +01:00
video
This is the 5.4.25 stable release
2020-03-12 17:09:04 +01:00
virt
virtio
This is the 5.4.26 stable release
2020-03-18 08:19:15 +01:00
visorbus
visorbus: fix uninitialized variable access
2020-02-24 08:36:47 +01:00
vlynq
vme
vme: bridges: reduce stack usage
2020-02-24 08:36:48 +01:00
w1
watchdog
ACPI: watchdog: Set default timeout in probe
2020-03-21 08:11:48 +01:00
xen
xenbus: req->err should be updated before req->state
2020-03-25 08:25:49 +01:00
zorro
Kconfig
Makefile