From nobody Mon Feb 9 23:17:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+52051+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52051+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1575908118; cv=none; d=zohomail.com; s=zohoarc; b=i7LjnU19b+TRvO9NtF9nhVs/+pNaJ6ITvoVYLbtlUnO4cqEcsHxjr1T0wzuy8ttF6fTJMQ0Q7ycuzyD7YcVZf1iv8zLwMSnluUd5k/B1qoGTl5tV1lUiJ5rvY3rhbxvxa0rMLmc3fsFQoTzkuUXcctNJxCCZZdk5uRg6KmoSzbo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1575908118; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=2TDJ2wG6egNeyQUaT3NKWjLBPoULqDs7iLp+yfUbrLk=; b=cO/ZdbJfqNls9wNG57OVx0rp+X+pxkhK+LCDbQWcV/krg5OZCCllNcAyV/B2L1soMKprnUkhJto4g7ijM4m9Va15ZjULp/ZhOB5uzGfAC++xatVZZBGJj5Kih15ILuAR6lhUaRhjgEUwHigLVF+DRzEVs/NYvGBh1Vn5E1H1Y+Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+52051+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1575908118761862.9875110478964; Mon, 9 Dec 2019 08:15:18 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id jj3xYY1788612xF2nEAOkIYI; Mon, 09 Dec 2019 08:15:18 -0800 X-Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by mx.groups.io with SMTP id smtpd.web12.13081.1575908117664798093 for ; Mon, 09 Dec 2019 08:15:17 -0800 X-Received: by mail-wm1-f67.google.com with SMTP id g206so16135756wme.1 for ; Mon, 09 Dec 2019 08:15:17 -0800 (PST) X-Gm-Message-State: ccIBRzOVqcNhC126gd04FF6qx1787277AA= X-Google-Smtp-Source: APXvYqxsq2rezUETfXSS9QieCZF0DSQL7mRe6oyafJGi0je5Rn0OCeRNmD0jqzfr+VhVhZZfgdWn4Q== X-Received: by 2002:a1c:610b:: with SMTP id v11mr25684093wmb.101.1575908115992; Mon, 09 Dec 2019 08:15:15 -0800 (PST) X-Received: from e123331-lin.home (amontpellier-657-1-18-247.w109-210.abo.wanadoo.fr. [109.210.65.247]) by smtp.gmail.com with ESMTPSA id x11sm199591wmg.46.2019.12.09.08.15.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2019 08:15:15 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif.lindholm@linaro.org, Ard Biesheuvel Subject: [edk2-devel] [PATCH edk2-platforms 1/3] Platform/Overdrive: revert streamID DT changes for first SATA port Date: Mon, 9 Dec 2019 17:15:19 +0100 Message-Id: <20191209161521.1986-2-ard.biesheuvel@linaro.org> In-Reply-To: <20191209161521.1986-1-ard.biesheuvel@linaro.org> References: <20191209161521.1986-1-ard.biesheuvel@linaro.org> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,ard.biesheuvel@linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1575908118; bh=OsStRjwIq9Ve6RmlC9a8ZAuGfMehXg8L5cH5AvSiK4I=; h=Cc:Date:From:Reply-To:Subject:To; b=ZddjuEkZN0GdavAyicDujW/Z6LFNkmjXX5p2MYbjhLHwlaX7kVFuB0eEiAA94OaahXY j4jBE+TVCFcsMKgvqBaZHTXso3DssXdqQlpWa3koWeFYG35ZFT5gZfsUsi3ytm1EHJi0n LT0qPXYmGpE2vM4ILcHflBF/1dosDGe2x8g= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Commit 7a1cd6efbb483564dcf0ff3dda701bd09acf4b08 updated the stream ID assignment for various masters on the Seattle SoC, primarily to address a conflict between the second SATA port and the crypto accelerator on platforms that implement them (B1 silicon). Unfortunately, B0 variants turn out to exist where the stream ID assignment deviates from the observed assignment on the B0 Overdrive that I tested these changes on, leading to DMA access faults when using the first SATA port. Since that port does not share its SMMU with any other masters, let's revert the change to its stream ID assignment in the device tree, and switch back to matching the entire range [0x0, 0x1f]. Signed-off-by: Ard Biesheuvel --- Platform/AMD/OverdriveBoard/DeviceTree/OverdriveBoard.dts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Platform/AMD/OverdriveBoard/DeviceTree/OverdriveBoard.dts b/Pl= atform/AMD/OverdriveBoard/DeviceTree/OverdriveBoard.dts index a92ab695fb2e..a1575d0a623b 100644 --- a/Platform/AMD/OverdriveBoard/DeviceTree/OverdriveBoard.dts +++ b/Platform/AMD/OverdriveBoard/DeviceTree/OverdriveBoard.dts @@ -86,7 +86,7 @@ */ <0 332 4>, <0 332 4>; - #iommu-cells =3D <1>; + #iommu-cells =3D <2>; dma-coherent; }; =20 @@ -109,12 +109,7 @@ interrupts =3D <0x0 0x163 0x4>; clocks =3D <&sata_clk>; dma-coherent; - iommus =3D <&sata0_smmu 0x0a>, - <&sata0_smmu 0x0b>, - <&sata0_smmu 0x0e>, - <&sata0_smmu 0x0f>, - <&sata0_smmu 0x1a>, - <&sata0_smmu 0x1e>; + iommus =3D <&sata0_smmu 0x0 0x1f>; }; =20 sata@e0d00000 { --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#52051): https://edk2.groups.io/g/devel/message/52051 Mute This Topic: https://groups.io/mt/67814060/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-