Received: by 10.223.176.46 with SMTP id f43csp1000776wra; Fri, 26 Jan 2018 10:09:31 -0800 (PST) X-Google-Smtp-Source: AH8x2255bkq+vQjH4mRwJN/RcX9sIUpzc1NByzrYdloqqOKLaQbv4sUOoCxwsrF2Q4BgIEZM9AaR X-Received: by 2002:a17:902:4181:: with SMTP id f1-v6mr15075634pld.59.1516990171784; Fri, 26 Jan 2018 10:09:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516990171; cv=none; d=google.com; s=arc-20160816; b=Nz8ZICwiWH2XpPFBbLm5XDY4r2JF0KsZR/dsRekyeOG+nOyMWfMhNEsEg5hlkGF4iP 1tcbYfqtyOMMbiCAo9oQV7FHOGYbaBMCyCoJasnN3TdY66AxzFpn91UPlWaGWCx63Kbq hZCp7E4jhuHZoy8A3W1PIeveOZ439eQ8GHKeiKJXFFoQEHEjvDjWU4Y2efwau8RbrhsA kRoKZV/2d7uM/eKAwwcLnx8g8g7i1/JdPILk3C00NzwBB6S1zue6kIyTTghS8fEWdJ9C LvjFbU6zmfM8FkRvDq36+X0t6cqLuZqLV+2B/7v/RkANLTjsvhR/y+mi02L48o685FhL nESA== 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=JuQLO9OwCmhQqoxNjBbPI9Jbq8ZRk9vC9smXrvrEx7Y=; b=DsUQVd8jHZG4ERhW4vH03hq4Nfl8BzO1F0jTiBeaSSQn0qsUu9JcfZrXD994oF8b/g Qbsmg9MYlmAkIO2A2d4sdz3EiMUXfAopKxEbwpfG5nvLIDNTEwtMSQocdHMVmLWbJmne K5eX0RnCQxvkMcV5RnWeaP9mZwlFC0K8ezeQ/JU5hvt2ZMjZBEV1Fq2B7iDOTQMnXpkA 8092cFwzOajQycw8XUlyhiUCbj5U/Lx7wH4ZplkqSnR0/jJShFdiiBNth0y3uAVew8rZ gHQGEZGjzTXVVKGD7Vds11J0TfvqI9+Z+az8QSCpBBg/yyn/XVjfWKGpB0/nvfsuJtxw rkKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Q5RvwBYl; 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 x141si3262941pgx.601.2018.01.26.10.09.16; Fri, 26 Jan 2018 10:09: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=Q5RvwBYl; 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 S1751969AbeAZSI2 (ORCPT + 99 others); Fri, 26 Jan 2018 13:08:28 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:40221 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751506AbeAZSI0 (ORCPT ); Fri, 26 Jan 2018 13:08:26 -0500 Received: by mail-qt0-f196.google.com with SMTP id s39so3421675qth.7; Fri, 26 Jan 2018 10:08:25 -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=JuQLO9OwCmhQqoxNjBbPI9Jbq8ZRk9vC9smXrvrEx7Y=; b=Q5RvwBYl3+09MWmm3NPNaVsfb3lSUqrqtSbgFHJSNtbsNTxHFs7UO+bVKHCwfMkueZ uALzknB4Jf1jnIIACLKXpMbsAlkkzTcAbXKWxXYLUfAfKDHQ0hlKSMdc+i7AUhHADYu6 SQtOsmCpONDySYf70Cq4KxrD/s8a4CacF/etrWBugqYxI9vtGGdPuw6YUkDzRgokYmq4 z7OKgKmAQP6OFZ9WJfeQLy8Bs8r3VRTg/pOfhdAy658UHafqTsxYohV7K3qhomNHVPL6 jaH+z6gX9qhri3lD4IBnYxqgpW1TI4Frungs0U4xrnh7+eeE6AChW2FDG8XiFiQ8aQ8y cYSg== 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=JuQLO9OwCmhQqoxNjBbPI9Jbq8ZRk9vC9smXrvrEx7Y=; b=FcoVdLc2akelds/7MiAW03ruo/3Jx1GuzNIH7IiOVMpq7pAHQfLGu9G7bzDd2zA8fT tgj5Q6xUmnGEB/KrV/MUfCF9winFKGigq1uFda3YcG3lhc3O2tQfBF35lnh5YB//5Tga 23GLPAh1tpORgn/MeW9Bf8Y5X4rUVZIPOpd4JkwsAhlb9yGHpBXpsO7xj1K57b026Rs+ yMPiM9+9msa9Dx21GAKWLyFzGa/4AEAvx+UGwTdEGgh4O3lpkI/xLv2h5mnPyTP7dJWC 1noNTXu3jEJMDcrXwBwZ3Fkn9RlSBzIqL2OT8gGaF+9+KjuqoLugMoc+YOskt/I9EJWb 7Y7g== X-Gm-Message-State: AKwxytd4xw560DYIci4LQ9LO7Oyqu19Rteeq3S19UqZGoyHhshgi37EG Y4q++2co5+RhoIs2y1Jlk09Tdv9oT3viNE3tXxs= X-Received: by 10.200.8.173 with SMTP id v42mr22525178qth.162.1516990105299; Fri, 26 Jan 2018 10:08:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.175.35 with HTTP; Fri, 26 Jan 2018 10:08:24 -0800 (PST) In-Reply-To: <20180125143639.9969-2-jgross@suse.com> References: <20180125143639.9969-1-jgross@suse.com> <20180125143639.9969-2-jgross@suse.com> From: Andy Shevchenko Date: Fri, 26 Jan 2018 20:08:24 +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 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. -- With Best Regards, Andy Shevchenko