Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3015524rdh; Mon, 27 Nov 2023 04:53:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQNOJlJ2j05njfCsFTxo4eY8/zObXdoW1+UzTZ1L+/qzgq8p8UGR6LHQIg2EmmA+3xGlxj X-Received: by 2002:a17:90b:3a90:b0:285:34a2:3dab with SMTP id om16-20020a17090b3a9000b0028534a23dabmr10679974pjb.11.1701089613866; Mon, 27 Nov 2023 04:53:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701089613; cv=none; d=google.com; s=arc-20160816; b=eFttpZCqL8fmnEH44UaFqWKGRXGp4nqBb6zLea5Fn1KNc6pEAu//kgIPf/LZmNh5cE hS0mPE1ABfyYcrGK8E+5fVMC2kg7i7t0LjCSmTRHpWpk+QWMrDO+QAv8+luwNO/7rCHd 53U/DmSx5agIDppWn/iSTj/oBfShL5tW8f6VCb0b9cyETYT9uOfTUXpBPntD3TeuCJ39 StZZSbYZjMJk1qYCqCCGb+QDE2Zf3MrfJ+C86aU6GM5tiEv2Jinh3Ob7BH7Q8vAUq7U7 597nKR1B83aMHscH7B01VLV0pgx7Wx7/bgAKEsip5VG26G2B5zALIV9oAk9ZWYKWQAbj en8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=w99btASJW6ugbw/pf48vgs7AiWmkQ18bjLfbC+M/kTM=; fh=Bz9NwsytsT3vSVvQidftPATzo61v2khV4IZfIKXUczU=; b=QOy/miLz8ZGOzjwwRiUKGQFUj6lP0MwKN3is348Xdxm8nL6uUJ3ueUGp9Ze/0g66ln MbYX5yW64EpAWgmutfv7Emw+Fvm6MZQ4EOR/C2owPQfFcL1MifshH/Lzsvig9TE/GFEI Dsdfx21Ot2jg9wfZTQiaCie+/veDp49+LO+oVJO1uapFtxJqXUMXqmxpHcPloJB47dQt Q2nL46By8nYjGhbtWpj6bYO6+nWi39KqS6wpbzYo4tgI83P2qktapTMqIjDj5tH+Pxnz 0I6Qqz5/HFHYCpDZ2VvVV3gzQuaoJvX0IzUdG1nZ8NOXm1UNp20Q2XUQzH6am/Zk6B4k c8Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b="T/b6Wydy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id o14-20020a17090a5b0e00b0028524d0a2b6si9975997pji.144.2023.11.27.04.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 04:53:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b="T/b6Wydy"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D601380239B8; Mon, 27 Nov 2023 04:53:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233450AbjK0MxC (ORCPT + 99 others); Mon, 27 Nov 2023 07:53:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233433AbjK0Mw5 (ORCPT ); Mon, 27 Nov 2023 07:52:57 -0500 Received: from smtpout.efficios.com (unknown [IPv6:2607:5300:203:b2ee::31e5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CDBC10F for ; Mon, 27 Nov 2023 04:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1701089581; bh=WSl+QHzAtYy6sQQZvZFHvD5JXIRKPvHVb76cAb3EPMM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=T/b6WydylQPSDPwnZryY/4LIdmNEvSWIeSNeOCkmOa6BPdCro8a0Z5rsvqgrz3Udi ZzhOk6+6Bk1FHYRHCNjgmw/e1jiBj4IrobkRWfvsgT6/2o19+sUcrDIZKjGIoW1Jh0 E3797ED0tSDGLD6Z7ZBbf0jcu8dajFtrv2Cxk4FZ3p630DBQBC3R2XDcPfM5PX3m7o MI6cYUFxaOkdyfsFyEKIYlG/EqYmawnbj4wZTanwK37QjEkxwdJYbwrfYo/qsBHbJT s4fUH8jDMNWwXooAQdnM4T8p/uPPvMJTzl+1fhLlcJWP/d5RZ1V4LMlMgc/P+RHZsS tiltlaabC5uTg== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4Sf59870zLz1dCj; Mon, 27 Nov 2023 07:53:00 -0500 (EST) Message-ID: <1a9275e7-db07-42e8-9c34-8cd6ffe185d3@efficios.com> Date: Mon, 27 Nov 2023 07:53:02 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] locking: Introduce prepare_sync_core_cmd() Content-Language: en-US To: Andrea Parri , paulmck@kernel.org, palmer@dabbelt.com, paul.walmsley@sifive.com, aou@eecs.berkeley.edu Cc: mmaas@google.com, hboehm@google.com, striker@us.ibm.com, charlie@rivosinc.com, rehn@rivosinc.com, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231127103235.28442-1-parri.andrea@gmail.com> <20231127103235.28442-2-parri.andrea@gmail.com> From: Mathieu Desnoyers In-Reply-To: <20231127103235.28442-2-parri.andrea@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 27 Nov 2023 04:53:30 -0800 (PST) On 2023-11-27 05:32, Andrea Parri wrote: > Introduce an architecture function that architectures can use to set > up ("prepare") SYNC_CORE commands. > > The function will be used by RISC-V to update its "deferred icache- > flush" data structures (icache_stale_mask). > > Architectures defining prepare_sync_core_cmd() static inline need to > select ARCH_HAS_PREPARE_SYNC_CORE_CMD. > > Signed-off-by: Andrea Parri > Suggested-by: Mathieu Desnoyers Reviewed-by: Mathieu Desnoyers -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com