From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2001BEB64D9 for ; Wed, 14 Jun 2023 10:10:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lvEDlqnsf1dE+MR0GiNgz37H31xAD2R51NCuQjToBao=; b=UqSvmwFaGPBZCo zcAy1wYvTnHh94s+ZjGic4yeekF27BwbpAGILcZUbvwxpWuWBV0F4tcus8B7MeS1VZs4zlSgaGBWx Nv+rwojEXNmaqSWgB8K7SwoKtWdVJPCZ7MPF7PnGjf8bpQScryPYYJveS4CFwgtU3q2mVBmaFpkZu TNO2xWM3Nob5gzRQYfLIr3XIHM7ZPTHLC1A9E+2orr0qBSEatqkSqhE6l0a7rbf7wSgZ+WTduuedO cwcZtdzm13xQW4NfHsy4e1eYBnPxpCfx+mAdxw2kQvtvUR5zHxhNs439yZn7UqrBlk2tUqy9P8jB+ 4VRkv780TWwfuiO1DQKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q9NRp-00BBOP-0l; Wed, 14 Jun 2023 10:09:53 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q9NRm-00BBMB-0a for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2023 10:09:51 +0000 Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35E7NSoZ023694; Wed, 14 Jun 2023 10:09:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=lEWxdGMYymOpbVdlGRKZMVmJZQ5YgRDSXrSZQdV3Bx8=; b=Lav+NLN/j+fK+r6BoYp92on5CzbLeVVkSenTqLbbLL99G7nLufdR7rIAZORr5SviDI98 vwuN3ifj5Og99sUT1Aod3bQ1gO+VPQCn5ynLorP9EKvHeTm3rChCT1OfcSdlkSEKn6Nl 3Esab2Fzwwjvmydjwteip9ILEf4sbnrsV2iljnpq0lmhgHiytdNBlwmznSBxMKXhgmfZ i0YVaUv8RNG0pAcYLhUds/EpEDMYqNPX0AtnBzikZ4xVIw7no/NHOqMBKJ929/hm0pR+ Pt9tFlTD6zrvIYBtos5+x+1Lee/+FCdhA6m+o8ZU8r1tSzS13ERWZDFyQDiBQhLLkUoR ow== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r6s3wtewv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Jun 2023 10:09:42 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35EA9fpt022727 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Jun 2023 10:09:41 GMT Received: from localhost (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.42; Wed, 14 Jun 2023 03:09:40 -0700 Date: Wed, 14 Jun 2023 11:09:38 +0100 From: Jamie Iles To: Anshuman Khandual CC: Jamie Iles , , Catalin Marinas , Will Deacon , Mark Rutland Subject: Re: [PATCH] arm64/mm: remove now-superfluous ISBs from TTBR writes Message-ID: References: <20230613141959.92697-1-quic_jiles@quicinc.com> <7f28549a-fbae-11ec-555a-c0b798c54c03@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7f28549a-fbae-11ec-555a-c0b798c54c03@arm.com> X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: DjuezgJCqWCuDlaRhQAgC4i2dwgJUkuB X-Proofpoint-GUID: DjuezgJCqWCuDlaRhQAgC4i2dwgJUkuB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-14_06,2023-06-12_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 adultscore=0 mlxscore=0 mlxlogscore=573 clxscore=1011 impostorscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306140086 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230614_030950_340562_6E5F1E1A X-CRM114-Status: GOOD ( 19.63 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Anshuman, On Wed, Jun 14, 2023 at 03:35:03PM +0530, Anshuman Khandual wrote: > > > On 6/13/23 19:49, Jamie Iles wrote: > > At the time of authoring 7655abb95386 ("arm64: mm: Move ASID from TTBR0 > > to TTBR1"), the Arm ARM did not specify any ordering guarantees for > > direct writes to TTBR0_ELx and TTBR1_ELx and so an ISB was required > > after each write to ensure TLBs would only be populated from the > > expected (or reserved tables). > > > > In a recent update to the Arm ARM, the requirements have been relaxed to > > reflect the implementation of current CPUs and required implementation > > of future CPUs to read (RDYDPX in D8.2.3 Translation table base address > > register): > > But what about the existing CPUs that might still require an ISB after > each individual write into TTBR0/1_EL1 ? Would they be impacted if the > ISB get dropped ? For this retrospective change Arm verify that this is the current behaviour of existing CPUs both by Arm Ltd and licensees. There should be no current CPUs that require these ISBs. Thanks, Jamie _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel