Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp210034lqj; Sat, 1 Jun 2024 15:30:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFgIsau5GSnf/gPvrWtbI4DJ2BV1F+qN6b7BeSm3VW4YyOVgtsG5Fn3sj+VxoIQe4i/P+Gy8G/lln6h4P/N6UNngOk72kvewUq2/cW2g== X-Google-Smtp-Source: AGHT+IG1rzElK0HDM9TSzEXZ8dXbn8jyZJJCY9Zi9nxDf8UUQQ2LAsdlhwSiJAHc+bIdfz1Iz6aK X-Received: by 2002:a17:903:1246:b0:1e6:f93:801d with SMTP id d9443c01a7336-1f6370b8c05mr66132665ad.58.1717281020677; Sat, 01 Jun 2024 15:30:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717281020; cv=pass; d=google.com; s=arc-20160816; b=RfrAQrxM2kR9tX9sZ+z4KFT5/p3f3+vevzI9Dz77xFv4zU3S7PAApzPlK2XPhUZAvF XIu9maDQ3vUxPqWIPsYGUeG+3WJfrVP2lOELjDvnba1APx8RdM0EabnsaW92VD6rKsp9 Gq9McsGy+GluCZht4DRNTioyIpwkLPKBQIHU6TCRgY4CRReUtQuBbdHP6CIOlRrRAQm9 XIn9jzeMlsAUZxuTwjrX/lRMM0ZGzCIds2+dJW8PUvUsJ3GQiv6L9og/g+xpYIl6orUx D95EsgImn3QKm69TqJQAaRt3NhOpyStTU3TnuVwSTkejluZM7MHMT5QPKcaTlJkdzkDJ FmKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date; bh=EzH1+AZOM6nhl5ZI8YkvrvMtM2A3th1mRhwsgmbNmSY=; fh=zeGewq4FGm3UotvzgqpOmAaPeEpwXMzXbYXnZ1jE3bk=; b=Aj0uUSs0Aq3BWxAZcFGMwL6cKt2ixB2ruAbsMG6hfgCNW+eYZZh0F8FU1UoBKN9p0k sQpTbDkmlqYcS80kWq7aN1GqmyK3GzzRqd5L99aNgMYmLNwbeXQuV50sYJGZCq/HaZyu C3XPlBdO1VuPPauaALJi/WNCCqOU54eavA3CJy91tW1E/By7EHML+o9sF/E0bbQPjmZJ 3FXUTXS4wlZYCjFrzzPBtvmPoUYx0vrPy6PZioLGt8Tj80ImYI3ul2IXp8maPHIBgAiF F8l7OYXQ9S+AYxwndOTIyHHUNjZw7FHI1dafxAGQ/+DAQUUFTv5dmptdsQD57pIldA+W tJWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-198021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198021-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323ebbeesi40131145ad.392.2024.06.01.15.30.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 15:30:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-198021-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198021-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6EBC4B213D8 for ; Sat, 1 Jun 2024 22:30:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67D132CCB7; Sat, 1 Jun 2024 22:30:08 +0000 (UTC) Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6279317BD9; Sat, 1 Jun 2024 22:30:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.133.224.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717281007; cv=none; b=SfdCarPAeQQTIzDyDLXQKbx1MsjyCWcFEmwf0NNDkZvsUIyQsv64LCWFYmZ/Tnhtr9tcniOvBzquMucpmVhcFhCennl7z9QcZCKPsZrSc8z+oBBdhvXWNU3FsrefRVcYUThgSAUCIc+0+H8Baf6v+ZfKVVXmZLSgLvLOStLOJKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717281007; c=relaxed/simple; bh=9Ne4pEYh6gWnzfHt/JZFz7tb84Sf0DRVindsHil8Trk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=G2SkkWCT17EhKEwT5Xf+x3FSB3D1bbnsAC9H0BhEX5RqJE3pF/MViv/kL2Lzn4QmRA0jbrufhoptqwIzBIUTHyrlMM6uDqt1HnbysQ9pRNamqm0Zmvey8OAmGPaut9fFdbyaQ91T8uawEp7WkRJlRZvZReeRY1hHwcT1UG4vgqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk; spf=none smtp.mailfrom=orcam.me.uk; arc=none smtp.client-ip=78.133.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=orcam.me.uk Received: by angie.orcam.me.uk (Postfix, from userid 500) id 48CA792009C; Sun, 2 Jun 2024 00:30:03 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 3B54B92009B; Sat, 1 Jun 2024 23:30:03 +0100 (BST) Date: Sat, 1 Jun 2024 23:30:03 +0100 (BST) From: "Maciej W. Rozycki" To: Jiaxun Yang cc: Thomas Bogendoerfer , Serge Semin , Daniel Lezcano , Thomas Gleixner , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/7] MIPS: csrc-r4k: Select HAVE_UNSTABLE_SCHED_CLOCK if 64BIT In-Reply-To: <20240511-mips-clks-v1-3-ddb4a10ee9f9@flygoat.com> Message-ID: References: <20240511-mips-clks-v1-0-ddb4a10ee9f9@flygoat.com> <20240511-mips-clks-v1-3-ddb4a10ee9f9@flygoat.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Sat, 11 May 2024, Jiaxun Yang wrote: > csrc-r4k suffers from SMP synchronization overhead. [...] > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index f1aa1bf11166..fa8ca0287568 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -1083,6 +1083,7 @@ config CSRC_IOASIC > > config CSRC_R4K > select CLOCKSOURCE_WATCHDOG if CPU_FREQ > + select HAVE_UNSTABLE_SCHED_CLOCK if 64BIT Shouldn't it be: select HAVE_UNSTABLE_SCHED_CLOCK if 64BIT && SMP then? Maciej