cxl/decoder: Hide physical address information from non-root
authorDan Williams <dan.j.williams@intel.com>
Mon, 24 Jan 2022 00:29:26 +0000 (16:29 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Feb 2022 06:57:28 +0000 (22:57 -0800)
commitc3bca8d4bb3ff77b8784cdc794eb1f8f89b10fb5
tree6789b2ff50122eb6bafe60f917119b6dfb208235
parent0ff0af18216436d0151af4e410400c7a19ca9437
cxl/decoder: Hide physical address information from non-root

Just like /proc/iomem, CXL physical address information is reserved for
root only.

Reviewed-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/164298416650.3018233.450720006145238709.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core/port.c