From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (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 83EFD2571C2 for ; Tue, 25 Nov 2025 13:55:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764078906; cv=none; b=TmX2+BY/RqLNRvTBQ2TVL2vNlviAzAAsjWkpBp0jhS/yZIa9yt4PfIztpsytnvMWt9HbFDtNTb3OtQMgaDEgQyJYSc76tP/8+wSyfPUbBWd7JrYCiDbZide4tdd7B2yScJPsni2DGMIeOJFu97/CON9we3B03E7rAoVAbNhQSlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764078906; c=relaxed/simple; bh=9cdDbADaV+G9ohLC6r88tq7oW1kjh+5VpyuQIt9brqU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FKfh5LOz/sNqaORmezitSIGtBL14VxECz8hK2dMuLpdsnpHEgrmA85s5YqqO7eq20Vg798c0GgpATgKFsTNh8cLj2bS8mf0wgKQgiPAqaTANaDqI+u7RNHk0dLXOIyVpPE5gv0QcYCNuTVtoVf2p3oU/INE9TwGff/J6wQ3oYGg= 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=pgxN/Hky; arc=none smtp.client-ip=209.85.222.172 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="pgxN/Hky" Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-8b144ec3aa8so545011585a.2 for ; Tue, 25 Nov 2025 05:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1764078903; x=1764683703; 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=BN0Gd9FIr+nCWCDMfR+V4cuqmnLr3RwYOCmv9D7V0q0=; b=pgxN/Hky6yFaO6c92cxygrwsGitFlxGbZo4w2l1vJOYac11hp+trjrSQaFq6Gso4ly EM7qpaOVLCMx3S1yZw0nkH/pcci+clHaiOO16Q4V0s6Tdrw4CbK4cuCQnCoh5CaPm/Lz jv7P1ZBd1KuT8LIpxUMEHqSrLOsh9vraHMqC3W2lcyBzZzf40W7XgtE4gtx40mlHlgLM bpHa6h6FaulHms2vk/suJkcBqzKusqd0b9b2MDUAIZO91GM/FOcOORu3/uV8/ZUqRFRX VAaUpqawOx8oH28+YPCMv+nt8DHPCN4yYtIrjx6kdpFgWKEr/V9xG7s2Fr4HQks7rnHC rOoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764078903; x=1764683703; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BN0Gd9FIr+nCWCDMfR+V4cuqmnLr3RwYOCmv9D7V0q0=; b=vwl834Z3dKwjbz4sJMO5XtU6T/Y2Jo70PbGs7TENNeypdxf+z5yaM4R/rs+M1KEByf na2+MeotGefM40DtuVFbIUZnT64tcsRT5KXafff5aCs6X7i83Q1y6RYFwTtYMr6XqbXk LsHvWM92EmS+/fT1we2+9u0vuC0c9zw94ofi+3d6N4g8OHXslVmzMdB/XxYWP+hGQTQn E2tVrxrp1CSmj0dwZRePq4S1hHQu0un7hrcvQ3Ig5g7aWzO17bojXJSUpM30Nbt33UPu 9lDS72YIjNbqFueOA9VpxC6N1sJ6aFa2k7q5VUEOgwbZbJsLuum21Sw73eIhDToCphVI qzQQ== X-Forwarded-Encrypted: i=1; AJvYcCVnLvhtafLMYEd/PS4JnR2phcYKSWtqWvthdUiank38vekQmJsjp9rxxzyOecYQ6LCQidViGFW8JpK7s/U=@vger.kernel.org X-Gm-Message-State: AOJu0YwpDaTawAQ0Jb1Z0ryl2n3w11WS2bft1aVC25e8ubFsm6AFV2tq j34welk76u2iyfGioiVC5m0uvDf3Z4obFy00J907LCNjF2vl1NiStMsx7OkEk0WYewQ= X-Gm-Gg: ASbGncu/nKhQ6OmRkChXW3aHZ8SxbO2mYUq9kNsvW92s0ARNeLW+FChfu6Cn6Q8Vgwv 1nKMHGQ8thOvmLNqzhSIYabjdSIBxgGI1iugaANtkqn7cFb80Qcuuuysep4BuhOsGPAknmVmDGA lPPvlkGGurkDoXTcz9djATFuAvoc1BFKVQhHB/Px53Y1yUEk7KmU+hc23Frm18pK3hRJwyaGrBf 7v/oUlCNDsBiDf0/JXVoQsRXEiWGQsjS68OWa2vfkm+KxhXMdcn+KVlHb5OcdHwFlyeeXg9t973 TVsCZSSOyHV4+GsJtefwdcslbmy/PeI4J5vHK0J9EpohbVpNxn+zq+mSGZvIYNqjEnayvhbZTfi qamgLBzIA47hK5jZYGeG+w6eQ+jb20z9QP6M5qLdfsBGfpZ+UNKodUeA/XHbH8avitQjaO9B3ss /Y+DbEGSi7585aiI4iJA6trK9Lw7gZ4rWvh8M83LE1WpNmBvnMlGpauqMOjk7o57gW3U5alQ== X-Google-Smtp-Source: AGHT+IFx3qYvfMeNQjPsq0h3FXby92i43IYo4538aKMep94Ks7M8pwR0PaaNTSu6rKB1+FH0hRPYfg== X-Received: by 2002:a05:620a:294a:b0:8b2:5cdd:6a16 with SMTP id af79cd13be357-8b33d4823efmr2004079685a.82.1764078901111; Tue, 25 Nov 2025 05:55:01 -0800 (PST) Received: from gourry-fedora-PF4VCD3F (pool-96-255-20-138.washdc.ftas.verizon.net. [96.255.20.138]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8b329431939sm1147831285a.18.2025.11.25.05.55.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Nov 2025 05:55:00 -0800 (PST) Date: Tue, 25 Nov 2025 08:54:58 -0500 From: Gregory Price To: Alison Schofield Cc: Robert Richter , Vishal Verma , Ira Weiny , Dan Williams , Jonathan Cameron , Dave Jiang , Davidlohr Bueso , linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, "Fabio M. De Francesco" , Terry Bowman , Joshua Hahn Subject: Re: [PATCH v6 00/11] cxl: ACPI PRM Address Translation Support and AMD Zen5 enablement Message-ID: References: <20251114004021.1310661-1-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: On Mon, Nov 24, 2025 at 07:26:51PM -0800, Alison Schofield wrote: > On Mon, Nov 24, 2025 at 03:10:07PM -0500, Gregory Price wrote: > > > > IIRC the to_spa() function wouldn't be populated (will be NULL) if this > > is the case, so you wouldn't even be able to call the translation > > function. > > The hpa_to_spa fn defined as a root decoder ops is an additional layer for > arch's needing HPA to SPA translation. It's optional. If there is no > hpa_to_spa fn, then it is assumed that the CXL HPA==SPA and that is the > 'final answer' added to the trace log. > > Sounds like you are on one of these systems, so maybe you could take a > look at what happens. If your devices support, try to inject and/or > clear poison and see the resulting kernel trace log. There is an > example for that here: > https://github.com/pmem/ndctl/blob/main/test/cxl-poison.sh > Servers am able to test on are @ 6.16 with cxl .17+.18 backports I don't see: /sys/kernel/debug/cxl/$dev/${action}_poison in my sysfs Have enabled enabling various debug and einj options. When were these added? Am i missing build options? ~Gregory