Re: [PATCH v5 08/27] cxl/mem: Read dynamic capacity configuration from the device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Davidlohr Bueso wrote:
> On Tue, 29 Oct 2024, ira.weiny@xxxxxxxxx wrote:
> 
> >+/* See CXL 3.1 Table 8-164 get dynamic capacity config Output Payload */
> >+struct cxl_mbox_get_dc_config_out {
> >+	u8 avail_region_count;
> >+	u8 regions_returned;
> >+	u8 rsvd[6];
> >+	/* See CXL 3.1 Table 8-165 */
> >+	struct cxl_dc_region_config {
> >+		__le64 region_base;
> >+		__le64 region_decode_length;
> >+		__le64 region_length;
> >+		__le64 region_block_size;
> >+		__le32 region_dsmad_handle;
> >+		u8 flags;
> >+		u8 rsvd[3];
> >+	} __packed region[] __counted_by(regions_retunred);
> 
> s/retunred/returned

Thanks.

The bots caught that too since my compiler was too old to test it.

Ira




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux