Patch "cxl/core: Fix incorrect vendor debug UUID define" has been added to the 6.10-stable tree

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

 



This is a note to let you know that I've just added the patch titled

    cxl/core: Fix incorrect vendor debug UUID define

to the 6.10-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     cxl-core-fix-incorrect-vendor-debug-uuid-define.patch
and it can be found in the queue-6.10 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 383b5ab82b46a124d9af787824daac4ee0dbf955
Author: peng guo <engguopeng@xxxxxxxxxxx>
Date:   Wed Jul 10 10:31:12 2024 +0800

    cxl/core: Fix incorrect vendor debug UUID define
    
    [ Upstream commit 8ecef8e01a08c7e3e4ffc8f08d9f9663984f334b ]
    
    When user send a mbox command whose opcode is CXL_MBOX_OP_CLEAR_LOG and
    the in_payload is normal vendor debug log UUID according to
    the CXL specification cxl_payload_from_user_allowed() will return
    false unexpectedly, Sending mbox cmd operation fails and the kernel
    log will print:
    Clear Log: input payload not allowed.
    
    All CXL devices that support a debug log shall support the Vendor Debug
    Log to allow the log to be accessed through a common host driver, for any
    device, all versions of the CXL specification define the same value with
    Log Identifier of: 5e1819d9-11a9-400c-811f-d60719403d86
    
    Refer to CXL spec r3.1 Table 8-71
    
    Fix the definition value of DEFINE_CXL_VENDOR_DEBUG_UUID to match the
    CXL specification.
    
    Fixes: 472b1ce6e9d6 ("cxl/mem: Enable commands via CEL")
    Signed-off-by: peng guo <engguopeng@xxxxxxxxxxx>
    Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>
    Link: https://patch.msgid.link/20240710023112.8063-1-engguopeng@xxxxxxxxxxx
    Signed-off-by: Dave Jiang <dave.jiang@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/cxl/cxlmem.h b/drivers/cxl/cxlmem.h
index af8169ccdbc0..feb1106559d2 100644
--- a/drivers/cxl/cxlmem.h
+++ b/drivers/cxl/cxlmem.h
@@ -563,7 +563,7 @@ enum cxl_opcode {
 		  0x3b, 0x3f, 0x17)
 
 #define DEFINE_CXL_VENDOR_DEBUG_UUID                                           \
-	UUID_INIT(0xe1819d9, 0x11a9, 0x400c, 0x81, 0x1f, 0xd6, 0x07, 0x19,     \
+	UUID_INIT(0x5e1819d9, 0x11a9, 0x400c, 0x81, 0x1f, 0xd6, 0x07, 0x19,     \
 		  0x40, 0x3d, 0x86)
 
 struct cxl_mbox_get_supported_logs {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux