From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0646B20A5FC for ; Fri, 10 Jan 2025 22:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736549320; cv=none; b=rFignMG3adIanxLPZkxFYFyZaQd7qSV/42MnL0JjJhJKJdl+Q54VcSJcKi2nSVtK0vy6iNXsKXtbGB/x9Sm+2MWr9bVGF+bjEEifMvdhWsleV9/F5FNDX4Ac71tyyavVNtIcpoC+Jpj9c1AtJe7Ts/1aM7BN0m7vXIqc0dKZ5DQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736549320; c=relaxed/simple; bh=tkB0rFjPfcHpbWATNzDdg3kElu7IjVuHK0SSAV+NuIY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ldpX02oZMyOro5xRhjTRiQ1KbRGGuOP6ou5gvT1HuOKe7+Fte0Y/oDq5j9Cx4eTys7MZpW4jpgRN42KDagp+1bzPcq9bTvV+bBYbFU0Vwjzlr7oH3AGx6Ef5GfN7W5jBdvTKR52i/wlGfg8wgqx0ugLVM5AELGf4FLa0hTsELco= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=O9CD+RFd; arc=none smtp.client-ip=209.85.222.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="O9CD+RFd" Received: by mail-qk1-f175.google.com with SMTP id af79cd13be357-7bcec86e957so88319185a.3 for ; Fri, 10 Jan 2025 14:48:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1736549318; x=1737154118; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0dBZXtHVzhR1fGQZI0ah+BrsIk9E/sNlK1+0WwUKNWs=; b=O9CD+RFdHvS5gdOaKfmUcMC0MaG2whc9IKzYBwaAOBC6Xcg+4Ei7hBndfKPhJa7K1g /CNHyojbyd2PInBPCOgyJugFpEmwmmyfgf0v/hGNZitrU27BXPA/dI6lA3FOVnHKINzY 1Xha578IJ24++s2iyJuRXqdUqb5Kd69M3DnfAQGEX0C6xWBTcUsHjqe0mbV6+SlgOZcT svQpm/qo8DUqDL+V4Mo4V5a+rq11v/tgxlwOOxwETZr44ohByFPj4h5HAgOtgbeYPaeG k0SSIYfutcAFSmgqCEBChYbY1U3ljy69jhmpbdDRu4qbLre55P07WUfxa4X4McQmUiJ4 0Fqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736549318; x=1737154118; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0dBZXtHVzhR1fGQZI0ah+BrsIk9E/sNlK1+0WwUKNWs=; b=sAhAm1B/S/c+iXAzD7FsQJHWeoRrUmqSIXq26spUvDi/NnxidwE1d7Uqj9JdaJumoO GV86AKrgTcI/0U4KaJzVaeiVQRQbGWktEPHKJwjjBzBYJEFw1U5wWIhjb5U9Ij9o48/y 6pmNuyIjjnGUzIT0KSXd/bufZags4zPSY4ZUiYKs7BqrycDv9kJRxOCw8zAStRPXoHiv X2WS6Gqvf8c4JKuqI0OKizt9vQol77KSskWoOCTB1D9J1oYVA/udprtt4uFG25cmbdhG 6H4Yx0A0iEgBJnTT5+0G/g1wZtOw/4Ab1d25whuYum/+dZoEGLz3SQnMBEW4eYLPv3U/ Cjhw== X-Forwarded-Encrypted: i=1; AJvYcCWhothFVJvDuKM5ityj1Xl+ZssN9UTn2TWpEnsUGWpKakw/ELok5QGasFI2LOrkkSWkOp0g72VL/Bmm34Y=@vger.kernel.org X-Gm-Message-State: AOJu0Ywnqw2B+Sm3H6zZWU+D1Iq77pveaXo+cqJXgEIAUt/wXyo/xB8b VxEwX0+cz70MeGjkSrm9NkBIoyvk/jpUybVDceX8JXQuroGkQnU/PkpuCnwO2nU= X-Gm-Gg: ASbGnctXY04qTmSwNus4AN6mmkVPnkOLArPY47Rv8zuj/E74YPcrOULBr13OWIbo5XK +3Ip3xzAiB23dXg1dycBY7USfsZuYLVFj9AXQgJIP46if+Al0Qe9uvG6lGcflu7rcUVt79Fmg/0 qAwv8jbGC+7nbTJiwecNYBtEUmHv+9+7IrfxVNSBwJmjwCZzTkzBDgkP9Q6qEbnsbZO4KmJEJnd q5xI3ol5gBhSuiEvw/LdhryrYuLUDKCFrStK97mbg8my60Oe+72TTcGCpDJbamAp9CS6b3Lu9Ht Z+dgnFtWleA5O4kjOkP3isfNV56+zJd1GlKDKbI= X-Google-Smtp-Source: AGHT+IFdmF5uDtjxfu2kZmiXjGugIKcTeGTNZNtyc1uwSfDY/9bdoLLHSX3PoDntn3g2WmqbiNgPSA== X-Received: by 2002:a05:620a:462c:b0:7b1:161c:ef58 with SMTP id af79cd13be357-7bcd975aa7emr1743284985a.28.1736549317946; Fri, 10 Jan 2025 14:48:37 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-173-79-56-208.washdc.fios.verizon.net. [173.79.56.208]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7bce3237f0bsm222057385a.7.2025.01.10.14.48.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:48:37 -0800 (PST) Date: Fri, 10 Jan 2025 17:48:35 -0500 From: Gregory Price To: Robert Richter Cc: Alison Schofield , Vishal Verma , Ira Weiny , Dan Williams , Jonathan Cameron , Dave Jiang , Davidlohr Bueso , Terry Bowman , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, "Fabio M. De Francesco" Subject: Re: [PATCH v1 25/29] cxl/amd: Enable Zen5 address translation using ACPI PRMT Message-ID: References: <20250107141015.3367194-1-rrichter@amd.com> <20250107141015.3367194-26-rrichter@amd.com> 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-Disposition: inline In-Reply-To: <20250107141015.3367194-26-rrichter@amd.com> On Tue, Jan 07, 2025 at 03:10:11PM +0100, Robert Richter wrote: > Add AMD platform specific Zen5 support for address translation. > > Zen5 systems may be configured to use 'Normalized addresses'. Then, > CXL endpoints use their own physical address space and Host Physical > Addresses (HPAs) need address translation from the endpoint to its CXL > host bridge. The HPA of a CXL host bridge is equivalent to the System > Physical Address (SPA). > Just adding the note that I've tested this patch set for HPA==SPA and found it causes no regressions in my setup. Still working on testing the normalized address mode due to a few BIOS quirks I'm running up against. ~Gregory