Received: by 10.223.176.5 with SMTP id f5csp2369594wra; Sun, 28 Jan 2018 19:04:51 -0800 (PST) X-Google-Smtp-Source: AH8x224o2Ug47vpXcYgsQRdaTLzd1TMvfWZ/JWTzJMZOXBy+TDBBbWjiz2IG/I400f74Poz4EE0u X-Received: by 10.99.149.8 with SMTP id p8mr19650585pgd.186.1517195090911; Sun, 28 Jan 2018 19:04:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517195090; cv=none; d=google.com; s=arc-20160816; b=W1e9DjkqW9xELZGJaYpK0/hnwcrDchgj8oVpFQemYWWqlEsxLYTCJuonAV9E3vxcXM mdTz0e+e7E9e8h1Qj3t+5PpY6zc9itarDM14+IHb3nmIc05GmeyA679uhNoQ0WNDHRu6 DcpJEOrii7C3y6Gq0NaXvZHvX6Mr085JorRj26FXGpX4o2T1TtXkKOhnD+903wTz81Ci QhJG4fH/v8E8dQqz+OEpWWUdcgPGknJ4KfXGa1KQ+8PoaE+p6S4kjVGhKISFayt1xPRO ViziuvjMmNQL0nCL0YFlQy59/E8xhbMONc2A6A8jIaYhiaXYNm0wtev+5NcaK9HmKaWI E5Rw== 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=9I8juzm1T8vdgwKiayiSVPCZg5qrjttfZ5tjFygO1hs=; b=EawdjDT2b9d2UiOG1FvzfwqUXG21bf7cVeWewM3dzt3ehoB2R4tuNRs0x8GbWQgMIs H9em4px/CZGNjs2LAkcmSlVdr8sfpecvpHRNJNVkzMOmLAx7KvW3NHvm/JB++LXc7kYK 0xAmv14Yk/C1AtIMT1bSL/ThisQ3Rn1g6xE4bxO1PF5NLjq96EwOo1HX8kSS/i2zHS9E +ey71UG6limDUgbvO76p9xOyvf+5Wu9zzNhR4YnnNaMSC2Z1beqGHlLCt08TQBUnnKnV ptWvceBsfnuwJDLNvjkw4s7X5yNgg2jyYYxeMTq+LeYLD9yZqh3zUCRs7PMyiRT7LWEb KDeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=Qc7s+uPA; 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 x11-v6si8184422pln.665.2018.01.28.19.04.36; Sun, 28 Jan 2018 19:04:50 -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=fail header.i=@gmail.com header.s=20161025 header.b=Qc7s+uPA; 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 S1751735AbeA2DBu (ORCPT + 99 others); Sun, 28 Jan 2018 22:01:50 -0500 Received: from mail-ot0-f194.google.com ([74.125.82.194]:36235 "EHLO mail-ot0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751464AbeA2DBq (ORCPT ); Sun, 28 Jan 2018 22:01:46 -0500 Received: by mail-ot0-f194.google.com with SMTP id f100so5222395otf.3; Sun, 28 Jan 2018 19:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=9I8juzm1T8vdgwKiayiSVPCZg5qrjttfZ5tjFygO1hs=; b=Qc7s+uPAnfjrKT1pQidUPIci30tLr6IZ3D5NsAyrTujFfbPvJskx79sFMDkEdN27ou T7UBx0zWMhNqZh2Sf6278rcrgfzKiMQgncVTKPTsqsUekHd8fSy4xttpSjH4V+Z5H9MJ EV+BsRehS7aMwhw7PMBLm4bk0vh291JLob4Rz9gz83GtSI3zr72Rhzf+b+UQ8punT+GX 2aLuXLhJHJSE/XPTPGoWVvvDWaH6JXXRtWhxdGUxdjIrB/HeG+7Opf2/p+08dbvZ87Hc 9b71D0j0V/X9LreYRvw9ZNIy1WZpLp0lZOBuQ+cpS1EusIRVDohWUBgeGXPVBEHB30LX h5FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=9I8juzm1T8vdgwKiayiSVPCZg5qrjttfZ5tjFygO1hs=; b=SWeY9FjFTiZ5aKBmEUTdFOxKkMqCtBPAbRjnGHo+cYEg8ScODyohGMeewFGaOzFTKb oKuGyHj2efLvrplkGVJXKtnqglSdPkiAGGA/uZbw67wGL/C0f3IBloKTSd5jmskCezyG Y3PRmY69UgdKUlDtHX6ht6rjFxedvLutO0TZ0D63tsuxQbTnIxBFthhmKHvQTLyxmGKe l3DW/i3RysVrCkrl69wMWiJMtRtHfaBhkfm6/pbbaSkx1TRZQpm6c6ss4Wx8Aob4Kjc8 eqLW9HApyc7Q95tMpCbSwegCoiNBRktrpX17JhmpSOQziaSf10+8hemXAWLV6Qx/J1PK Y0Hg== X-Gm-Message-State: AKwxyteEMJkACDemHCGqLcMLqx1+K9j+fi4kriDSr+oeiClBTheFvmVm 2MbYfZU8BwJ13XVGhgnt558lDj2flRsSo+lblH0= X-Received: by 10.157.97.30 with SMTP id i30mr5523286otj.174.1517194906052; Sun, 28 Jan 2018 19:01:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.46.234 with HTTP; Sun, 28 Jan 2018 19:01:45 -0800 (PST) In-Reply-To: References: <20180125143639.9969-1-jgross@suse.com> <20180125143639.9969-2-jgross@suse.com> From: "Rafael J. Wysocki" Date: Mon, 29 Jan 2018 04:01:45 +0100 X-Google-Sender-Auth: kh1tEMyRFn5slE05XkSESFTVVD4 Message-ID: Subject: Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address To: Andy Shevchenko Cc: Juergen Gross , Linux Kernel Mailing List , ACPI Devel Maling List , xen-devel@lists.xenproject.org, Len Brown , "Rafael J. Wysocki" , Ingo Molnar , Boris Ostrovsky , Stable 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 7:08 PM, 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'm not sure if that really is a problem in this particular case. Why would you want to use different RSDP retrieval functions for one arch? Thanks, Rafael