Kai Mäkisara
95afb4afbb
scsi: st: Restore some drive settings after reset
...
[ Upstream commit 7081dc75df79696d8322d01821c28e53416c932c ]
Some of the allowed operations put the tape into a known position to
continue operation assuming only the tape position has changed. But reset
sets partition, density and block size to drive default values. These
should be restored to the values before reset.
Normally the current block size and density are stored by the drive. If
the settings have been changed, the changed values have to be saved by the
driver across reset.
Signed-off-by: Kai Mäkisara <Kai.Makisara@kolumbus.fi>
Link: https://lore.kernel.org/r/20250120194925.44432-2-Kai.Makisara@kolumbus.fi
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Tested-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-06-04 14:32:34 +02:00
..
accessibility
acpi
ACPI: HED: Always initialize before evged
2025-06-04 14:32:33 +02:00
amba
android
binder: fix UAF caused by offsets overwrite
2024-09-12 11:03:55 +02:00
ata
ahci: add PCI ID for Marvell 88SE9215 SATA Controller
2025-05-02 07:39:10 +02:00
atm
atm: idt77252: prevent use after free in dequeue_rx()
2024-09-04 13:14:51 +02:00
auxdisplay
base
PM: sleep: Fix handling devices with direct_complete set on errors
2025-04-10 14:29:40 +02:00
bcma
block
nbd: don't allow reconnect after disconnect
2025-03-13 12:42:52 +01:00
bluetooth
Bluetooth: btrtl: Prevent potential NULL dereference
2025-05-02 07:39:19 +02:00
bus
cdrom
char
virtio_console: fix missing byte order handling for cols and rows
2025-05-02 07:39:26 +02:00
clk
clk: check for disabled clock-provider in of_clk_get_hw_from_clkspec()
2025-05-02 07:39:28 +02:00
clocksource
clocksource/i8253: Use raw_spinlock_irqsave() in clockevent_i8253_disable()
2025-06-04 14:32:29 +02:00
connector
counter
counter: stm32-lptimer-cnt: fix error handling when enabling
2025-04-10 14:29:39 +02:00
cpufreq
cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
2025-05-02 07:39:25 +02:00
cpuidle
cpuidle: menu: Avoid discarding useful information
2025-06-04 14:32:32 +02:00
crypto
crypto: atmel-sha204a - Set hwrng quality to lowest possible
2025-05-02 07:39:30 +02:00
dax
dca
devfreq
dio
dma
dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted"
2025-06-04 14:32:29 +02:00
dma-buf
udmabuf: fix a buf size overflow issue during udmabuf creation
2025-05-02 07:39:29 +02:00
edac
EDAC/ie31200: work around false positive build warning
2025-06-04 14:32:33 +02:00
eisa
extcon
firewire
firmware
firmware: imx-scu: fix OF node leak in .probe()
2025-04-10 14:29:37 +02:00
fpga
fpga: altera-cvp: Increase credit timeout
2025-06-04 14:32:32 +02:00
fsi
gnss
gpio
gpio: zynq: Fix wakeup source leaks on device unbind
2025-05-02 07:39:17 +02:00
gpu
drm/amdkfd: KFD release_work possible circular locking
2025-06-04 14:32:32 +02:00
greybus
greybus: Fix use-after-free bug in gb_interface_release due to race condition.
2024-07-05 09:08:20 +02:00
hid
HID: pidff: Fix null pointer dereference in pidff_find_fields
2025-05-02 07:39:09 +02:00
hsi
HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
2025-05-02 07:39:18 +02:00
hv
Drivers: hv: vmbus: Don't release fb_mmio resource in vmbus_free_mmio()
2025-04-10 14:29:35 +02:00
hwmon
hwmon: (xgene-hwmon) use appropriate type for the latency value
2025-06-04 14:32:34 +02:00
hwspinlock
hwtracing
coresight: catu: Fix number of pages while using 64k pages
2025-04-10 14:29:41 +02:00
i2c
i2c: pxa: fix call balance of i2c->clk handling routines
2025-06-04 14:32:30 +02:00
i3c
i3c: Add NULL pointer check in i3c_master_queue_ibi()
2025-05-02 07:39:15 +02:00
ide
idle
iio
iio: chemical: sps30: use aligned_s64 for timestamp
2025-06-04 14:32:28 +02:00
infiniband
RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug
2025-06-04 14:32:28 +02:00
input
Input: synaptics - enable InterTouch on TUXEDO InfinityBook Pro 14 v5
2025-06-04 14:32:29 +02:00
interconnect
iommu
iommu/amd: Fix potential buffer overflow in parse_ivrs_acpihid
2025-06-04 14:32:26 +02:00
ipack
irqchip
irqchip/gic-v2m: Prevent use after free of gicv2m_get_fwnode()
2025-06-04 14:32:25 +02:00
isdn
mISDN: Fix a use after free in hfcmulti_tx()
2024-08-19 05:33:42 +02:00
leds
leds: lp8860: Write full EEPROM, not only half of it
2025-03-13 12:43:06 +01:00
lightnvm
macintosh
macintosh/therm_windtunnel: fix module unload.
2024-08-19 05:33:34 +02:00
mailbox
mailbox: use error ret code of of_parse_phandle_with_args()
2025-06-04 14:32:30 +02:00
mcb
mcb: fix a double free bug in chameleon_parse_gdd()
2025-05-02 07:39:26 +02:00
md
dm cache: prevent BUG_ON by blocking retries on failed device resumes
2025-06-04 14:32:31 +02:00
media
media: cx231xx: set device_caps for 417
2025-06-04 14:32:32 +02:00
memory
memstick
memstick: rtsx_usb_ms: Fix slab-use-after-free in rtsx_usb_ms_drv_remove
2025-04-10 14:29:39 +02:00
message
scsi: fusion: Remove unused variable 'rc'
2024-12-14 19:44:29 +01:00
mfd
mfd: sm501: Switch to BIT() to mitigate integer overflows
2025-04-10 14:29:41 +02:00
misc
misc: pci_endpoint_test: Fix displaying 'irq_type' after 'request_irq' error
2025-05-02 07:39:25 +02:00
mmc
mmc: sdhci: Disable SD card clock before changing parameters
2025-06-04 14:32:31 +02:00
mtd
mtd: rawnand: Add status chack in r852_ready()
2025-05-02 07:39:16 +02:00
mux
net
vxlan: Annotate FDB data races
2025-06-04 14:32:34 +02:00
nfc
nfc: pn533: Add poll mod list filling check
2024-09-04 13:15:04 +02:00
ntb
ntb: reduce stack usage in idt_scan_mws
2025-05-02 07:39:28 +02:00
nubus
nvdimm
libnvdimm/labels: Fix divide error in nd_label_data_init()
2025-06-04 14:32:30 +02:00
nvme
nvme: unblock ctrl state transition for firmware update
2025-06-04 14:32:28 +02:00
nvmem
nvmem: core: improve range check for nvmem_cell_write()
2025-03-13 12:43:10 +01:00
of
of: module: add buffer overflow check in of_modalias()
2025-06-04 14:32:25 +02:00
opp
oprofile
parisc
parport
parport_pc: add support for ASIX AX99100
2025-03-13 12:43:19 +01:00
pci
PCI: Fix old_size lower bound in calculate_iosize() too
2025-06-04 14:32:33 +02:00
pcmcia
pcmcia: Use resource_size function on resource object
2024-09-12 11:03:52 +02:00
perf
perf: arm_pmu: Don't disable counter in armpmu_add()
2025-05-02 07:39:09 +02:00
phy
phy: core: don't require set_mode() callback for phy_get_mode() to work
2025-06-04 14:32:33 +02:00
pinctrl
pinctrl: devicetree: do not goto err when probing hogs in pinctrl_dt_to_map
2025-06-04 14:32:33 +02:00
platform
platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection
2025-06-04 14:32:28 +02:00
pnp
power
power: supply: max77693: Fix wrong conversion of charge input threshold value
2025-04-10 14:29:41 +02:00
powercap
powercap: call put_device() on an error path in powercap_register_control_type()
2025-04-10 14:29:36 +02:00
pps
pps: Fix a use-after-free
2025-03-13 12:43:19 +01:00
ps3
ptp
ptp: Ensure info->enable callback is always set
2025-03-13 12:43:11 +01:00
pwm
pwm: mediatek: always use bus clock for PWM on MT7622
2025-05-02 07:39:18 +02:00
rapidio
rapidio: fix an API misues when rio_add_net() fails
2025-03-13 12:43:28 +01:00
ras
regulator
regulator: of: Implement the unwind path of of_regulator_match()
2025-03-13 12:42:54 +01:00
remoteproc
remoteproc: imx_rproc: Skip over memory region when node value is NULL
2024-08-19 05:33:44 +02:00
reset
reset: berlin: fix OF node leak in probe() error path
2024-11-08 16:20:28 +01:00
rpmsg
rpmsg: glink: Propagate TX failures in intentless mode as well
2024-12-14 19:44:39 +01:00
rtc
rtc: ds1307: stop disabling alarms on probe
2025-06-04 14:32:31 +02:00
s390
s390/cio: Fix CHPID "configure" attribute caching
2025-04-10 14:29:36 +02:00
sbus
scsi
scsi: st: Restore some drive settings after reset
2025-06-04 14:32:34 +02:00
sfi
sh
sh: clk: Fix clk_enable() to return 0 on NULL clk
2025-01-09 13:23:29 +01:00
siox
slimbus
slimbus: messaging: Free transaction ID in delayed interrupt scenario
2025-03-13 12:43:33 +01:00
soc
soc: qcom: smem_state: fix missing of_node_put in error path
2025-03-13 12:43:09 +01:00
soundwire
soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
2024-11-08 16:20:25 +01:00
spi
spi: loopback-test: Do not split 1024-byte hexdumps
2025-06-04 14:32:28 +02:00
spmi
ssb
ssb: Fix division by zero issue in ssb_calc_clock_rate
2024-09-04 13:14:53 +02:00
staging
staging: axis-fifo: Correct handling of tx_fifo_depth for size validation
2025-06-04 14:32:28 +02:00
target
scsi: target: iscsi: Fix timeout on deleted connection
2025-06-04 14:32:29 +02:00
tc
tee
tee: optee: Fix supplicant wait loop
2025-03-13 12:43:23 +01:00
thermal
thermal/drivers/rockchip: Add missing rk3328 mapping entry
2025-05-02 07:39:16 +02:00
thunderbolt
tty
serial: sifive: lock port in startup()/shutdown() callbacks
2025-05-02 07:39:26 +02:00
uio
Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
2024-09-12 11:03:55 +02:00
usb
usb: usbtmc: Fix erroneous generic_read ioctl return
2025-06-04 14:32:27 +02:00
vfio
vfio/pci: Enable iowrite64 and ioread64 for vfio pci
2025-03-13 12:43:13 +01:00
vhost
video
fbdev: core: tileblit: Implement missing margin clearing for tileblit
2025-06-04 14:32:30 +02:00
virt
virtio
visorbus
vlynq
vme
w1
watchdog
watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
2024-12-14 19:44:44 +01:00
xen
xen: Add support for XenServer 6.1 platform device
2025-06-04 14:32:31 +02:00
zorro
Kconfig
Makefile