Received: by 10.223.176.5 with SMTP id f5csp2902227wra; Thu, 1 Feb 2018 07:47:09 -0800 (PST) X-Google-Smtp-Source: AH8x226C4Tu/xLi4SouNr6v3aPZ7oLz0vQl4eIEcmTXT0lBHWb8n1ahhYN+GUC4jvb4nHg29hiHr X-Received: by 10.98.23.23 with SMTP id 23mr37837489pfx.179.1517500029707; Thu, 01 Feb 2018 07:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517500029; cv=none; d=google.com; s=arc-20160816; b=g5/Ahex5SkxgFXnxAs52pFWAnMS6kyRNhdfXUdvM7qgLwtFw7PiRuZYCeKYWLXBNEZ oeLhWSMuMp5yrsypmsAgKupXcGo9YsSBT5rKaHmbUx/tQ0OGUBPz4k/HbIjtkHsiG2/R CKKA+R3AfbKaHUgYJZDwYFFJBm81di54BOIkA9EJgSW4CX24yReEuueNQnmJr/zvtZph QlKjpGZA1Y0vVJ47+DVEKA99VybIBXFhnncc/gUgK3LCyjhx10ack8IG+CDqQIz2vQ1f bnwO6BmCBeGQrOdJCd2/bp98++D2OLFk6QfowVIdoy9UxgcGw2HZ+65RVP2dRBskbiHs 3m7w== 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=u8mUGpjbSl+qq1GMkeQDLaaCYHj3svj9r5A0PRWe8MI=; b=sRosiUuUBieaVYiSpHHNfR2q5jCDJ5qYsxVf4WfS6EYh2rI321pTHC+UPDLDY6VWZR lW84LmpQ55jlPmo8J19CTMgeuhY1hA2KLRJ8Rjax38fZIzfKqVpUmcp1x3NQ+emHz0UP NhRZFauqSTVE1JMsoVixhQe6AyRBIjSON/OYlRe5qLDbQn6Yul+EL6hKJO6PnJRZ8JON AyS97wPftEcLhZHaXfEc+TFGteFspGpiREVhHXsdRLFgGkPMGJEukj9l8OIhq3MoXiGJ wUmNO8Jw1XnZJgUVQPZUQMEj7johjucJl5oYkRPhzIaJ17kGI7obXDbmAq3Gr2IJWzkp Nc6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qn8Ip7KO; 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 g23-v6si23659pli.195.2018.02.01.07.46.53; Thu, 01 Feb 2018 07:47:09 -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=qn8Ip7KO; 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 S1752236AbeBAPpH (ORCPT + 99 others); Thu, 1 Feb 2018 10:45:07 -0500 Received: from mail-qk0-f181.google.com ([209.85.220.181]:39798 "EHLO mail-qk0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbeBAPpD (ORCPT ); Thu, 1 Feb 2018 10:45:03 -0500 Received: by mail-qk0-f181.google.com with SMTP id n129so9180165qke.6; Thu, 01 Feb 2018 07:45:03 -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=u8mUGpjbSl+qq1GMkeQDLaaCYHj3svj9r5A0PRWe8MI=; b=qn8Ip7KOlqpuX1RF9EHr4GcB9imNj0Gjn7981gSip9JQFt7Kj6OTrRoQfWvBwdR/1J MZfuj1C7QvUmRZPei8fP4YFUXJU9kUOtzzNO7Zc2lQ+i9zF/fS1+5kV1CyRaozREWDmK bjaqyiyiUhMNYX2lBiuQ9awYgajxaugkfvW8+fwfBDUZtdE6zIb1VAWQiF2FceZZdr8V 2WZk9x7eclerLne+ObS8gSjMzcbAKFDKzB6ktov/EQ3gXOAOA0JH0lfet0bDQyo61z7J XJlF3dDv8zJ86XL9DIkOGXT47UA3n2HJPq8zEmDEi4NranjTeyqUt8NjZ3wDuDZX/Um6 fogQ== 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=u8mUGpjbSl+qq1GMkeQDLaaCYHj3svj9r5A0PRWe8MI=; b=Ujhv6yIDB5jCaWF3GC/cQVl8k3h5mcciIkwHrdc8dsGqosxGSgiU3JwivROxE3J0y1 BlXaTYA/k+Ilx+cv+61hZbb4V4wqk8Z0R3EtIOa06ZntiPMBVpU9gpjZIg7FT/gnJ384 /mZv4rmO48TDfRgCyJwoT0JrX1ieHaRyRiqwcDYA/B7opwNan3bLvPVwX3f7O2suSt43 mfLWldewOagt92cRpNgsHH9Sh5y7GEBD2qqMftxbEtGtofotN1sgOlbwEh6YdkoxRTEi f0GfLfzDV1AttPrcxUx1Fsd2CXpWtGBGPuAOSKzCasf/ku/NUkA/+HP5RO2Vk6n8Yx9b 8p8g== X-Gm-Message-State: AKwxytc4ssi2A4RIGXzdXXdXeEmK3eUShbSQYqecUWrD2vxPaaOUbEn6 1b3jES7EneMUO7baJpEe3y+SG7ihMKzDYmOlNfE= X-Received: by 10.55.180.65 with SMTP id d62mr28910873qkf.242.1517499902761; Thu, 01 Feb 2018 07:45:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Thu, 1 Feb 2018 07:45:02 -0800 (PST) In-Reply-To: References: <20180125143639.9969-1-jgross@suse.com> <20180125143639.9969-2-jgross@suse.com> From: Andy Shevchenko Date: Thu, 1 Feb 2018 17:45:02 +0200 Message-ID: Subject: Re: [PATCH v2 1/2] x86/acpi: add retrieval function for rsdp address To: "Rafael J. Wysocki" 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 Thu, Feb 1, 2018 at 9:57 AM, Rafael J. Wysocki wrote: > On Wed, Jan 31, 2018 at 4:43 PM, Andy Shevchenko > wrote: >> On Mon, Jan 29, 2018 at 5:02 AM, Rafael J. Wysocki wrote: >>> On Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko >>> wrote: >> Instead of declaring function as __weak, establish a new struct for >> ACPI related stubs and incorporate it into x86_init. >> >> That is my proposal. I think I would go this way in my case where I >> need to treat differently ACPI HW reduced initialization of legacy >> devices. > > IOW you'd like to have a set of ACPI init callbacks that could be > defined by an arch, right? Correct! And since there is another potential user (Xen) for this approach I consider it a good chance to be chosen. Though I have no idea if Xen can do things differently. -- With Best Regards, Andy Shevchenko