Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp114782lqa; Fri, 26 Apr 2024 16:50:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmkcEqOArZfllriTA7ttSfhqJiyNg8Rc7DAp/W6FvUzg9ngl25yIMoIGqlhabb+jMTXA1O0OSd8fR+PMssEu+6ZeJofxHMPYghdI3eCQ== X-Google-Smtp-Source: AGHT+IElQOcG0jfesDs+NOm5WiP9h+RMReeyMXnWPL6YwQ5bojPvfL5M3YLxkMQ5iqvrVbm6WA7c X-Received: by 2002:a17:902:be06:b0:1e9:a0ce:f60e with SMTP id r6-20020a170902be0600b001e9a0cef60emr4263508pls.19.1714175430084; Fri, 26 Apr 2024 16:50:30 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m18-20020a170902f65200b001eb1c44f9ebsi1558717plg.345.2024.04.26.16.50.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 16:50:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SaBbJhmS; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-160782-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160782-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9D8F7B22864 for ; Fri, 26 Apr 2024 23:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60EB73C06B; Fri, 26 Apr 2024 23:50:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SaBbJhmS" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AED473A1B9; Fri, 26 Apr 2024 23:50:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.20 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714175419; cv=fail; b=FOeo7xegA+4vWBEwMvjrrgkpezHwFtkXaooq9j4TjcUoNQV0NxO7gclqDpT1s9nIt62mw9dgUddM7232swdMlTb2g0w0Im5z+RnJGO1bMIMNqGF3NBQglg80euuPTIahm2t9i2KLDhiyh3Rt3IvQ8jfqtbMdv/ecR0+SgbN5CiI= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714175419; c=relaxed/simple; bh=a55KtndMMqSn9sEB2Cb1jLpzO4BubWn7rD3G9DVUjLI=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=FtBIIbZfBDDGu7fDeO0IQBmYL4HHonV10fYpJv9sxDNTGYpA4HLVqoBFCfLW2YQh21MruyQ/J4l/WRl5Vwt6DpbkAPEQa9tjjOfo3gUwzh8x3ofRpRA/Be8ZvMAJ7i+sYiHZtTNK6CDUi3leH5fwTaqOVzJDcRA93mGtVy4NGgc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SaBbJhmS; arc=fail smtp.client-ip=198.175.65.20 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714175417; x=1745711417; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=a55KtndMMqSn9sEB2Cb1jLpzO4BubWn7rD3G9DVUjLI=; b=SaBbJhmSiz62a02UOjlOGnid5OUHYNp+aBABcfRSLjv2pNK9nby84f2x Tk2ONawvztwWn46XaB9imz836MGyPJElJcXTU293acc8dD0sRYjgKG5kJ H5Ez3EG2V0yKhlNzJmBTXIUKcIPsWCVfkW/nPdWEe/pziI7v7qsgxpYdP 5DYOotfEvwdRkcmCmNkb26XzsKkH2Hff9V41mKMgIAfLUPs3uhm0jfDPM lRu3Az4m5QvaDX2ndWokiMDjkJEo6fg9NkPuWmpJyXHeXW3Ap6OZigC4v wbRbMdjWkjaZq0OQkHRZFEWpLKQyZIwt7b+6dmSOL2nSbZILFFHwq5FAZ A==; X-CSE-ConnectionGUID: aK+VGM7aQ2+Qmg2oOaaI0w== X-CSE-MsgGUID: NINEXn41QUWDkm+bQWSSpA== X-IronPort-AV: E=McAfee;i="6600,9927,11056"; a="9757129" X-IronPort-AV: E=Sophos;i="6.07,234,1708416000"; d="scan'208";a="9757129" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Apr 2024 16:50:16 -0700 X-CSE-ConnectionGUID: grqaGWo5RwqMmOGf43oOpA== X-CSE-MsgGUID: CyuGgfKGR1S8TErG4M/aNA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,234,1708416000"; d="scan'208";a="56481851" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 26 Apr 2024 16:50:16 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 26 Apr 2024 16:50:15 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 26 Apr 2024 16:50:15 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Fri, 26 Apr 2024 16:50:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V8ij1QXaec29rWyBZxqSrIGm7/2Uagc81YWGwfSGK//AvcWBp+Py5OVuWQ+WfVj6KXypQ3d6/8NGtkXMnNVBXYpgco6opHYi1S2QDVfD8Wt42/GfT+XOI1DCW4xBRcbPdkjpJ/V8T1c9XfCJJEI/9mBVbttO+CWJoVvWfYfOsJIEJOMQ3nFT7NdNyDD8h0dOZbRpAx5G+LtJfbcKkL1fuIgJoQEdlEsoXqLunu6PwNmz+sL+943XtpkRhXFRm+f62LdqGWaPiZcLsq0hnN4WAQADcMdgNvAdoZz59SXAKE/BQfj0yLiYhoJOfVXroKjkJK0MUi00ses/JibEJo97Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ODBSDVgVm0b3BVZSzn0cxsv/g+GsWnyxQKUGPFUBFK8=; b=W3/MaCJEw97tjWM3PuyDEev1c6Pv43g6F3JzR7iee6NVdsA+eZSTr9/jNvOJtWBR9njX+MUPfviYV+A9r2AHqfeTU08TL58t9pgnslE/rjV+fZiCErz2FA2FLxbsCRcKBnySDhy52a9OLYrNIae6gf1kx2X2o4VUIuMOCsANYPjWH0u+NEdeFrU6uYRXPCQj/PYyJ8ciCU6MZfqbaRX90mx0VyB4MNqqBPWOyRym4yCssq39Dn2LXvpkEKvwE+/UZ4DFP6IkPumZVzoncxXqPKvx7b/vzKmB/Rp36iRB0dtweEnj1Buddty4YIO3Wy/+npHTyWjttytKCluNvvKQTQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) by SA0PR11MB4573.namprd11.prod.outlook.com (2603:10b6:806:98::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.31; Fri, 26 Apr 2024 23:50:13 +0000 Received: from PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::82fd:75df:40d7:ed71]) by PH8PR11MB8107.namprd11.prod.outlook.com ([fe80::82fd:75df:40d7:ed71%4]) with mapi id 15.20.7452.046; Fri, 26 Apr 2024 23:50:13 +0000 Date: Fri, 26 Apr 2024 16:50:09 -0700 From: Dan Williams To: Ira Weiny , Dave Jiang , "Dan Williams" , Jonathan Cameron , Smita Koralahalli , Shiju Jose CC: Dan Carpenter , Yazen Ghannam , Davidlohr Bueso , "Alison Schofield" , Vishal Verma , Ard Biesheuvel , , , , Ira Weiny , "Rafael J. Wysocki" , Tony Luck , "Borislav Petkov" Subject: Re: [PATCH v3 1/2] acpi/ghes: Process CXL Component Events Message-ID: <662c3db180909_b6e02942e@dwillia2-mobl3.amr.corp.intel.com.notmuch> References: <20240426-cxl-cper3-v3-0-6ade7dfc849e@intel.com> <20240426-cxl-cper3-v3-1-6ade7dfc849e@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240426-cxl-cper3-v3-1-6ade7dfc849e@intel.com> X-ClientProxiedBy: MW4PR03CA0140.namprd03.prod.outlook.com (2603:10b6:303:8c::25) To PH8PR11MB8107.namprd11.prod.outlook.com (2603:10b6:510:256::6) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH8PR11MB8107:EE_|SA0PR11MB4573:EE_ X-MS-Office365-Filtering-Correlation-Id: 0b4310b7-48dc-469b-ab22-08dc664b9d65 X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|376005|1800799015|7416005; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?y8+157RUMMw7r6jAQAmGn9Yp4bU/bBFwNg9HRv6OJSQS+n5hL1aXcdkbZdGw?= =?us-ascii?Q?Gi8tVdvoA1VLXDea9ClzfPF+iX1P0fEq8Vl6ld02Ba5XCceUPtiVnlXVYE1o?= =?us-ascii?Q?c2fUFSKh2TNoOKQTTMhg/9O6l+6b8Rjp3bowZzFIqj6HIrZkgdM6/JE5e2D0?= =?us-ascii?Q?uYc6aP4oq/+SastW50A4U4w4Ts13qDGLv9SJVWn4pLKWIupq+t3EYMwjbdSR?= =?us-ascii?Q?1VR24tV2v4SZK0hdfVwkdN48oXVTa1kkRVg29xEOsBsw5JbjjrIjJ3cEdpn3?= =?us-ascii?Q?7X5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foRhqWzCgsOnb/LV?= =?us-ascii?Q?18Gg1INRmgUOqWGGLLt28D+jIqY0jkrSkJZ7ipfWDePHsF+g8MWln5fMnEY?= =?us-ascii?Q?=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR11MB8107.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015)(7416005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5rsahuVLIPZJCbIwiiL1nl/BVY17FjEUA7YQ9fMIe1JZlvS1UXrFwt6g4M3i?= =?us-ascii?Q?/2ev6z4IMqM1ZfZ/9tM7KT3gQaK/TsnV89aNPWYmFKVVGGHGRKTlN0vBNx+0?= =?us-ascii?Q?lHbyM8xEiUM+26M0KDNp7drAMNZYOyVe8Ziq70T9F8nMdHFtD7H89iQUHjWt?= =?us-ascii?Q?t4Bog1fnTnbVdQEHax4Gle7ug/0w0srXTmbuHTANBr2VrqhNVtHZQeamWksz?= =?us-ascii?Q?R+1J1hoAGYAjlPNQJThRViXo0T3FKgP1xunvomrqYLQ96PPTHjqQPfNZfP6b?= =?us-ascii?Q?NWSKKx9p27XauWEDSkZb7M4/wBwUTHwiSIeHNue7t5MVR8/zccH1LfTnZ2ux?= =?us-ascii?Q?wG//heXRFUMs+ZcCoTHMZ9EMkD1Lz+TEtp0adi39oFzEPA/9x9r5E+aho+4B?= =?us-ascii?Q?yg8Zl7bbwoMvmY/PsqqoqiqKl1zZiai1ChD4Lhd0S+UUrPggW71zZ9h2NW9H?= =?us-ascii?Q?WFNz8kyjqP8uiPFyPVHNrT8uZoD4fKHYt7FgvNtguyvONxeaSnl2//t8GC0N?= =?us-ascii?Q?Fh5UErQ0P0Tz5ssTgvJaStv6k7vudady54nB0CS4YVxEVVYbJ8LUAykS+nST?= =?us-ascii?Q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xiQ0G6s0fYhjnaYZI?= =?us-ascii?Q?7dOu5LKFLyGKtRlkFXSdlHqPmDdrYyQbYJl1VRcisIS+9U4K/+krEXBuprS6?= =?us-ascii?Q?9DSr9jB5l7udBTt/D/5RB+VDy/V040JEEY07udTF0Kn7kA6ZzntTmox7PZVj?= =?us-ascii?Q?JA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 0b4310b7-48dc-469b-ab22-08dc664b9d65 X-MS-Exchange-CrossTenant-AuthSource: PH8PR11MB8107.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Apr 2024 23:50:13.0742 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: rsnx7/DX6n17KipRUL2poRrgj1yYMrSGTMbn5eeku+VWkpuZ6j7JfkS7ImVt95A104cYl1sWG5RE1GIdBAzCSN0isBd22TH0JxKdSBjgAFA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR11MB4573 X-OriginatorOrg: intel.com Ira Weiny wrote: > BIOS can configure memory devices as firmware first. This will send CXL > events to the firmware instead of the OS. The firmware can then inform > the OS of these events via UEFI. > > UEFI v2.10 section N.2.14 defines a Common Platform Error Record (CPER) > format for CXL Component Events. The format is mostly the same as the > CXL Common Event Record Format. The difference lies in the use of a > GUID as the CPER Section Type which matches the UUID defined in CXL 3.1 > Table 8-43. > > Currently a configuration such as this will trace a non standard event > in the log omitting useful details of the event. In addition the CXL > sub-system contains additional region and HPA information useful to the > user.[0] > > The CXL code is required to be called from process context as it needs > to take a device lock. The GHES code may be in interrupt context. This > complicated the use of a callback. Dan Williams suggested the use of > work items as an atomic way of switching between the callback execution > and a default handler.[1] > > The use of a kfifo simplifies queue processing by providing lock free > fifo operations. cxl_cper_kfifo_get() allows easier management of the > kfifo between the ghes and cxl modules. > > CXL 3.1 Table 8-127 requires a device to have a queue depth of 1 for > each of the four event logs. A combined queue depth of 32 is chosen to > provide room for 8 entries of each log type. > > Add GHES support to detect CXL CPER records. Add the ability for the > CXL sub-system to register a work queue to process the events. > > This patch adds back the functionality which was removed to fix the > report by Dan Carpenter[2]. > > [0] > Link: https://lore.kernel.org/all/cover.1711598777.git.alison.schofield@intel.com/ > [1] > Link: https://lore.kernel.org/all/65d111eb87115_6c745294ac@dwillia2-xfh.jf.intel.com.notmuch/ > [2] > Link: https://lore.kernel.org/all/b963c490-2c13-4b79-bbe7-34c6568423c7@moroto.mountain/ Like I mentioned last time, perhaps Dave can reformat these lines on applying to: Link: http://lore.kernel.org/r/cover.1711598777.git.alison.schofield@intel.com [0] Link: http://lore.kernel.org/r/65d111eb87115_6c745294ac@dwillia2-xfh.jf.intel.com.notmuch [1] Link: http://lore.kernel.org/r/b963c490-2c13-4b79-bbe7-34c6568423c7@moroto.mountain [2] Other than that, this looks good to me: Reviewed-by: Dan Williams