Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp175002lqg; Fri, 1 Mar 2024 01:32:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUQZ+GqatqY69EhlvXt5/x3xTg+KwPVy0sLx8TMs10Dodqk8O/at4SHIw3hGFVa+GQNWrjRHP4UhhIxZQx2ZuKkRoCDY8WmKSM0T9kjCQ== X-Google-Smtp-Source: AGHT+IGL3HQTR9NRh7gfLuQa+JmIO7uM7bfwsJR4pYUugvL5b7BAwOZfz6ov5qxCFfk7R1swqc99 X-Received: by 2002:a17:90b:238d:b0:299:3e54:83f3 with SMTP id mr13-20020a17090b238d00b002993e5483f3mr1072644pjb.38.1709285542894; Fri, 01 Mar 2024 01:32:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709285542; cv=pass; d=google.com; s=arc-20160816; b=Wfyj7HT59s8gI3LDQgxZ3GUusipfIxoiTui/UcQNh3VaFC9g+AZCB9R6KdpFgUQ6kC 1MINU5PuUkQYb5Y+G2FmIcGQseP/Sqv2RP4d0KNtIWEcq/Q+/lJTi6I8FjocU2ZGX0gv vfPOSoKUte3Ws6j2g/rxt6MM6dekqtrphzd4ISL0kYzVFb5BON/Hw07xMfQ/xW/7F6QD gRGnxKSnRd43BSFypiuaC/MSPsYoHp/+epuNv4W6PZVEdS5wFIMyLTVASU0oO8xI1Lcl LR+6fIG7/79mk5BDTMugRoJDxg3WefBzLBxT0P+ED5X2PN68LHMUejqg5ddOMfg6Uh+g sVxw== 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=u44MLgHFMxxGFtV37rnbea5YJ4PLdZYeP9Rw1KqB/Y0=; fh=q0W/itscXoPmJwvwpV/Gzn0+4shV4J2nnBgYjcOOTEw=; b=As+tvVoQrP5VkxJdbbfcN/OtbsvQKnyU4d0HlbUQjjHFa4GavVlo0xG68/WDvI7VmB 3vumUJBj6mfgAA+Fh9AZUK4XUx3B0X8HXYXihBda7RRt3AogKDE1BaHvNfBkatWWx6xn oADwLZZtNha6CeieYopQUPyJbtaXiBs4n55cnE60jEfvU4gey0qhxbnbkwIDcc/cBwHk orDFDCIr1ZdLXxikIJTYGevyfvcQycVBDO4XzBVBzfVsM12am/T/IHLFH3NK3V6rZ4iO UXO7gxOnlugamWkjtuMyyqQDON+DA7VUAEKCg/JpmtTS6RpScalQlKISwUrfAOwObDIB yyEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SRBqL6mX; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-88187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f6-20020a17090ace0600b0029b28bf9214si403552pju.25.2024.03.01.01.32.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 01:32:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=SRBqL6mX; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-88187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=REJECT dis=NONE) header.from=microchip.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4A5C428481A for ; Fri, 1 Mar 2024 09:32:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90E086A8A1; Fri, 1 Mar 2024 09:32:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="SRBqL6mX" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (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 CFBB16A34D for ; Fri, 1 Mar 2024 09:32:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.153.233 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709285530; cv=none; b=q62OpprBCD7jHUw9JWu4cJKGKIveP4+rJSLYsvO6cuEio62BXBwjEty/AqVHu2JOPlIqzQ13oN1mSmJcWmxxcRVlvBSUMsFqAuDbGJZscs4GPlrxLVPbxJUVEWiBd7hPVMpRqLpyZPaw65Uv9x1EmhSzBMPfgk4VT4zrlQveWso= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709285530; c=relaxed/simple; bh=DsLvThxyye5L9p+9g8PJUi8GdFQh8lzXSAENkivdX3w=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i1gHzHKneqwGa4SPezCfISq2odRoyaiQ1KooZV5UePFAUmOl+WkBrwFLpRnWBpD7sOnlBnunfwg4sCd1dSxgyHDGZXVh8Ges7C0kSlkT02JngrSkrIkZys1Fs0buTNQM+L9cgnfob/kc0FNGpO7XE3/93vKbo3UABuwB+3klLb4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=SRBqL6mX; arc=none smtp.client-ip=68.232.153.233 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1709285528; x=1740821528; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=DsLvThxyye5L9p+9g8PJUi8GdFQh8lzXSAENkivdX3w=; b=SRBqL6mXw6yzI7irffYsJp5Px92I6VqC1HOzEJ1Aj1hirlFt81nDsLAf yKdg6YEeHaplwZgfl3wwVOFsNqUTVNB/RgTq8CFdl4EN6b9Yibo1A7Cfe rGqN/VkUISeyEk08Na2ZoVH/fheS0BlDhKLxTIHotcVCop076LcirtmiO tjV6H4YUo6U95phWtGHBwKeATbKNGLhxF5PyG0tLxIWK5uXRh5eZp/M2J /k2rD4VgGBiGF2h2gHpnlnFKOfyhPEnsgSdo9PuysLsw+qjB/6r/0HNRf H3li72JwtF/hCoQZvFz+vDYHMM3pqyntaoupg3FAmFL/fuo2nAaBlo7BP Q==; X-CSE-ConnectionGUID: M/vfrS4FS22yqV9NCgJOCw== X-CSE-MsgGUID: AaMFphW2QQqFpaO8uyVc3g== X-IronPort-AV: E=Sophos;i="6.06,195,1705388400"; d="asc'?scan'208";a="18671665" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa1.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 01 Mar 2024 02:32:06 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Fri, 1 Mar 2024 02:31:49 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Fri, 1 Mar 2024 02:31:47 -0700 Date: Fri, 1 Mar 2024 09:31:04 +0000 From: Conor Dooley To: Samuel Holland CC: Palmer Dabbelt , , , , Alexandre Ghiti , Jisheng Zhang , Yunhui Cui Subject: Re: [PATCH v5 00/13] riscv: ASID-related and UP-related TLB flush enhancements Message-ID: <20240301-dreadful-discourse-6f1bb453d9c6@wendy> References: <20240229232211.161961-1-samuel.holland@sifive.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="KuBrCPUMUGSkl7W1" Content-Disposition: inline In-Reply-To: <20240229232211.161961-1-samuel.holland@sifive.com> --KuBrCPUMUGSkl7W1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 03:21:41PM -0800, Samuel Holland wrote: > Samuel Holland (13): > riscv: Flush the instruction cache during SMP bringup > riscv: Factor out page table TLB synchronization =46rom here onwards, fails on 32-bit, bunch of implicit-function-declaration stuff. > riscv: Use IPIs for remote cache/TLB flushes by default > riscv: mm: Broadcast kernel TLB flushes only when needed > riscv: Only send remote fences when some other CPU is online > riscv: mm: Combine the SMP and UP TLB flush code > riscv: Apply SiFive CIP-1200 workaround to single-ASID sfence.vma > riscv: Avoid TLB flush loops when affected by SiFive CIP-1200 > riscv: mm: Introduce cntx2asid/cntx2version helper macros > riscv: mm: Use a fixed layout for the MM context ID > riscv: mm: Make asid_bits a local variable > riscv: mm: Preserve global TLB entries when switching contexts > riscv: mm: Always use an ASID to flush mm contexts --KuBrCPUMUGSkl7W1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZeGgWAAKCRB4tDGHoIJi 0j7VAQCqyB+uhdk++uoEdTRPw9kB9GZ2ogwRdC1lz8x5plLgMgD/Qgdj+Kj5he2G JsKRaE3rZaO3XisZfINqKJi6qkDmZAc= =5gaT -----END PGP SIGNATURE----- --KuBrCPUMUGSkl7W1--