freebsd-dev/sys
Warner Losh 4668666fe4 Implement ability to turn on/off PHYs for AHCI devices.
As part of Chuck's work on fixing kernel crashes caused by disk I/O
errors, it is useful to be able to trigger various kinds of
errors. This patch allows causing an AHCI-attached disk to disappear,
by having the driver keep the PHY disabled when the driver would
otherwise enable the PHY. It also allows making the disk reappear by
having the driver go back to setting the PHY enable/disable state as
it normal would and simulating the hardware event that causes a bus
rescan.

Submitted by: Chuck Silvers
Sponsored by: Netflix, Inc
Differential Revision: https://reviews.freebsd.org/D16043
2018-11-03 00:37:51 +00:00
..
amd64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
bsm
cam Add comments explaining what hold/unhold do 2018-11-01 21:51:41 +00:00
cddl Make vop_symlink take a const target path. 2018-11-02 14:42:36 +00:00
compat Regen after r340080: Add const to input-only char * arguments. 2018-11-02 20:56:19 +00:00
conf newvers.sh: fix git false positive -dirty tag 2018-11-02 21:20:46 +00:00
contrib MFV: r339981 2018-11-02 22:50:13 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Implement ability to turn on/off PHYs for AHCI devices. 2018-11-03 00:37:51 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs Make vop_symlink take a const target path. 2018-11-02 14:42:36 +00:00
gdb
geom Have gconcat advertise delete support if one of its disks does. 2018-10-30 00:22:14 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Regen after r340080: Add const to input-only char * arguments. 2018-11-02 20:56:19 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
modules Retire CLANG_NO_IAS34 2018-11-01 23:11:47 +00:00
net pfsync: Handle syncdev going away 2018-11-02 16:57:23 +00:00
net80211
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet m_pulldown() may reallocate n. Update the oip pointer after the 2018-11-02 19:14:15 +00:00
netinet6 Remove redundant checks for a NULL lbgroup table. 2018-11-01 15:52:49 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Fix build if INVARIANTS is not set 2018-11-02 19:23:50 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
riscv Restrict setting PTE execute permissions on RISC-V. 2018-11-01 22:23:15 +00:00
rpc
security Add const to input-only char * arguments. 2018-11-02 20:50:22 +00:00
sparc64 Compile in VERBOSE_SYSINIT support by default, remain silent by default 2018-10-31 22:38:19 +00:00
sys Regen after r340080: Add const to input-only char * arguments. 2018-11-02 20:56:19 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests
tools embed_mfs.sh: replace some compound statements with conventional ifs 2018-11-02 21:07:06 +00:00
ufs Make vop_symlink take a const target path. 2018-11-02 14:42:36 +00:00
vm Initialize the eflags field of vm_map headers. 2018-11-02 16:26:44 +00:00
x86 Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile