Received: by 2002:a05:7208:2204:b0:82:bbfa:f723 with SMTP id s4csp334601rbb; Thu, 18 Apr 2024 07:08:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSAOjo0CcdXlkB7mIGsI0Q18XMYfke1zSA+nzYaaTAWjYH8sM05eyyeZCbk2AtHaMLp8IQ/Jg2hLKtxcoGPMlAKLR3D8MILUU/Quk11A== X-Google-Smtp-Source: AGHT+IFvfSf4D6ziGRWfq+8Q/s5ZNZexG/eHJZXBwvtJbfZkJ4xCQfFxdqI6LeZ4AxXP/16aoRV4 X-Received: by 2002:a05:6102:390d:b0:47a:2cab:75ad with SMTP id e13-20020a056102390d00b0047a2cab75admr3458538vsu.14.1713449322019; Thu, 18 Apr 2024 07:08:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713449322; cv=pass; d=google.com; s=arc-20160816; b=gS+GOeGTS6uj6UBbQHE8+nsjJn7nsqQjN2D+MEsKAJHBSLvry5Gowh1BRKzNCFq8dc UKf9RCPJgHr+2NjzGzO1le/IASTxhSFEsvnTX+W9a1vee+iexciOnhlJHnxlCzYmyfhi 80wEjtOxXOgTzgb9Kifrp+SmUSGApCZNYle8i3iQGO1s1W5OBCP5m3p93X2FAdrm/5Cs SjfEuiCwFhf0hos0IAjK1y4lAt4NO1vBF9MMF+gQpjCn/8GfAir80eiKDsHbNUYg5OqG aDFu1u+bFNts51LlDYQIRwGLsbSjWgM6/fS/64+OMNMCNVlfNPsFwbW5CfdCEOwvaw+E AfTg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/ByEhcQToKM/F9sknjWb2rTC+Yu1hWQHzRf0GI4QGC4=; fh=o441fSlodALB/k0eYrlBZvsKUXBaeZp+yF0IHUAbuUU=; b=fjkxrPwVik2eEAZkqK+PpxVEzI7mnf1ExPSwo+JmC/pshGXbv6Wk3Y81qbZ62tuBRZ rghlT/3ZD7W40EsouPPHTGuNOx2IAQoLlB5QF0CnPJV7I/xDif9P4r+sGr/ZkShE2MgI 1xWzWhzHq5etZsmGfqX3Nb6/XhzsgEyXipL+SC7D47jU3Iw7Q7ToZQhEpd7JYGA4LfMa GjtzM4SP1duV5O/8lqM+2JeyXsA2cCiiyQZ4/8zUoEKHeiH+FHlZ1Oq/TtXZC52atBvc T0bZyAOyw9qL4uME6Mroef0nwdc80WXSQgnWjcJLX8+7MgFiNHyGJ81naPqjkAyjEeGw apTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHFF7J0s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-150250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id s6-20020a05610224a600b0047a1aae0726si227065vse.609.2024.04.18.07.08.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 07:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-150250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jHFF7J0s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-150250-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-150250-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 858E01C2127B for ; Thu, 18 Apr 2024 14:08:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C9AE165FCA; Thu, 18 Apr 2024 14:08:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jHFF7J0s" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A463D163A9B for ; Thu, 18 Apr 2024 14:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449309; cv=none; b=dC6sMIhBA+YMv0wWRI4ngte+yrl+vb2mOZFLC/s9SrUlY7o2zqzrYxlJktOA3L5O1U2Rg6ffCrjHyXeBl2GwbnPnr8ldrRr2vsdnGPDDFOw1OX2tj6ktydKGpIo4Pol5GjqsoKCRETdvs1FcxregqyNds8G9fcudvXW/REiav3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713449309; c=relaxed/simple; bh=g/KqDqr1SceKtAwHTvVpWKhfc8Vr3dFUZKNkr7xMSAk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CK4kp2pvzLvOGmv36OqezUJTqm7R+4g09TK+vxKn2fx+rWQzCKg1Ic04MNqe8Yzs5RWz46SSueBmYrKgvqbqfMZy2N+/XpKtTrpUq7GDa2zpjW4f9KWHc7JhAjyeNqhU+7v7J64U4h/EZiVXqASw0fj/ffNku/6HHsTVa+LyP5U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jHFF7J0s; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FFBEC113CC; Thu, 18 Apr 2024 14:08:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713449309; bh=g/KqDqr1SceKtAwHTvVpWKhfc8Vr3dFUZKNkr7xMSAk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jHFF7J0sE5nDYCDNIjnpvnuG6mADEST9SsZFgbZc7P+ASD4sH1A5T9CNlbzIgct5m T8qIc9P8CiPwh4z0q4IFJf/FwkuCuGKjg93dt/yta6kb7AGWugWuzqQHyyfGJaMRLN Y5bCl+jeAPRfYuAQOg9lLBEMp+nGGklWk9rG3fasYRJRXBkFdx/vRuYU6/B2n9ne+e ft0yHZmnXWMwhOvehAWfuA5Uvx9/sJ3VvLYxQUrhs7wwrWmeHnxFhTnzegYYOC0gVq XE3aN4+uz4mkmgWPvdR530dZunEl3/7XDu6C18sDCRFfAlxgR/c05Dp5S/yhfWxWy7 pRQboWqPtTsDw== Date: Thu, 18 Apr 2024 15:08:24 +0100 From: Conor Dooley To: Xu Lu Cc: Christoph =?iso-8859-1?Q?M=FCllner?= , Andrew Jones , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, andy.chiu@sifive.com, guoren@kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, lihangjing@bytedance.com, dengliang.1214@bytedance.com, xieyongji@bytedance.com, chaiwen.cc@bytedance.com, Conor Dooley Subject: Re: [External] Re: [RFC 0/2] riscv: Idle thread using Zawrs extension Message-ID: <20240418-variety-exhume-4fe364344086@spud> References: <20240418114942.52770-1-luxu.kernel@bytedance.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Fk4xyD64bIbrps5W" Content-Disposition: inline In-Reply-To: --Fk4xyD64bIbrps5W Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 18, 2024 at 09:09:06PM +0800, Xu Lu wrote: > On Thu, Apr 18, 2024 at 8:56=E2=80=AFPM Christoph M=C3=BCllner > wrote: > > > > On Thu, Apr 18, 2024 at 2:44=E2=80=AFPM Xu Lu wrote: > > > > > > On Thu, Apr 18, 2024 at 8:26=E2=80=AFPM Christoph M=C3=BCllner > > > wrote: > > > > > > > > On Thu, Apr 18, 2024 at 1:50=E2=80=AFPM Xu Lu wrote: > > > > > > > > > > This patch series introduces a new implementation of idle thread = using > > > > > Zawrs extension. > > > > > > > > This overlaps with the following series: > > > > https://lore.kernel.org/all/20240315134009.580167-7-ajones@ventan= amicro.com/ > > > > > > Hi Christoph. > > > Thanks for your reply! > > > Actually our patch series is different from this. The work from your > > > link focuses on providing support for Zawrs and implementing spinlock > > > using it, while our work focuses on implementing idle thread using > > > Zawrs and accelerating IPI to idle cpu. Of course, the ISA ZAWRS > > > config part can be merged. We will refine our code in the next version > > > to reduce code conflicts. > > > > Yes, I've seen that this targets another optimization, but the basic > > Zawrs support > > would be identical to the other patchset (even if it is not). > > I would propose that we work on a basic Zawrs support patchset that int= roduces > > the Kconfig, DTS and hwprobe parts (a subset of Andrew's patchset). > > Once this is merged, all other optimizations can be built upon it > > (spinlocks, idle thread, glibc CPU spinning). > > If this proposal is fine for the maintainers/reviewers, then Andrew cou= ld resend > > these basic-support patches. > > > > BR > > Christoph >=20 > Roger that! This does make more sense. We will rebase our code on > Andrew's basic support patches in the next version. IIRC Drew's working on a new version of the linked series (we were talking about it yesterday) so hold off for that before doing a rebase and sending a new version I think. Thanks, Conor. --Fk4xyD64bIbrps5W Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZiEpWAAKCRB4tDGHoIJi 0iP1AQDU2aET0LsGNcFkDzq2ZvrGNzqDCDtIdtlPBbmS/gTmsQEAxzRxLXs9jbYn R3OVENIITqSyFtfdaNrNL/ezuQ87OgA= =Qxuc -----END PGP SIGNATURE----- --Fk4xyD64bIbrps5W--