Received: by 10.223.176.5 with SMTP id f5csp1724340wra; Sun, 28 Jan 2018 07:05:31 -0800 (PST) X-Google-Smtp-Source: AH8x2250eiVPBGuQpfF0r03oethO6bFgP3v3mBNKaoP+eRk6CWDIHs3mafPZlCEbIwquspENxQ4K X-Received: by 10.101.100.69 with SMTP id s5mr20090047pgv.88.1517151931264; Sun, 28 Jan 2018 07:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517151931; cv=none; d=google.com; s=arc-20160816; b=1CV6p2KFR4vFjoUzAna7CMXsPKZanpyc/opDjOm2TngM+Prq6XuTEgeGyvOMIpBAyw BuNQ5eVf3FG6Gq7m66XAW2cHa4KsdFp1KJBsvBFbVru45s5geXsodE8PC+nk7POWQCjY fiTF0NihBkGU20/qtk3AOpImrgzA2qWQPv5PSHidDk84Y9n5Gs0yRsRl4fCU93HZXsjW Su/gM4MPm+y1qS7FP4e3LR292s3L/fruiCOAuOuNcSYHz3MhEqLhLHkh3JTzjlm5Bl+R IUKmTNH8zbH8KkryW4c0w3N7y5JrP0Cd4sEbtFbdEiZLtHpTVH6SEC3LkLi42CPMS0Zv RMxg== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=MIdAZFCEaDjaehMUBv68LWYrVMmAuljXw77O+yN1/J4=; b=j8rSnAxMzJ7pva7yft7PJigURADBrR6TynyoYvq/otNG7lPVJ4IL+zCh5lXt/w8Hsc svwvt6kiYTYniOm8RL3u/SL9+lXHvS1wRPDgpAPYaUarP9V8ZCmE3DFOEAQPN5HZhqc/ kNkBM9bnrJL9PUrksBx4debzZEldyahgK/mXK6Cy9IRyyiGFdr7GdCNnW42MVdI7LLD0 Q5Yy3QjSWgq5NghpmZFkPuFWxlFlZT6Ocd93VhZ1F1oXsGGcPHzsnf3+d8DdyH6H9Qij HaMowk71WtrHvjpfJlrtlkAitWiXWveJKC2WPns0l15A+MYz5kd9jwvh12Q2eD6TD4gB QXyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RjFtQa6E; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si5824844pgn.78.2018.01.28.07.05.16; Sun, 28 Jan 2018 07:05:31 -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=@gmail.com header.s=20161025 header.b=RjFtQa6E; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966AbeA1PE4 (ORCPT + 99 others); Sun, 28 Jan 2018 10:04:56 -0500 Received: from mail-qt0-f194.google.com ([209.85.216.194]:34330 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362AbeA1PEy (ORCPT ); Sun, 28 Jan 2018 10:04:54 -0500 Received: by mail-qt0-f194.google.com with SMTP id a27so9797335qtd.1; Sun, 28 Jan 2018 07:04:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MIdAZFCEaDjaehMUBv68LWYrVMmAuljXw77O+yN1/J4=; b=RjFtQa6EbNQDQIXlCZGnrEfeEeUi0skzWajvBvxZMBHyZPvrs8gQdU3hHkSrw6nGsg CWKiQeJxk7kpZoHtlta9V5D3Tk74IvzXFtV77r0XHrtIAs+tXS4qUlJrwDGKVqNGmdRJ RaMaHj0S2fmMquaL3kM0BJUwyK2IpP58pm3X51G5CgmJ7L4tEwyCvkGLpwiizUSiRn7L zThZ0E323G/dXtAwerbm+SrpHX8+bkxn29lnaM64J3/YGDE6wwAUB9I1A6VCbYfDIfLv lPpGhzU8/a/5Ef5DQeRRm4HF+/F8C/Hps5IyKiAQz2RHtWbzvfy5t3iOAl+QAWm7ED86 FkeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MIdAZFCEaDjaehMUBv68LWYrVMmAuljXw77O+yN1/J4=; b=FiKbWGECgRhLIL3Iw2G0JzPfWKh5iglHjC3ATo6nIy8RRcBVU24BUfOYdk1fzmKNOH jpgBEmjCI9rimHSbUkWWxoBwgWLlc0qkRD6uPr/jcRvsvqd9eRyAKnV2ka9IjnU16+Nd F0JiXpmvAdEFW4fjD8iQPsFdvGSTWw1dxn9oDaTVxhSG+RBEJfpESBmxjtFWoDjBqMZU ea47gtjx823ggdxPq8BlXTHkSsS+zu0kluGuWe/IT/5UwuRfdvhEf8cUfTRYTdgcYAR8 Za+Dh/PJg8ZvSx6fWvDt9rEIYUDbriOodPmcYz/L2kmncz4o3CYgh0clJthJN6ZdINX9 Vajw== X-Gm-Message-State: AKwxytcorLRxzAe9bZBaXEYJZvPlX7fP1q4tk0OrYuNLC3TAvfvZ27yp K/KAE/0s6Kr4R+yseV3H6FE+AX9trfFNrMc1fSI= X-Received: by 10.237.32.68 with SMTP id 62mr27544423qta.340.1517151893968; Sun, 28 Jan 2018 07:04:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Sun, 28 Jan 2018 07:04:53 -0800 (PST) In-Reply-To: References: <20180125143639.9969-1-jgross@suse.com> <20180125143639.9969-2-jgross@suse.com> From: Andy Shevchenko Date: Sun, 28 Jan 2018 17:04:53 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address To: Juergen Gross Cc: Linux Kernel Mailing List , ACPI Devel Maling List , xen-devel@lists.xenproject.org, Len Brown , "Rafael J. Wysocki" , Ingo Molnar , Boris Ostrovsky , stable@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 Fri, Jan 26, 2018 at 8:21 PM, Juergen Gross wrote: > On 26/01/18 19:08, Andy Shevchenko wrote: >> On Thu, Jan 25, 2018 at 4:36 PM, Juergen Gross wrote: >>> Add a function to get the address of the RSDP table. Per default use a >>> __weak annotated function being a nop. >> >> The problem with weak functions that we can't have more than one >> implementation per kernel while we would like to built several code >> paths. >> >> I have stumbled on the similar stuff and realize that. >> >> Perhaps, one of the solution is to have an additional struct under >> x86_init to alternate ACPI related stuff. > > I think we can go that route when another user of that interface is > appearing. Why not to establish the struct? At least this route I would like to go with [1]. [1]: https://lkml.org/lkml/2018/1/17/834 -- With Best Regards, Andy Shevchenko