Received: by 10.192.165.148 with SMTP id m20csp1911925imm; Thu, 26 Apr 2018 04:07:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx49f4vMX10OFJ8j0qosyLc6Qh786bEY5A2cD+uMMn28yFvuPZFqEJff832XxTIo/b1X1dtGO X-Received: by 10.98.60.209 with SMTP id b78mr24202397pfk.44.1524740844726; Thu, 26 Apr 2018 04:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524740844; cv=none; d=google.com; s=arc-20160816; b=SrVVw62y3sYX40qsj0AoVl/XHkr+cPtS4yQw40vZQGRiZYOY9yEnEEICQJx++KQYN3 kTzPBVp9/Tn389aFv7dbGIBFectuUvzdyFzv6RbLGx/cZ24UI4y/3W31TLN5SLTgsO0t prRiuDwMQqxTbcUR2CMAuQN9Gb3DB7H7FwGc/PpheY0D1/aKtv3kcBmafJaYLtljuoy0 jPxXtKXOlPdJXyCVlJTaPkRGE9yyeC2AayZMMpu2uvtvq2IFkq7ynfMMh6B6NiPv8elL u1aINSvHeZKhqSS+oapzOKQFNSZGc4GInVM4EpM59vC5AkUHu1xdZnJ3FOAoMIfCVC7A +Kyw== 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:organization:from:references:to:subject:cc :arc-authentication-results; bh=YV+LZlbX4ZS056ajV7pv7buuQMnE8TkppPkp1YTXLMk=; b=fRkihkBH+iu+2wNZBHlky4YIKz2l785uycUUu7LBoVXAAh1La9AP+51VoKJ53Cp0y9 xAJmTvrtNIqevPzQq8D/YdrVUkPsMHsFnmkP+PUP7LQxrbps2OPQZvr3WuW/74Nu8TwT uxG8iNuqsV+uwAtY5T6M79Ha9urjL4/vjRMvTZDdiB0U1nTbDbZNy6TfEXj4qT+9FQJa Qo5ePk0tYxq7eWkdweMbkDjVTpeyhP0LSvlB5LwB2FOnNohqRH9mQrLwSc2seatPVc+e vI38WYG5il4WxGWMRrAjnh8HAPJSwCMfn8fFLSPlkgnB3v1RNC8dO1XtUVBbQ6pDbUtu QO4w== 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 q14-v6si17778326pls.286.2018.04.26.04.07.09; Thu, 26 Apr 2018 04:07:24 -0700 (PDT) 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 S1754862AbeDZLGE (ORCPT + 99 others); Thu, 26 Apr 2018 07:06:04 -0400 Received: from foss.arm.com ([217.140.101.70]:52044 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753879AbeDZLGD (ORCPT ); Thu, 26 Apr 2018 07:06:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E0FBC15AD; Thu, 26 Apr 2018 04:06:02 -0700 (PDT) Received: from [10.1.210.28] (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7510C3F487; Thu, 26 Apr 2018 04:05:57 -0700 (PDT) Cc: Sudeep Holla , linux-arm-kernel@lists.infradead.org, Lorenzo.Pieralisi@arm.com, hanjun.guo@linaro.org, rjw@rjwysocki.net, Will.Deacon@arm.com, Catalin.Marinas@arm.com, gregkh@linuxfoundation.org, Mark.Rutland@arm.com, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, wangxiongfeng2@huawei.com, vkilari@codeaurora.org, ahs3@redhat.com, Dietmar.Eggemann@arm.com, Morten.Rasmussen@arm.com, palmer@sifive.com, lenb@kernel.org, john.garry@huawei.com, austinwc@codeaurora.org, tnowicki@caviumnetworks.com, jhugo@qti.qualcomm.com, timur@qti.qualcomm.com, ard.biesheuvel@linaro.org Subject: Re: [PATCH v8 07/13] drivers: base cacheinfo: Add support for ACPI based firmware tables To: Jeremy Linton , linux-acpi@vger.kernel.org References: <20180425233121.13270-1-jeremy.linton@arm.com> <20180425233121.13270-8-jeremy.linton@arm.com> From: Sudeep Holla Organization: ARM Message-ID: Date: Thu, 26 Apr 2018 12:05:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180425233121.13270-8-jeremy.linton@arm.com> 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/04/18 00:31, Jeremy Linton wrote: > Call ACPI cache parsing routines from base cacheinfo code if ACPI > is enable. Also stub out cache_setup_acpi() so that individual > architectures can enable ACPI topology parsing. > [...] > +#ifndef CONFIG_ACPI > +static inline int acpi_find_last_cache_level(unsigned int cpu) > +{ > + /* ACPI kernels should be built with PPTT support */ This sounds incorrect for x86. But I understand why you have it there. Does it makes sense to change above to .. ? #if !defined(CONFIG_ACPI) || (defined(CONFIG_ACPI) && !(CONFIG_ACPI_PPTT)) -- Regards, Sudeep