Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1729634ybl; Tue, 3 Dec 2019 11:43:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyALU9dGIeBzl/WkYZdaGz+t/wA2HvfC6lWdIMCr62psarGY1aslsN//gdcCjws3OL2qS1g X-Received: by 2002:aca:aa0d:: with SMTP id t13mr5236661oie.18.1575402213666; Tue, 03 Dec 2019 11:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575402213; cv=none; d=google.com; s=arc-20160816; b=B+x5ouNxi20tC7B3TZD2hEWOOUHfoc0Fj+nEQ/D7nSd9ppaUOapdEZpZWkdQNOdI+B 0ufwFYoWOjTCDDrL2NJVy9dTm1vl9Pw8yJF95gs8kEOk7zanTPuKeFyNcQxJpMIvo6WY XfX33LfBXpwg546OOqdWmskZuK9lTOpkmDdUIjC4Rbv8gfAEs3m/urd8unLmFaN/nSSx v+d/9MRefbWEYFmt1jv28scTklbZxpq9VHrM+eNFH9SWsGOGmFMkwn2UNVve/KB3HT/E ycXTysTJD0VBpDB/EFyT+GpXYpcQ9rRmL8h8soQw4kUhZYfFrZ0GY1msN+PiT759vcrL XAww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FBemf5DffbM9H45GJNpf6XQTgytqS7SHwtWxDozwP2k=; b=mJj3yILMFuatPY/uhGxYJzMGZcnXRJJjKOh+aOT712Lae1oHun5wDSVlSQVO0D0xV4 KjRtiSew3OpoUTQ6xYujteg9ccER+B+BDC62Hj7N5NZ3y27vVO9/aTZ76ppBlk9Ni/5+ Wk/ujhdsCyOYCyTpMlxAzZCWLgvZaZpME68aWpXgfAk3y5wemuwWsEwdmxi8M9gTXAuP YjAq8MeuHUkv+KUadpt/xXbUlziT0a8NAVu3xFt2hA7XNJbAVz27zoDP8esxEz4RkgVk zC0E3TfZC+emw493OI6ZfKHGhXThmtpL4vMAM7EzXJNXcQp/nOt6v88b92TfBzBhpXtv mwQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="Zn6/mtS4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j143si1914553oib.16.2019.12.03.11.43.21; Tue, 03 Dec 2019 11:43:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="Zn6/mtS4"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727180AbfLCTlp (ORCPT + 99 others); Tue, 3 Dec 2019 14:41:45 -0500 Received: from mail-io1-f46.google.com ([209.85.166.46]:39431 "EHLO mail-io1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726659AbfLCTlp (ORCPT ); Tue, 3 Dec 2019 14:41:45 -0500 Received: by mail-io1-f46.google.com with SMTP id c16so5130776ioh.6 for ; Tue, 03 Dec 2019 11:41:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FBemf5DffbM9H45GJNpf6XQTgytqS7SHwtWxDozwP2k=; b=Zn6/mtS46CfYNTBvL+G3gsuGdj1yDZoKrME2Cm0wMQCY5fjcoWvefbN1CLMGjmOJA1 9WC2PCtFU8/4Vfd86+YWCUQIvD9IOjXz34uyx/oizThOidMc1Rr0u0foU+ENh1eWzRRd 6l8ow8Ls2e3YVJifDJ0mtA6n/3ev0jFO8JJ+Tetw55fE3BZW/65tDfu58DYHWpL900Hb z5JrdoFih7F7WjFZ6OB4c0Tm/Qbd8PQ3GaRoIQa9kfq1Db5dV1NprGktZwf6GGHsNcmE YGHLmKd1Je58e3wvoMtiPxTd4xKzZD57TXT4CL0ZVrlbTrU3JZaYltoYxGOJIFmjwp54 a48g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FBemf5DffbM9H45GJNpf6XQTgytqS7SHwtWxDozwP2k=; b=Gwdqz1TlpRUQ5Qd47+g0Fn9cAyTnEdjsOcdW2yW1e914PpzURohKVznA90aRVFG3AD Tx4ta4RmeFsUHaquyh746Rrh7dg0ycuTDXVYt6OCiT03Fz2UgRnBtkH+uAMSL6iKvz1s BGlXJ3jB6L/D8QF/BmrMSTq4xZmRdzaHs4Ebz6XJmJtdZpZ0gcQvWxXyRVeiuPTHb5qm Dg7wNBlUwyntS0VpXIYTstAP8QIgkAatQ+xAs3IUvKM3mhN9hsjbkASBxJRI6MC+0MwG wSHJyJYCzQUynFN0TQ0AB3oUeJlyTe97h5DdB54WEqp6zecLPNFpG3uEtCcSw2IpmS1t OP9A== X-Gm-Message-State: APjAAAVSHHh6iOrVEAia4uFRBNMY9nByMVi0hfi0ZZgrsKkRIabo7WT8 QzYE1dgzdfH3yh9yKWkw520iGAiLQH12JR9fBFXnsQ== X-Received: by 2002:a5d:9913:: with SMTP id x19mr3905793iol.46.1575402104183; Tue, 03 Dec 2019 11:41:44 -0800 (PST) MIME-Version: 1.0 References: <20191203004043.174977-1-matthewgarrett@google.com> In-Reply-To: From: Matthew Garrett Date: Tue, 3 Dec 2019 11:41:32 -0800 Message-ID: Subject: Re: [PATCH] [EFI,PCI] Allow disabling PCI busmastering on bridges during boot To: Andy Lutomirski Cc: linux-efi , Ard Biesheuvel , X86 ML , linux-pci , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 3, 2019 at 7:30 AM Andy Lutomirski wrote: > Would a similar patch apply to non-EFI boot? That is, in a BIOS boot, > is busmastering on when the kernel is loaded? It's only relevant where firmware configures the IOMMU but then removes that configuration before handing control to the OS. I'm not aware of that happening anywhere other than EFI.