Received: by 10.223.176.5 with SMTP id f5csp872559wra; Sat, 27 Jan 2018 11:29:39 -0800 (PST) X-Google-Smtp-Source: AH8x227Vd0v5sH9zD9F+SX0a/oPwqwNxKWAzhlt92+fYnSdqhMlQ5STQ7eEe7XuU1z3TZQhIaCQ4 X-Received: by 10.101.96.78 with SMTP id b14mr18666684pgv.339.1517081379728; Sat, 27 Jan 2018 11:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517081379; cv=none; d=google.com; s=arc-20160816; b=ryxkZcRLZRQi7/PEiI11/TTyqRTPydGMF8qfXu06G8LVLRAxLLujnCPf9hbIFPahip 1DB/o44/N4geCGZ3+K6wFIO8HCQSs5fKcO1I+xVx/Y+ThXhIenYCbPGprdXUZzxWhQlt QHtxM191cevTMxJqXQbwvoQcKFRp9XoBs3W5twuFoDY5HQFtxaRX9X/KuN74DQfiz3nx A6KzZkYkprtrjBtONt06Z4MVYOy0U94DiNZT+ps+xHEGs0CU+PyGUa1Gpyv0r8mSY83n hWqeQr2VwAhHbGKlVd6B/RJN+Xwj2HZXI/3wqANjwDgEHYjKtoTX3Db6Lw4Wr1/E3kOV +q4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=Vih9RrakvP+X4IMZnJJj8oU4U2SS9AkrgrrUVRI7rhI=; b=vJSZpxDnHP00JfE74uxjZOuixI5jwpf1RUaigkobj3L7xjSJImDfE20xnIqh//AF3x shuzkaVcVdSUoLnUMCx0jbwLNHoCXUD+sR3Y4c1JHvGOOTbN1r8DhRpohfyOeUQFdEK9 AWzzZfowyyGHreJUFpSkchWmuqUGDfjY2dD06c7zCYmuOjq5EZnoTjEbGC/h/C2lbVAw f5w84l2aiHnTYQSf6g8YG7gAoyRA5SRClzHgHL2GRmc0P7PE7df7TcURxFnCS7NXYLLT kIq2nRkAWkK1bU8wBp9+8jd+E+MZLNb5WepJK0rL7Ez2Jp68wPRII/qGnCWKWOKqX0T/ WYNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si8429716pfm.305.2018.01.27.11.29.25; Sat, 27 Jan 2018 11:29:39 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752626AbeA0T1s (ORCPT + 99 others); Sat, 27 Jan 2018 14:27:48 -0500 Received: from mx2.suse.de ([195.135.220.15]:57613 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751940AbeA0T1q (ORCPT ); Sat, 27 Jan 2018 14:27:46 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CF1D9AEDB; Sat, 27 Jan 2018 19:24:10 +0000 (UTC) Subject: Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address To: Andy Shevchenko 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 References: <20180125143639.9969-1-jgross@suse.com> <20180125143639.9969-2-jgross@suse.com> From: Juergen Gross Message-ID: Date: Fri, 26 Jan 2018 19:21:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Juergen