linux/drivers/cxl
Huang Ying f3d70720e9 cxl/region: Simplify cxl_region_nid()
The node ID of the region can be gotten via resource start address
directly.  This simplifies the implementation of cxl_region_nid().

Signed-off-by: Huang Ying <ying.huang@intel.com>
Suggested-by: Alison Schofield <alison.schofield@intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Bharata B Rao <bharata@amd.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://patch.msgid.link/20240618084639.1419629-4-ying.huang@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
2024-07-02 12:52:26 -07:00
..
core cxl/region: Simplify cxl_region_nid() 2024-07-02 12:52:26 -07:00
acpi.c cxl: add missing MODULE_DESCRIPTION() macros 2024-07-02 12:52:26 -07:00
cxl.h cxl/region: Support to calculate memory tier abstract distance 2024-07-02 12:52:26 -07:00
cxlmem.h cxl/mbox: Add Clear Log mailbox command 2024-04-30 08:48:10 -07:00
cxlpci.h PCI/CXL: Move CXL Vendor ID to pci_ids.h 2024-05-08 13:18:33 -05:00
Kconfig cxl: Fix use of phys_to_target_node() for x86 2024-04-30 10:43:48 -07:00
Makefile cxl/pmem: Introduce nvdimm_security_ops with ->get_flags() operation 2022-11-30 16:30:47 -08:00
mem.c cxl: add missing MODULE_DESCRIPTION() macros 2024-07-02 12:52:26 -07:00
pci.c cxl: add missing MODULE_DESCRIPTION() macros 2024-07-02 12:52:26 -07:00
pmem.c cxl: add missing MODULE_DESCRIPTION() macros 2024-07-02 12:52:26 -07:00
pmu.h cxl/pci: Find and register CXL PMU devices 2023-05-30 11:20:35 -07:00
port.c cxl: add missing MODULE_DESCRIPTION() macros 2024-07-02 12:52:26 -07:00
security.c Merge branch 'for-6.5/cxl-type-2' into for-6.5/cxl 2023-06-25 17:16:51 -07:00