Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp460744lqh; Sat, 4 May 2024 08:01:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWV1d+tysQlqWVtS5qdR7a5ASQ2cmiwOFo+K+DyrhOR1YI1GzaGFswjfyOwlKw7stXeuUkdK6/UOgJgd+0joCy0g9NJ8kNAnHZUrLVNqg== X-Google-Smtp-Source: AGHT+IGCE10vdthz0hC2s4j2MUqjpqhG9Sanb7B4JJCSbwNknRNhr1KPoR3hs6Cdp9J+vWV67swk X-Received: by 2002:a17:906:4950:b0:a55:b345:63ec with SMTP id f16-20020a170906495000b00a55b34563ecmr3611262ejt.15.1714834865332; Sat, 04 May 2024 08:01:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714834865; cv=pass; d=google.com; s=arc-20160816; b=ZX+vF7nnmd2eccwekYh+ESe5y03JWOcQe+abmi5g8g3M6A8MPJR0rC0GOdRZYcb+wh nV9UFarSGmUQDZIkiYBAWx0nk51VbhbeBrK3Du28yq+tXBW1ZV+0ieruEP+hv/G73kE2 3Vz+qvXXhQaPVkPgLMWdImJ50q5aKll6p/fBUdv9xXtDGfcg4RUgWpEcTbdGCU2Yd0m2 STdrkDt9bDdjXGlbkqgAYfUW1Uvy0QQgLvRBWMmy8UqHkjvQaqTv1ilX11t1tDYeHvED sUSLwSvgsgpidtXKEupfOsmYB7fKKWo0XewIg//SN6e2d9bHDCNH7cpUo3Y87JPahhR7 s+Uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=UnwRSsy/rruc4QDUohYmGqOdPTqTE8KujCBy49Cfq/M=; fh=AHymdaEuuQYHrxl8EusdU4EBtDp7NEEyaQfWeNYThv0=; b=XywvLJkAPvLqRmlSzRqV2hEMlFjc0Dkk3PqmQqNAlGVSQvJZZ7VuAyyZ7V2/2nWWw+ LAfYHs2v6Ne55SSkcpJbJCUlO4X2JIBFhCBe4tcV3OiMR8FPwHCouArKz1LByq0G6ykB 3kcbCN5qGKV980k+VPPRLtg+1VUUsClyee9kKJbJtqzKJW5bgYlnUpdfSFnpoexysm7D 7vGSk1hjlbgxEqSW+DvJsRslwA4zXpXOUGDrOT1mJM+zYjwYFL/559WFKs5yzvc8gjY7 2NmzfRFvS9V8ovZYG4ze4aHaESLEUBUw+CAjBVzv5zXzu9RbEGReLOpd3IYaPGfmxjCI 1SzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OTCBfmJO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-168718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id lb20-20020a170907785400b00a589484075dsi2629064ejc.627.2024.05.04.08.01.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 08:01:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OTCBfmJO; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-168718-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id E27D21F21801 for ; Sat, 4 May 2024 15:01:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE1853F9D2; Sat, 4 May 2024 15:00:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OTCBfmJO" Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B86CF22F00 for ; Sat, 4 May 2024 15:00:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714834852; cv=none; b=TWB6QZpELusjCZn+WwA7/aSoJK+WUGTd+gyKPyp2d0lJFi/9QLXZZSbmwVfeEnrh6NY69d/TGjVO89ccia/s6VeYK0DiKhErgqeyKZXzYWQ0bV5ufrmvsosZWE3vk6xFEbeVDJOYYJ29WyhIRm9OujJ5guoqA22CAB9qqQhNpd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714834852; c=relaxed/simple; bh=dm6dvBjLZNt3OOIjZlO2mihXFCuWVIr/2xvHjRiHyVE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qwLcQPeBdCi0GxG9fMdnzBAbEc7fL5v4MHz6hqAd1ROuHcH37B04EcPv6h8UEDTtmiDkZx5Mz9RHIlODFPjp9XvQ1zjlSIxkPYZYVSDU9/LZt9kkh3tLyMjpBngGWd824M4xAvbyGqYa8KMEw/qvkZDjf9+dbfuzdu340iQ7t98= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=OTCBfmJO; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-1e65a1370b7so5505015ad.3 for ; Sat, 04 May 2024 08:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714834850; x=1715439650; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=UnwRSsy/rruc4QDUohYmGqOdPTqTE8KujCBy49Cfq/M=; b=OTCBfmJOJm+r42OYIPrsCtkC/CXU/Q5XgVR3Qr4+9bvS2atfm5H9mnJuSAjMqgldDX Md+Lf3VorKW4u/ZWwQ9jiLgU/lCB4m+/mbJp6MxD0C2sYWwfbiTZ31PCcJm3eOwBsUfq XuhZv604FNDta6Z8deAgctp2VySB7uwLZSzLoagtEe9s4zSkXu9R5iBk9MPwCDx3D3IA ZDNVCmnMVQAmSGJDOkRjLiFQqdB4ErCNTJBeJEteRafuc887LRTvRHoNxzLyvwMPm2K0 XuPj3nda6gKsLG9ngx7thuIk5g8azeDl2jao0PP/E2lVnwGzhz/OPQg8NUO1Fb2shwLV iJtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714834850; x=1715439650; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UnwRSsy/rruc4QDUohYmGqOdPTqTE8KujCBy49Cfq/M=; b=dkHN+9kvbz3zbKukRWumF3nLSURsb0VsJuhJyvWiN6SfL3q3NxdhpDJl+3sIKoLSUU /Am7rD2HAhxOkp6YpnOef70Dpj/tGkYnSimVqSeMjw7ycijIzGkTZ7skXWuU+/OXpRcU XpCVR43Vw7RmOo1vXf3Geme1x5k4Ac5E1DBHOYgh6HFjV5SaLgrs6F+LyzstKkMqPMmK 7YeW7JkmT0SHx1S+9LHmWDgdr7+8qcah4xaNg/7KoBddWRosvB94ErM0xHfaWgT2Lqbj iMReU/A+AJUPzGOHtIgGmUKPHoxFfMe3SXkbr20F976/+eLKZeYOMmEVJXgOl5DNZ/ha 0tqA== X-Forwarded-Encrypted: i=1; AJvYcCW3B8dGxILkuRkdm5IGsnUqOcyniPklGzJS3duSohPzwtr1mDgdyASp0AtfP6imMIY2Zv/q3745+RWCpaN9MD9T+fUuw+vHiy6zwBAL X-Gm-Message-State: AOJu0YwHgkZF9elAXgzUeVkr1MGaPchkDHmMsc3dHBCTuhljNot20ojc eUwUJz8O069UKG3unbnWC3r4sYKAmRhMdpGoXV+FoKNSu/82QS/Y6Znhv+EU39Q= X-Received: by 2002:a17:902:b186:b0:1e2:9066:4a8b with SMTP id s6-20020a170902b18600b001e290664a8bmr6570336plr.26.1714834850014; Sat, 04 May 2024 08:00:50 -0700 (PDT) Received: from [192.168.0.4] (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id w17-20020a170902e89100b001ed1dab9dcbsm3997398plg.110.2024.05.04.08.00.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 04 May 2024 08:00:49 -0700 (PDT) Message-ID: <31f1bbfb-733c-4027-834c-98f155562941@linaro.org> Date: Sat, 4 May 2024 08:00:46 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 14/14] alpha: drop pre-EV56 support To: Arnd Bergmann , linux-alpha@vger.kernel.org Cc: Arnd Bergmann , Ivan Kokshaysky , Matt Turner , Alexander Viro , Marc Zyngier , Linus Torvalds , "Paul E. McKenney" , linux-kernel@vger.kernel.org References: <20240503081125.67990-1-arnd@kernel.org> <20240503081125.67990-15-arnd@kernel.org> Content-Language: en-US From: Richard Henderson In-Reply-To: <20240503081125.67990-15-arnd@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 5/3/24 01:11, Arnd Bergmann wrote: > > -/* Flush just one page in the current TLB set. We need to be very > - careful about the icache here, there is no way to invalidate a > - specific icache page. */ > - > -__EXTERN_INLINE void > -ev4_flush_tlb_current_page(struct mm_struct * mm, > - struct vm_area_struct *vma, > - unsigned long addr) > -{ > - int tbi_flag = 2; > - if (vma->vm_flags & VM_EXEC) { > - __load_new_mm_context(mm); > - tbi_flag = 3; > - } > - tbi(tbi_flag, addr); > -} > - > __EXTERN_INLINE void > ev5_flush_tlb_current_page(struct mm_struct * mm, > struct vm_area_struct *vma, The comment being removed applied to both functions and still applies to ev5_flush_tlb_current_page. (Thus __load_new_mm_context instead of a tbi.) r~