Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp105252lqp; Thu, 4 Apr 2024 08:10:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxxdjT3ozFCdGs366QMryZ0E2lw3bFJ/ydvMs4stGAcQxSZsg+pwn1FzC1byZsEysz7iYBCMlLgaPL86pgWrSyNxdMI3a5ydus96jDtw== X-Google-Smtp-Source: AGHT+IFjt3kzAi2VJxb34TY6hnDOxPQvb2S/zg0EURhoo0VN89b6W5f34FO8Vft2qLvXwFjuAF+j X-Received: by 2002:a05:6a00:278c:b0:6e7:4abe:85a0 with SMTP id bd12-20020a056a00278c00b006e74abe85a0mr3333979pfb.14.1712243447339; Thu, 04 Apr 2024 08:10:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712243447; cv=pass; d=google.com; s=arc-20160816; b=MCTCU7py8lisgS4BKUKqFwPBWaL4GlK8IT1/CcK2MTlGsVd64ba88x0HAKz579vGDr mNcnfI5QInO2fqOF7VfKFo00dum+eT3Q8CltCJEc7wooWsFA+f3UytV9LasHvKEUQIxu qXrQ86nE+I5WJch5FgVPM1gZ56iCptteVxkmwICy8u+iAcnGVZ8w5O/IR1LdNbwaRdCW 8Q3mBedaXQPMmF3Zgr+Lzojw4wOtH3aAk/mO87QzIA36Y530MPQ/+rc8IwQ5nd493dzf RdRfiq8oIW00Ia1erLlsgXCQs1nkcCO8Z7FTBaoj3PUP9OYzoRRQF/tl9Ec5fnQqJxvh Zmeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date; bh=MolplNDTEOERwNuYf3z/iuy0RUenQZcTKJUMiIM4Yg4=; fh=2w1+lYYWmlsepgenmRQ+IoRKCE/8EmW+j9NeCA4ErGw=; b=yiGOM5E8dHr20tJIlvubrw77qRUDVYdKqwJbDabO9wXqWzp5pzwv5RMCt/Jgivtt67 IP/96P/w49ttICJU303rSJG2SpfEqkmp56TZlVf3GKmh4gsteEqg5bSZMZX8wTipVKwv 2s6bB9iUJZqVn0hbB0E3OED33s4ySvECPSzcRrw/zm8KImSeeYdyzm5xD5ez1ZJ/2jwK pz3wEQBVJ3mkNVs2b2VvdvN4NVw6lTcvs+PJfAIuuOH4vnj2YaQ3C80qUNEah7X9G7EI fOL4ruQgOiv4SrGWx9Dq0H7aHBH4QsfPy8e+M6Ar4MYvp5eXP1pK49NOn8/EWpF8Lh5k OElw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-131677-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v7-20020a655687000000b005dc88c4702dsi15587352pgs.225.2024.04.04.08.10.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 08:10:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131677-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-131677-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1E63B282F09 for ; Thu, 4 Apr 2024 15:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C88112A173; Thu, 4 Apr 2024 15:10:10 +0000 (UTC) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (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 CDD1141C68; Thu, 4 Apr 2024 15:10:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712243409; cv=none; b=HFyCDqopSIrDS36hfXl/lf2nRVAlYqYtJ1gciR5Qcp1TyVdp0Kbro6Ajq7SqpeNzFWgKWyxPrY0VlmdGUZfDOYr6i1I8cE8/UNv0Dgek/hYQWQDr5+Rls1ab+K8tqTK6sSrE59B3PfZH1pBTtNFgQ9mGcg+72VeWw6KmXb1QvLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712243409; c=relaxed/simple; bh=F/vXneb2pYUFr5dlPObtXeZXqGaJN5bVzcCEWpceE1U=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=mm9Sa5VaNo3BqW649zHDE08edMrJqWku6nYaJVOQu1qp0B3HRygOQi636cZDtazFgakep8Yf3KrFmgt1X1AB3SI1cXWnekndAYXSB1gW1wcEPist9nx4S0hyEQUlVKm1meuZlVnBVqydClfWTSW0j1PGJNjIClG4c12+kFbc7EE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=Huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4V9Q495DwMz6G9Kj; Thu, 4 Apr 2024 23:08:41 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 8A688140C72; Thu, 4 Apr 2024 23:10:01 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 4 Apr 2024 16:10:00 +0100 Date: Thu, 4 Apr 2024 16:10:00 +0100 From: Jonathan Cameron To: Ira Weiny CC: Dave Jiang , Fan Ni , "Navneet Singh" , Dan Williams , Davidlohr Bueso , Alison Schofield , Vishal Verma , , , Subject: Re: [PATCH 12/26] cxl/pci: Factor out interrupt policy check Message-ID: <20240404161000.000024b8@Huawei.com> In-Reply-To: <20240324-dcd-type2-upstream-v1-12-b7b00d623625@intel.com> References: <20240324-dcd-type2-upstream-v1-0-b7b00d623625@intel.com> <20240324-dcd-type2-upstream-v1-12-b7b00d623625@intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: lhrpeml100005.china.huawei.com (7.191.160.25) To lhrpeml500005.china.huawei.com (7.191.163.240) On Sun, 24 Mar 2024 16:18:15 -0700 Ira Weiny wrote: > Dynamic capacity devices (DCD) require interrupts to notify the host of > events in the DCD log. The interrupts for DCD may be supported despite > FW control of memory event logs. > > Prepare to support DCD event interrupts separate from other event > interrupts by factoring out the check for event interrupt settings. > > Signed-off-by: Ira Weiny Reviewed-by: Jonathan Cameron