Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5527607imm; Tue, 19 Jun 2018 11:51:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIAjk8g2opZ2cJEk7X4r8CfHTOLAnGHwC0rAQQAyeYoBnGGiFa+IiN5m06WuE2vZeqE3IzN X-Received: by 2002:a63:9d81:: with SMTP id i123-v6mr15905753pgd.162.1529434303944; Tue, 19 Jun 2018 11:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529434303; cv=none; d=google.com; s=arc-20160816; b=k22rJLi02+N+dQvj14UeEZVfe/15qvJltBr9cnyHZXe0s7TYiceF0hXn3RjolOqrEK Nj26AfixsibAHqkyXpUFWYZV6ur5De3thHS3aM7AOvDCcAOP0xf2LqTbMKQHsX8sq4gY Yp5yk/4FVkdwfmVRou3kCth0ETmkGXn5Pg/1uVMCIGiYLhxJ+LbhJnf7WImyCVYOpQOl 7pLmZW6BpB6+70ExltqBV7H1yxxJ3B6j/+SHobB7nzc2SACCmN4/gqdvMwUSTKUM201J RjviqahV0Zxvmc6Qw6sBoSAOmhqiD039zg/oXM1lJE1EoTrP+EoimQ+9dbwnKdUGJqnB GYjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=Ny60tXFFGW56tzPrk9E9VM+3xmwqemMW88ML5zYwPjw=; b=YEyEcpmmIT7qi6vPX8FGe7AINLfP3ihlbe51/qBAH9PvXBiHPqKHFvLHvvqxyGeeR9 BBLDApdFii2GLPQlWYESX63JBPDy9GFvotFDLcPomkBFTbfJBCWbvZEfCkn0bU7XgTFl kNAwDcvQmr4lW/brVpV74hLn8jxG09nwwIC333jla6J6oYIckk8aXR9/RGrEsdJ6GP1G HkTuU3fdzKyXB/p8CkYlIhGg9IEC1QkvaBLwOd2j/UEzSYNdNhZbumEH1aJq1hgl2a5C jqBPR/2aulqAU/wFIKADd5UqXw9BDb6XPTZEW4OuyRh5ggT8rXjoaDbv29ML/YH57dR4 Flaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=btwVvfHu; 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 t130-v6si308088pgc.250.2018.06.19.11.51.30; Tue, 19 Jun 2018 11:51:43 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=btwVvfHu; 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 S1030574AbeFSStf (ORCPT + 99 others); Tue, 19 Jun 2018 14:49:35 -0400 Received: from merlin.infradead.org ([205.233.59.134]:56138 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030283AbeFSStc (ORCPT ); Tue, 19 Jun 2018 14:49:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ny60tXFFGW56tzPrk9E9VM+3xmwqemMW88ML5zYwPjw=; b=btwVvfHuU0YKqDWDbHHsZ1z4z N3OkyG/RN9Pjg+sTta+wSHrY+8nVvzMqIqK0BYlsLs/1lms1+luHd1Ln61xVRaeelqSDWd+E+4ohH pCr+bxeYC9loJb/0xtNVA7QyE72syc8iTNEzSUXCBFJB7GatpAOv/JfoQNdoBh1uMKMhX49075L2c QlS4JJzpvbQFbJBjERc9J5vw/JoUqFU4iY+w+iWYOE3bL3T7IwUJ2PaIUoGOVlygKzvnPEnb6vPi9 XQ1S8y/dzPHLV8U19XSWmB5T1LzA1u6RLIcOHufiUisEuXFU6sMj1iUBLzOMq1haQn4FuutuVVCvn vMGrlSz7w==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fVLeZ-0007Aq-Rh; Tue, 19 Jun 2018 18:46:56 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 6AAA02026ACCD; Tue, 19 Jun 2018 20:46:54 +0200 (CEST) Date: Tue, 19 Jun 2018 20:46:54 +0200 From: Peter Zijlstra To: Thomas Gleixner Cc: Pavel Tatashin , steven.sistare@oracle.com, daniel.m.jordan@oracle.com, linux@armlinux.org.uk, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, john.stultz@linaro.org, sboyd@codeaurora.org, x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, hpa@zytor.com, douly.fnst@cn.fujitsu.com, prarit@redhat.com, feng.tang@intel.com, pmladek@suse.com, gnomes@lxorguk.ukuu.org.uk Subject: Re: [PATCH v10 1/7] x86/tsc: remove tsc_disabled flag Message-ID: <20180619184654.GG2494@hirez.programming.kicks-ass.net> References: <20180615174204.30581-1-pasha.tatashin@oracle.com> <20180615174204.30581-2-pasha.tatashin@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 19, 2018 at 07:32:49PM +0200, Thomas Gleixner wrote: > On Fri, 15 Jun 2018, Pavel Tatashin wrote: > > > tsc_disabled is set when notsc is passed as kernel parameter. The reason we > > have notsc is to avoid timing problems on multi-socket systems. We already > > have a mechanism, however, to detect and resolve these issues by invoking > > tsc unstable path. Thus, make notsc to behave the same as tsc=unstable. > > notsc also excludes TSC from being used at all It does not; there is TSC usage even if you boot with notsc on. See how it does not clear X86_FEATURE_TSC for instance.