From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14049C433DB for ; Thu, 28 Jan 2021 17:13:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8E7464E21 for ; Thu, 28 Jan 2021 17:13:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8E7464E21 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=RcqUnfeGEx6Wh5ZvFThNN5hi47AvgPQXGOeGGg7DDT8=; b=WqLcJKWdA7wel3mbnlYL+jxx8 rcaBp62pvcQuPnMIC2XiZ82AMVKm4Wj25sJ5ii0kPxwnLF4Fe0FujyvLlKFMwAk698qmimOZO+eai TGafkrQrn673Cj3Opq3Ho0kewq4fIzu7BiR5XqtyQZPqhTZ+l9bMp2QJ+y3XhJmJYPQykp1+G5hf1 GMJCZe2dNZMnErFzdSoKEsN20nXv2AmxBiofcGg/1zgBIe65fkvl3y6R3Wd1d1+P4/3a+N5wvajxY gWJltFCazApeXKZMdgANNZ2CFER8/S9vaap4dEtkWtjNx3fhwQIcNcn7pK5IX8nIK+ojiEfq1g+Ll pQYPP58oA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5Aq4-0001C1-Rd; Thu, 28 Jan 2021 17:12:13 +0000 Received: from mail-pg1-f176.google.com ([209.85.215.176]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5Apu-000196-8G for linux-arm-kernel@lists.infradead.org; Thu, 28 Jan 2021 17:12:03 +0000 Received: by mail-pg1-f176.google.com with SMTP id i7so4681163pgc.8 for ; Thu, 28 Jan 2021 09:12:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7IZgfmQPy76ebRsuihPtDZZCFVdTlHAyz3G2qFI1HQw=; b=i//231uegKKKzz8VOqRUa9RqCjv7m3cK5RUFD7+rOMHnRfb6eYnVqgO7/UtNvnuzyd IOlfZddgCEMTiMuOehRnKzKZX1UefIcHLcHwsEyBx/svX2z8biwlwAyvPQMTbPEZQOej s2bHvcyxbrVOXujWFcLS0F6KZeJnew0kPJ3d+jXFkeZGCAJ4xptuoDuX+fScfvmyLj7M ARxvEuD5GR57pePr0L/DFJ91zN1flLiTukkkYBlggWbUrYe00EiHzLx8VVXB0qMiLLKV 6619jULe4JKCxWKB5BnLoPMypBOrY93S5K1WjOJQWxTci+gv3GLqM9D2qqAyYf0GZgpx ytsg== X-Gm-Message-State: AOAM533qYA6EeJ+QI5QzzGrL9XgxiSmzJlrbWWwXr5F46uGlFuhkebtM hAPRMpqUguSEzjQjm2LDWPU= X-Google-Smtp-Source: ABdhPJzPaExRZtIKUJvIRjA8Cw4fxIv70iGyA6SNDMcUfKU1EIESlQSKazH5tToRW2b3DphD4uynrQ== X-Received: by 2002:a63:4a1a:: with SMTP id x26mr520693pga.260.1611853920802; Thu, 28 Jan 2021 09:12:00 -0800 (PST) Received: from localhost ([2601:647:5b00:1161:a4cc:eef9:fbc0:2781]) by smtp.gmail.com with ESMTPSA id y22sm6295168pfb.132.2021.01.28.09.11.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 09:11:59 -0800 (PST) Date: Thu, 28 Jan 2021 09:11:58 -0800 From: Moritz Fischer To: Catalin Marinas Subject: Re: [PATCH v2] ACPI/IORT: Do not blindly trust DMA masks from firmware Message-ID: References: <20210122012419.95010-1-mdf@kernel.org> <161175296410.16506.7622624950228429208.b4-ty@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <161175296410.16506.7622624950228429208.b4-ty@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210128_121202_360577_4E2B58AC X-CRM114-Status: GOOD ( 17.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lorenzo.pieralisi@arm.com, guohanjun@huawei.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Moritz Fischer , moritzf@google.com, sudeep.holla@arm.com, Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Catalin, On Wed, Jan 27, 2021 at 01:09:36PM +0000, Catalin Marinas wrote: > On Thu, 21 Jan 2021 17:24:19 -0800, Moritz Fischer wrote: > > Address issue observed on real world system with suboptimal IORT table > > where DMA masks of PCI devices would get set to 0 as result. > > > > iort_dma_setup() would query the root complex'/named component IORT > > entry for a DMA mask, and use that over the one the device has been > > configured with earlier. > > > > [...] > > Applied to arm64 (for-next/fixes), thanks! > > [1/1] ACPI/IORT: Do not blindly trust DMA masks from firmware > https://git.kernel.org/arm64/c/a1df829ead58 > > -- > Catalin > Should we consider this for stable, too? If so I can send an email to stable@ once it's in Linus' tree, since I'm the one forgetting to CC stable in the first place :) It would be nice if at least 5.10 would get this. Cheers, Moritz _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel