Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1122334ybl; Wed, 14 Aug 2019 11:04:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqw6zddquv0n31UZUsub1pGb2gRjISNwfZ/ens5jO2TPh1eMDlIRy89AoBQcRPvuw47jz0c6 X-Received: by 2002:a62:db86:: with SMTP id f128mr1169210pfg.159.1565805890988; Wed, 14 Aug 2019 11:04:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565805890; cv=none; d=google.com; s=arc-20160816; b=qKCcuJlOlWALItPgcPANM9eG4lPIDS+rfKED38QSfgkj4W9PBkyNALlxlSqxmn3xml zqEo5O9xZdtrAY7UHALFSZ/U84i5UsrUst+F0gJp4fpxNmfbZwJ8SvSnPID0h+82uSnw CHWkWOrsbGd9jgVZ8BXiRNKtVFK3dw9UYWuBIuylqR4sjYWFty0xezquRgjVqii1mQzI yMkL4yK9KV3k48bgKGAK3VRTFNyqUQgjvMB9yJansIFk2bk0rLHxUGeZcZA/7bilUBZM VorCd1iPSjoPu8ev7ArhdKVprmSZJEO1ItBEPHckbwM/XZVIrVGeJ2QVJOym1jnNTYIe JexA== 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=4GKs5FPWymwQ5gbNZtdTdyRE1Nom6j8+Rxk1X5Ak3ho=; b=PGRHzg5yPFanx3YLDkbNXKBS8hDzDe8rBUzmioezehdYJNNwwcmCOPeQitkgZVZBrh JAEpmpeYpQeub5kWYULeZUrLDoZAglaOE9YfEsOGs9LJ21hvHeHb0l5QlSo2FcY4rfFC P/aEoatGwy1gQvo1IIpPKfCzevlKM5GUuvcxqPWbsCZqig702MoQnpmGLC1R0hIdTZHn IYLpTxH6hmZQzgWQ6gXWP9RK1fs6zL/fK/H+0BE4jHJj9BzL0/ckMI2zTp8/2unsm6Dg 02DLJ50BEHj6GNXmBp33GfmuOK2MdNxJQcS3b5H0XaQqDyd2S7xWNEdjQGz5aDyc3oCM lZhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ux5jbquF; 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 x14si270199pjf.45.2019.08.14.11.04.35; Wed, 14 Aug 2019 11:04:50 -0700 (PDT) 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=ux5jbquF; 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 S1728780AbfHNSCq (ORCPT + 99 others); Wed, 14 Aug 2019 14:02:46 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:40675 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728301AbfHNSCq (ORCPT ); Wed, 14 Aug 2019 14:02:46 -0400 Received: by mail-ot1-f65.google.com with SMTP id c34so7171otb.7 for ; Wed, 14 Aug 2019 11:02:45 -0700 (PDT) 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=4GKs5FPWymwQ5gbNZtdTdyRE1Nom6j8+Rxk1X5Ak3ho=; b=ux5jbquFlU00xiYhyCHomWd5e32yEqg48ZmXd5Kocjz5nhLaYh6WxI9VNlnCNfdxXe Yiip9K8vSXkS/iwxJk5PeIQ1aniVfrXPti8aC2lM/bykilrlvCUl16CRS2nKiJhmNlmh CWonW6QNpGzk7nOcd7UR0Zb/ewa6RGZ1S5JFj73exIoBaDEtPZ4R9pSNe4S0BxWBKsYn 2RqAWQFosegu+aSrRCE5Gt3tAK/jb5qTIhRDF7Ty0EJ3W3EBXWcmX5wuXfXeGMsShLre lP9LQKbLCYB17G8cXA7Sgq7qyhzp8TnBxoz+XJ5SDnfoOqDCUh8upgGBhxaqLxoMixrj XN1g== 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=4GKs5FPWymwQ5gbNZtdTdyRE1Nom6j8+Rxk1X5Ak3ho=; b=cQfahDX71MzeArbv1bVgHkdrA9WNjPKjYGUGtmYmuaTyFvaxoKiuumlm4VjHRGjwqI r4MBmvPIkPWz0MdsNGh4JhC3MyN+mN5xBHVAfqxlG8FUUUDEEBxpn/6RkhWNUKk6iWsU AARaZBqCPZ2FcGq8O4Lf6cNLB8u6iGDGgCZTRfqETr9HownbnaBcCMZkAro1QU0WJ3pj skfQp4ks+dYFh3WHy2uEJTz2ho48XhX5IwIaLWcTGN3+x+vEftx0zSiK6eYeqLGo72ST VMKbRpLborK2y6jo0TobQYKcL9GhhjXzI6hNA9JMSR2oJDrBEQWVXGpw6xykyd81ieJz dglA== X-Gm-Message-State: APjAAAVOiHFucEr+B3/jrz3b2Y4kAJVhhUzg6Xku0L3XVuwx+xd/R1SC wr0L/CPi5wn5mVOJnvwEtK8/rjsBgEVK3mAaWrb+4A== X-Received: by 2002:a5e:9404:: with SMTP id q4mr1266718ioj.46.1565805764794; Wed, 14 Aug 2019 11:02:44 -0700 (PDT) MIME-Version: 1.0 References: <20190808000721.124691-1-matthewgarrett@google.com> <20190808000721.124691-16-matthewgarrett@google.com> <20190814072602.GA27836@zn.tnic> <20190814174732.GD1841@zn.tnic> In-Reply-To: <20190814174732.GD1841@zn.tnic> From: Matthew Garrett Date: Wed, 14 Aug 2019 11:02:32 -0700 Message-ID: Subject: Re: [PATCH V38 15/29] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down To: Borislav Petkov Cc: James Morris , LSM List , Linux Kernel Mailing List , Linux API , Josh Boyer , David Howells , Kees Cook , Dave Young , linux-acpi@vger.kernel.org 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 Wed, Aug 14, 2019 at 10:46 AM Borislav Petkov wrote: > Yeah, ok, I see what you're doing there. AFAICT, you do that in > > setup_arch->acpi_boot_table_init-> ... -> acpi_os_get_root_pointer() Right. > I hope nothing needs it earlier because then we'll have to restructure > again... Passing the RSDP via command line is a pretty grotesque hack - we should just set up boot params in kexec_file, which would leave this as a problem for legacy kexec and nothing else.