summaryrefslogtreecommitdiffstats
path: root/mm/page_isolation.c
diff options
context:
space:
mode:
authorBen Widawsky <ben.widawsky@intel.com>2022-01-31 15:51:45 -0800
committerDan Williams <dan.j.williams@intel.com>2022-02-08 22:57:27 -0800
commit229e8828c206be8fa0a159f6ff71e3b1a0484233 (patch)
treed9c46695bad9d68bc0cb19045ecbbe91dc147de9 /mm/page_isolation.c
parent68cdd3d2af6964dae2f8d9b53ee94f740dcbda35 (diff)
downloadlinux-229e8828c206be8fa0a159f6ff71e3b1a0484233.tar.bz2
cxl/pci: Implement Interface Ready Timeout
The original driver implementation used the doorbell timeout for the Mailbox Interface Ready bit to piggy back off of, since the latter does not have a defined timeout. This functionality, introduced in commit 8adaf747c9f0 ("cxl/mem: Find device capabilities"), needs improvement as the recent "Add Mailbox Ready Time" ECN timeout indicates that the mailbox ready time can be significantly longer that 2 seconds. While the specification limits the maximum timeout to 256s, the cxl_pci driver gives up on the mailbox after 60s. This value corresponds with important timeout values already present in the kernel. A module parameter is provided as an emergency override and represents the default Linux policy for all devices. Signed-off-by: Ben Widawsky <ben.widawsky@intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> [djbw: add modparam, drop check_device_status()] Co-developed-by: Dan Williams <dan.j.williams@intel.com> Link: https://lore.kernel.org/r/164367306565.208548.1932299464604450843.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions