Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp950780rbd; Fri, 23 Feb 2024 08:26:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX5JD6tPvg1ctgpuB85R/00DsUq1z/3PZ+h8aBKKTvyq6+XvQpfVL8CDjjiAQ6cPeoFBCWHu3AI8MgcnF8stE1pSQaMAEl7iDAWBae0YQ== X-Google-Smtp-Source: AGHT+IGw9f32YhOMEB8g51qFqeYEN2AR3YO9J+LJ/WUxO/tuDN9muxwhLyl1zHvbuQy52zuQdPuX X-Received: by 2002:a05:620a:136c:b0:787:3676:675e with SMTP id d12-20020a05620a136c00b007873676675emr294924qkl.36.1708705567901; Fri, 23 Feb 2024 08:26:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705567; cv=pass; d=google.com; s=arc-20160816; b=Ial6ndFZnToxMAmSwpek4SkV/dgqFAyHYauIGU8T6NCsFOm0hS0lVWorKkt9P0JiYy 8MYUxNo4Z+XPgX6rY9BwNpYOId4EqPMShCfJEiwCgIxaOAQEJa7W9U+1J1qDbfqxE/U9 s7VSYLJ+bSu7v86kwRDdmUbk9b4mwg2ZXtKQtT8uybLRWL0WTjU1M6/iOpDoYOtlmkcg CiepaH2FbwWhl+0NWkhVEBg4vD7NHZ8CUUTVzMM7t2UWPkeHDg9iHJJg3qLxT2ySsQDo ANxxmFsQZQHjCtlsGfkU4WQ9D2e0xM9Yc9I5HxihUH79xHtN7cMmWkFNG/ACau0m8ljW M76w== 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=q3ADCfCMwljtA/9kihQ11UlaTHwhlG+DDV/r/k9fd8c=; fh=/v95L0fQlsXR+rxBewEobQ3FHjeVGecKVcFpxqgid5M=; b=bfW5/FMzOcVvEl6EFspwL70Y+fsaScdqpfKhC5XsD5qXK1oig40lHCq+dVuHJlR2Vk 1RgxjxyVX1SY4s2PMdj1i8lQm4z7U2GD4AFhdBZBEjtzqrjeMNaNAkA2lxRIPB80xTDX wPwMq0o+G9EtFJ2BFEAd6fmNyHiHbvG95G+vaPduCkg9X6paGKBL6tzMdTdHuyZZWm4y 7jVvfm5Vn/seKZBaDBZ4f90sp+Apc5DyRNFGOipCR7jOfTBfEMEM3KypbhDnE7m6RWUe C0/0ar+0dqTICuquzGK6YuEYNfjBo6XjC+rmivwf8rbOrgWxrlym4/TQRSoZdlbPo4IL 5axw==; 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-78722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78722-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m21-20020a05620a215500b00787aae623a1si2526759qkm.536.2024.02.23.08.26.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:26:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; 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-78722-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78722-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A4D041C20DAA for ; Fri, 23 Feb 2024 16:26:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0074184A2B; Fri, 23 Feb 2024 16:26:00 +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 8A60A7EF06; Fri, 23 Feb 2024 16:25:56 +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=1708705559; cv=none; b=PjrXHKNt/RVU9Ev8YO3lF6jXnoaiD0Ohkpd7M/Oyi/NN/Z87Nij28MoV9gn0hLDn1ooDrOXpqiMK3B6obZ2RRbicqttr71R4xUKg/AmAQjkyA0yak+itFZv63ZoMPxXtVSU5ZoCuln1MuF6XrQauZrpup/bYrDnLDrKdEFQWBnc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705559; c=relaxed/simple; bh=pcgLlYSZ94N8Z5tjPSaQIgYSm+pxjOpzSlJJCy147m0=; h=Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dr/4ypPYAvI5XJC3a6WWVwbAu98iHZpg/umh1TUfQhYnj8jSPZPLgVXVm6phxrusUQW4CGekIycT99PFBUptmtDc0dIGqk2myG3puN4CtSmQRC+DexMz7Gdr3hJOQ5SaHrEazQ4ocEN/UhZs386oS9JupJirmzknKANHWewklFo= 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.231]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4ThFd33KWmz6JB2J; Sat, 24 Feb 2024 00:21:27 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id 51DEA140D30; Sat, 24 Feb 2024 00:25:53 +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; Fri, 23 Feb 2024 16:25:52 +0000 Date: Fri, 23 Feb 2024 16:25:51 +0000 From: Jonathan Cameron To: Borislav Petkov CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [RFC PATCH v7 00/12] memory: scrub: introduce subsystem + CXL/ACPI-RAS2 drivers Message-ID: <20240223162551.000013ec@Huawei.com> In-Reply-To: <20240223154251.GAZdi8--NPaMAK_ZBp@fat_crate.local> References: <20240223143723.1574-1-shiju.jose@huawei.com> <20240223154251.GAZdi8--NPaMAK_ZBp@fat_crate.local> 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: lhrpeml100004.china.huawei.com (7.191.162.219) To lhrpeml500005.china.huawei.com (7.191.163.240) On Fri, 23 Feb 2024 16:42:51 +0100 Borislav Petkov wrote: > On Fri, Feb 23, 2024 at 10:37:11PM +0800, shiju.jose@huawei.com wrote: > > CXL patrol scrub and DDR5 ECS and ACPI RAS2 HW based memory > > patrol scrub features are added as use cases for the scrub > > subsystem to expose the scrub controls to the user. > > WTH is a RAS2 driver and where is the RAS1 driver? > Odd ACPI naming. RASF (which is very limited) was replaced by RAS2. Both are ACPI tables that describe the Platform Communication Channels (mailbox) + provide a definition of the protocol that is sent over it in order to control memory scrub. RAS2 has some other uses this driver isn't touching on. So in short, it's an ACPI spec defined interface for controlling Memory Scrub engines. https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#acpi-ras2-feature-table-ras2 Jonathan