Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp411058ybl; Tue, 13 Aug 2019 23:32:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdqkWtODw81/KH8Ci+z9kl0sXwdXC4+oPi1kHflUL8lUmjW1oVjROx0Unkzyp8HFVkw0/1 X-Received: by 2002:a63:5823:: with SMTP id m35mr38355934pgb.329.1565764322506; Tue, 13 Aug 2019 23:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565764322; cv=none; d=google.com; s=arc-20160816; b=OX5BY+PDNl/UZdJ3+7QBktGAVa7G5gjOvjfWxFh+NH1gohikyGPu7b+N8UefP9del8 UqaJY/c2+YIVePYWVr4V+6KbsD5FRKgUPFqTrv/Trvz4U6YRG5pd+9G7HrNl5krO0D/d FiKQjQiBeRUybi21Oy3qOvO24L0dn8I2YWapCd9/XWxGFEabivjl//03pPCpfWZ96RHi /rx9+3+krnhccRYEQAgq3I++t2hVqv2Qu7bKrFSMhoDWvDLLZA+2UcMKJJoicLD3vgVs Ov1uVuPJSwBrSoXMC8PmTvXvQpPHUE3HoRKRJ3/Aa8n4QYiqI1/dKFsq2RBnBleSUQBp Vcpw== 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:from:references:cc:to:subject:dkim-signature; bh=o0Ho+62546nbF6sTKppM2s/M3fQa2Iw6rs5C/Kza5oo=; b=op7gzbdxL/9A7hKJ1jVIoULTJ7LGXxliMC/fAzqzGN9A4xP88jQsorXTZaArVtmlgC mLsSYInnFOgJQuRTzELfs3w93JlEBm0tdxXYzqzJFKeL69jy29HGXi/T0JJ8l4mU3+KB a5RUZYg+HQjALRGO9luPwTPUid7p1PN+tO+BhH+poEal2wLSMDMG85sGV2MZsKZYPlBU EzljXjXgHIkc+/H+9PUfY/IrhUgufGfaQ4s6/czrRyn2S0P3+ooJnQa0gdx3s9VlCV6a vat+7YJqE5h+yVoYKrmQjTerbYEM7gELdfgc54p54VFw3seZN0t8IniXg21zFjO3I84B my2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=v4fvDBec; 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 a17si68076054pfa.45.2019.08.13.23.31.43; Tue, 13 Aug 2019 23:32:02 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=v4fvDBec; 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 S1727261AbfHNGbH (ORCPT + 99 others); Wed, 14 Aug 2019 02:31:07 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:64666 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbfHNGbG (ORCPT ); Wed, 14 Aug 2019 02:31:06 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 467fqC1T99z9vBnC; Wed, 14 Aug 2019 08:31:03 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=v4fvDBec; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id OFXo1Dmho6YZ; Wed, 14 Aug 2019 08:31:03 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 467fqC0JdJz9vBn6; Wed, 14 Aug 2019 08:31:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1565764263; bh=o0Ho+62546nbF6sTKppM2s/M3fQa2Iw6rs5C/Kza5oo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=v4fvDBecJnGu3IBMhD6I0eiVnfWdBEsRvUzNX/d4GbnaFiqgHchGI8bNd9Cc6NIS9 T3xPOiYGKPMLyzVyCUNlsQC7aO1cpwqasiqNc0coKJv1xo42HkxFRArnbH1hzFbiPo IxdFvApZ9FSsrG/9NjQWZ+weHyQOMyO7Wk/Jq3gA= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 1131F8B780; Wed, 14 Aug 2019 08:31:04 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id xnRS7rzmM81g; Wed, 14 Aug 2019 08:31:04 +0200 (CEST) Received: from [172.25.230.101] (po15451.idsi0.si.c-s.fr [172.25.230.101]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E1D788B761; Wed, 14 Aug 2019 08:31:03 +0200 (CEST) Subject: Re: [PATCH v4 1/2] powerpc/time: Only set CONFIG_ARCH_HAS_SCALED_CPUTIME on PPC64 To: Nicholas Piggin Cc: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Frederic Weisbecker , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Segher Boessenkool References: <20180607114304.327c4ab5@roar.ozlabs.ibm.com> From: Christophe Leroy Message-ID: <26969bb5-c01b-0674-5773-027f1851bd44@c-s.fr> Date: Wed, 14 Aug 2019 08:31:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20180607114304.327c4ab5@roar.ozlabs.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Nick, Le 07/06/2018 à 03:43, Nicholas Piggin a écrit : > On Wed, 6 Jun 2018 14:21:08 +0000 (UTC) > Christophe Leroy wrote: > >> scaled cputime is only meaningfull when the processor has >> SPURR and/or PURR, which means only on PPC64. >> [...] > > I wonder if we could make this depend on PPC_PSERIES or even > PPC_SPLPAR as well? (That would be for a later patch) Can we go further on this ? Do we know exactly which configuration support scaled cputime, in extenso have SPRN_SPURR and/or SPRN_PURR ? Ref https://github.com/linuxppc/issues/issues/171 Christophe