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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BCAEC38A2A for ; Thu, 7 May 2020 15:13:47 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F293F206D5 for ; Thu, 7 May 2020 15:13:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Nc6XlAay"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="yyZ6rd0N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F293F206D5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cPrHUatvQn+D6dB5iex8cGiB0/a1QGYOCqTqunFVrfg=; b=Nc6XlAaymYIqoDeJ3bpiajfjP Y7QLea8vp2jWYv5bY9VAL274XJsEwnSY0aJ1CIsC6OzArZu7bVDXQXrq61jHJ/6FhjYpyRHLimzsB 6zwAcb5LLRE69Ww9XBrtb0WPC3P7tGT7BaZw/AVlO5aTDP9yThBBBxAcOGxun1YXeHf8tjSZWWbqu PWj252IMMii6MFhdtFrv875TqsLSFZ1Pfeu/wzVlOVbyOlcChlP9ju6Qf4htWz0/lTbG7M1G+1a1W 6WWI+oQSmfrmOrvzd7+/RT4x6NJobeUqo34SV9ltKvcU9EneB4dbVSA6WCf0MtFrJhZJJ5zz1J3+u IxzIu8WhQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWiDZ-0001Hy-NR; Thu, 07 May 2020 15:13:45 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWiDL-00014m-4j for linux-arm-kernel@lists.infradead.org; Thu, 07 May 2020 15:13:34 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 95836208D6; Thu, 7 May 2020 15:13:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588864410; bh=k29A0IdfLiHWDqKOzD4CblXmGpqrNA1u5nmT1s31i0o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=yyZ6rd0NSWlhpoG9Q0esg6nHGFLl1NvhjNZwMMitnXQY0hBkjr5SL58/FXa5w+2S/ aCztoEdN/hC5vzhkizpb/ZCOWhDH7YpgoI1B3dtt6Cpkd/aQoaKglYMjAYfeE2wwbk SnBEvBxqaKuIc3M+0ZF2Eb+5vROr7m2O8A8pccEQ= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jWiDJ-00AJjI-1O; Thu, 07 May 2020 16:13:29 +0100 MIME-Version: 1.0 Date: Thu, 07 May 2020 16:13:28 +0100 From: Marc Zyngier To: Andrew Scull Subject: Re: [PATCH 07/26] KVM: arm64: Add a level hint to __kvm_tlb_flush_vmid_ipa In-Reply-To: <20200507150843.GG237572@google.com> References: <20200422120050.3693593-1-maz@kernel.org> <20200422120050.3693593-8-maz@kernel.org> <20200507150843.GG237572@google.com> User-Agent: Roundcube Webmail/1.4.3 Message-ID: <6a347ce739ff46f03fc6c6c7bc5b0c4f@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: ascull@google.com, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org, will@kernel.org, andre.przywara@arm.com, Dave.Martin@arm.com, gcherian@marvell.com, prime.zeng@hisilicon.com, catalin.marinas@arm.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200507_081331_224172_681EBE04 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, Andre Przywara , kvmarm@lists.cs.columbia.edu, George Cherian , "Zengtao \(B\)" , Catalin Marinas , Will Deacon , Dave Martin , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-05-07 16:08, Andrew Scull wrote: >> -void __hyp_text __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, >> phys_addr_t ipa) >> +void __hyp_text __kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, >> + phys_addr_t ipa, int level) > > The level feels like a good opportunity for an enum to add some > documentation from the type. Sure, why not. I'll give it a go. > >> static void kvm_tlb_flush_vmid_ipa(struct kvm_s2_mmu *mmu, >> phys_addr_t ipa) >> { >> - kvm_call_hyp(__kvm_tlb_flush_vmid_ipa, mmu, ipa); >> + kvm_call_hyp(__kvm_tlb_flush_vmid_ipa, mmu, ipa, 0); > > With the constants from the next patch brought forward, the magic 0 can > be given a name, although it's very temporary so.. Yup. To the point where I've now squashed this patch and the following one together, and moved the constants to the previous patch. > Otherwise, looks good. Thanks, M. -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel