Received: by 10.223.176.5 with SMTP id f5csp2369673wra; Sun, 28 Jan 2018 19:04:56 -0800 (PST) X-Google-Smtp-Source: AH8x224MvWOIIc/IzEISU/FuUfUKsIUoBdkxjcybNJt2GM6osUAu32A4rs637OlTY0c8shUVRnmB X-Received: by 2002:a17:902:8215:: with SMTP id x21-v6mr20709366pln.381.1517195096770; Sun, 28 Jan 2018 19:04:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517195096; cv=none; d=google.com; s=arc-20160816; b=nMlwrrNmy+Op6VZS4r6ehGkTU3lQJLtz7g/+b6uaY649S1ZcW/T/iwdegjp1V4bFbs AQIJ+Z6uOqpe4rGvnBpuHEaA8Nx7dj5eghFjiELy3S78x+A8eoOLpnjlkgQOUp53GIHA FKcUBFyXrQhWtYawMkUn92RT9XK5NZDUFCbIo4qMPpEPSdL+SF+blW77QDeF2u/WULcx t6zbCkMOlt6V2FbcPxUURueukrfN8A/0Slaklx4fuKL1iJzAxUGS3muCgGSVdmjlJYAK 6nyyvxwqh5CTAEB+axaOaGtRBrxlPXiHbsrkRoIUvFDqpTkANzJNMUnJ2NwchseXQRaj XBRQ== 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=Owz80WqmB5yB1HZvIkFPnEAanrkcTNXGUUp37VGVtj0=; b=hQ6d2Cp1WlKuhWQBOE3HNJ0d6KRtW3F7x28i1bnUk7v6zXR/4+CvjMLKWtm53UyLUH JihWI5+qEYXahFMN/qw6yhPfa4mLzaWVJTkOYTP1irdWbE/OsWxWuYQxm+KoI5HrwZp9 KjkmSyXjS2qx5bJOhMTOrTGoWaI7S2eVN78mrt6dSVcLASXamzCBMyrRUNMQ9kcKrjxS 2hAIrxELyODuRNtaDqTKqot2Wt5X5VTkFXBrCvU42nsJq5tYryDvIxbokLmk1ovPF21s QotjCGOReBbtNIiGEu6K9zAc3EDjgTUpT0tzK+ZQ/KZ+i1DYnvt0irRzChoRyzeNlaLj 3McA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=uQqRLTLr; 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 v8si3547648pgc.32.2018.01.28.19.04.42; Sun, 28 Jan 2018 19:04:56 -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=uQqRLTLr; 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 S1751805AbeA2DCj (ORCPT + 99 others); Sun, 28 Jan 2018 22:02:39 -0500 Received: from mail-ot0-f196.google.com ([74.125.82.196]:40081 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbeA2DCh (ORCPT ); Sun, 28 Jan 2018 22:02:37 -0500 Received: by mail-ot0-f196.google.com with SMTP id x4so5222812otg.7; Sun, 28 Jan 2018 19:02:37 -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=Owz80WqmB5yB1HZvIkFPnEAanrkcTNXGUUp37VGVtj0=; b=uQqRLTLrvUP3fQMmsrw1sTRcMTXeWRx615nGZufzNsA/LFXh18lN6kcbMg77ph399g Xpuu6UJ5ofhCReM0MiNq3hT3Kbk5l3Fu1KwGVfKbYC5xiDc44mnJeOhWtUHZr5S7Uz+k VIwmCpaRkMMF0TcHiGONTbpxyMIeJUJLMAOd72cO6wtnuArLLkE8VdqTtiSMaJDHWRMx ueySZzVXETpUKVtn//tcfKTkxR7fY999ICdA7CgY/6qB0YmLDIr/ESsqf4RVMOFytRIE tqDVHwY4C6EqAGEhq51fccFc4EOWa944BjvlKo8EP9MUq+IcC0nVfPMJaD87gv1Xzr1y G6lg== 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=Owz80WqmB5yB1HZvIkFPnEAanrkcTNXGUUp37VGVtj0=; b=inQG2puHFBrO5lafCT90BvPI6Mklls1NqzTnH/kxM/CR4bej2djj9DottJCzxTvROY vQnisNJxQpiThoH8UjYDdij9IO/yx1KNORUeSPNftgTcmczu5UDj9lx7CyxkxjSYSw+D 0ey1VgINlYdH/OXtHOEMKPlgB3T/kHb2crM/0ziZLvQrJt2XLmp+xAD/AL8OoBl2qLme ieymASn5uphT5PrYCvQDoKnaqPJvS84wv4bU0ZkOH+Q+XbaS/gBktEHHIouhvm0uxQo+ v8eOX7DMkCBEyU7K9u39j6aJfpke3Q+zSx9ACvqcRgh2HXn6t3Uf51+ge0k68sTEqGsG PqlQ== X-Gm-Message-State: AKwxyteImSxiMykrwq2u/6oNcv/l0M6feyUK1jPyJGjBsat4oW0LqCFy HLxWGl4/vz2HjShsWAsW9FzXaN5lqhwWuFN+Q80= X-Received: by 10.157.0.184 with SMTP id w53mr747544oti.367.1517194956539; Sun, 28 Jan 2018 19:02:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.46.234 with HTTP; Sun, 28 Jan 2018 19:02:36 -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:02:36 +0100 X-Google-Sender-Auth: yRu5mvHSr90OtRQfaRsY8ghcaFI 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 Sun, Jan 28, 2018 at 4:04 PM, Andy Shevchenko wrote: > 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 Maybe I'm a bit slow today, but care to explain what exactly you mean?