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 mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by smtp.lore.kernel.org (Postfix) with ESMTP id B51D9C433EF for ; Thu, 7 Apr 2022 23:13:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 0D10A49F21; Thu, 7 Apr 2022 19:13:33 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@google.com Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YSQXPP5rmK2r; Thu, 7 Apr 2022 19:13:31 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id EA51249F29; Thu, 7 Apr 2022 19:13:31 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 7FD7649F20 for ; Thu, 7 Apr 2022 19:13:30 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lyKVbKU-hxru for ; Thu, 7 Apr 2022 19:13:29 -0400 (EDT) Received: from mail-il1-f176.google.com (mail-il1-f176.google.com [209.85.166.176]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 932EE49E0E for ; Thu, 7 Apr 2022 19:13:29 -0400 (EDT) Received: by mail-il1-f176.google.com with SMTP id q10so2234337ilt.9 for ; Thu, 07 Apr 2022 16:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=fj/pPVxMRNWzY1oImmsyI339onLzicgyJFmCpwHy0HDMrzBcANRgIYbkayFwqtavSx NX/G797eXnSjJkTsgTx2VT2rD8h0aRn5krf380dfEEEbhVC01s59b2kz7TlfVpZQ7Ul8 y0Jns+JGphnP7Kyn8AZvIoehQ49owGizSUebyLqF8zIt7fv8EEYfG+yHwbkA0jDTd7gz yJhH/tJ+TpFKuzR4a2y16RcpU8ehKwTTGkRUO0l5i1nSVpLK9bWbjfvr7Ig3BdJwD90h G/8p4obbTu6ohpX3XQ7+LdI2flSGVqPjjdpXfcu9k/+kwnwdq+GpS7xPTy0eHVBpv3uD b3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=MQzFx+4s3fyusqBOtD8ztD82O2jf6ZtJAjIUBMsEp//AvPnzJKCI+ZkYf1MS7iflPD RKbXK+f9SuMS/P9foynDajExppIVtdQi0/PMZuqqeHNgv015pZixg0Hy18/uez1IvFeq v+C9hTNX3iu4x+/TlITLabLpinJhaKRCCblF2BiUr+b7ryFjJnzB8EqqIvBqXt6OFMzN 9njHsKVGaSRl2qyQ3ZJp64EWv3GEeCFyZ6pWT+wVPqJ3vHX4yYepAHJvAVTzSaz5ju9I NvNJ3aRznyp5YPKEuV5bXh+OAT2aahYDjZDZ1WBUbD/q4xhzHRzZJIxezA+gZFitFZlq tIEg== X-Gm-Message-State: AOAM533wEBwHlXfAvXp9imcNVjME7bt8QT+GWehARgIF9MXNZeWi2qma K2i6uRovfAAdImJEjrVnlMVKiQ== X-Google-Smtp-Source: ABdhPJyuIZVicGu9eRU49wNxNY7a+lyPuJiNe708yC/RuIlyD08rKZEC6MV9WSnZKPgvVIo/O005Uw== X-Received: by 2002:a05:6e02:b42:b0:2c8:1fb1:7992 with SMTP id f2-20020a056e020b4200b002c81fb17992mr7439894ilu.9.1649373208819; Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id m4-20020a0566022e8400b006463059bf2fsm13739427iow.49.2022.04.07.16.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Date: Thu, 7 Apr 2022 23:13:24 +0000 From: Oliver Upton To: Marc Zyngier Subject: Re: [PATCH v2 3/4] KVM: arm64: vgic-v3: Implement MMIO-based LPI invalidation Message-ID: References: <20220405182327.205520-1-maz@kernel.org> <20220405182327.205520-4-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220405182327.205520-4-maz@kernel.org> Cc: Lorenzo Pieralisi , kvm@vger.kernel.org, Andre Przywara , kernel-team@android.com, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu On Tue, Apr 05, 2022 at 07:23:26PM +0100, Marc Zyngier wrote: > Since GICv4.1, it has become legal for an implementation to advertise > GICR_{INVLPIR,INVALLR,SYNCR} while having an ITS, allowing for a more > efficient invalidation scheme (no guest command queue contention when > multiple CPUs are generating invalidations). > > Provide the invalidation registers as a primitive to their ITS > counterpart. Note that we don't advertise them to the guest yet > (the architecture allows an implementation to do this). > I'll admit that this part tripped me up a bit, odd stuff. > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm 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 456C0C433EF for ; Thu, 7 Apr 2022 23:14:44 +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=sRETx7hVxm4+2TjeXFS/FA21r6NfGqQjOWYctSVGXeU=; b=dbtMXpLDv+ohns y88rFE3T4f5IpsW5sjI/oFwxKPQi4f2mEeqU1wmVt0WTtW/IBFjnocl0Cn7EWR0QEo1DDeci6+9yh fujkoESDJFgpUbFUJALGjQcMb6PAUG+1jBdakf/0zvWPwTcDFDtAr18Xc22w3Zr2Vxj5jkRj1yaBv GmjQ/bwdXIXtASpGBPRSphKqukkmZ6vvIb4A7mNnTpFecRmMG1U9bL7Jq/wXtyyhMFvVjyMS+SiuA ecXmv1RgsfMP4jQhRH6sPpLmGyozIGXQ+QiphEB2GA3MGf75OAqIIRjqwPchMy4siPSwGHq76/kl+ nE4JIqKtV5TXi7fvXC9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncbJl-00EKnO-9h; Thu, 07 Apr 2022 23:13:33 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ncbJi-00EKmm-VS for linux-arm-kernel@lists.infradead.org; Thu, 07 Apr 2022 23:13:32 +0000 Received: by mail-il1-x12c.google.com with SMTP id d3so5346311ilr.10 for ; Thu, 07 Apr 2022 16:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=fj/pPVxMRNWzY1oImmsyI339onLzicgyJFmCpwHy0HDMrzBcANRgIYbkayFwqtavSx NX/G797eXnSjJkTsgTx2VT2rD8h0aRn5krf380dfEEEbhVC01s59b2kz7TlfVpZQ7Ul8 y0Jns+JGphnP7Kyn8AZvIoehQ49owGizSUebyLqF8zIt7fv8EEYfG+yHwbkA0jDTd7gz yJhH/tJ+TpFKuzR4a2y16RcpU8ehKwTTGkRUO0l5i1nSVpLK9bWbjfvr7Ig3BdJwD90h G/8p4obbTu6ohpX3XQ7+LdI2flSGVqPjjdpXfcu9k/+kwnwdq+GpS7xPTy0eHVBpv3uD b3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=KfPqH8dZbMeSH84Hso/8j0xEfw4/MIVQJz+0J8HixPg3ZLTrxu1VSgFCsNr/FOUfV4 XLv4TZEEaEnO4ONGRYyM0xUDJarR0jSuccG4qV4W6rRxw4kqwLGg0uPKWEIOWX4IyGk4 oXltl4EfY+skOACVT+GqgNvSKhIW9WQZplCyltIMr8uND5WMqvdJAqV7rwlzDH7tmE7C csgwRMAKg18BECnFAOyJjsaQjWRAq2oSnRqX9zSyrWIAMtlvGw1hQAgBDbEyuTNrwx1+ PjiPEL/642QmdOrE2Kmppuz9PJnkF5qwM8uCLQe2DWTK3m2RBk82g6/uFXeHVGvg3Vmi uaQw== X-Gm-Message-State: AOAM533meERyFXsfe0df5z8/qRe343HVuLQLttVsnCfJ2gJUQFwbZsZ7 9Apdfdq4DSnFEcH9frRQ5v5IM3/D79co5w== X-Google-Smtp-Source: ABdhPJyuIZVicGu9eRU49wNxNY7a+lyPuJiNe708yC/RuIlyD08rKZEC6MV9WSnZKPgvVIo/O005Uw== X-Received: by 2002:a05:6e02:b42:b0:2c8:1fb1:7992 with SMTP id f2-20020a056e020b4200b002c81fb17992mr7439894ilu.9.1649373208819; Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id m4-20020a0566022e8400b006463059bf2fsm13739427iow.49.2022.04.07.16.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Date: Thu, 7 Apr 2022 23:13:24 +0000 From: Oliver Upton To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, James Morse , Suzuki K Poulose , Alexandru Elisei , Andre Przywara , Eric Auger , Lorenzo Pieralisi , kernel-team@android.com Subject: Re: [PATCH v2 3/4] KVM: arm64: vgic-v3: Implement MMIO-based LPI invalidation Message-ID: References: <20220405182327.205520-1-maz@kernel.org> <20220405182327.205520-4-maz@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220405182327.205520-4-maz@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220407_161331_051155_E888B56B X-CRM114-Status: GOOD ( 10.78 ) 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 On Tue, Apr 05, 2022 at 07:23:26PM +0100, Marc Zyngier wrote: > Since GICv4.1, it has become legal for an implementation to advertise > GICR_{INVLPIR,INVALLR,SYNCR} while having an ITS, allowing for a more > efficient invalidation scheme (no guest command queue contention when > multiple CPUs are generating invalidations). > > Provide the invalidation registers as a primitive to their ITS > counterpart. Note that we don't advertise them to the guest yet > (the architecture allows an implementation to do this). > I'll admit that this part tripped me up a bit, odd stuff. > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 98C44C433FE for ; Thu, 7 Apr 2022 23:13:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232449AbiDGXPe (ORCPT ); Thu, 7 Apr 2022 19:15:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbiDGXPb (ORCPT ); Thu, 7 Apr 2022 19:15:31 -0400 Received: from mail-il1-x133.google.com (mail-il1-x133.google.com [IPv6:2607:f8b0:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9850132E96 for ; Thu, 7 Apr 2022 16:13:29 -0700 (PDT) Received: by mail-il1-x133.google.com with SMTP id e13so5340669ils.8 for ; Thu, 07 Apr 2022 16:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=fj/pPVxMRNWzY1oImmsyI339onLzicgyJFmCpwHy0HDMrzBcANRgIYbkayFwqtavSx NX/G797eXnSjJkTsgTx2VT2rD8h0aRn5krf380dfEEEbhVC01s59b2kz7TlfVpZQ7Ul8 y0Jns+JGphnP7Kyn8AZvIoehQ49owGizSUebyLqF8zIt7fv8EEYfG+yHwbkA0jDTd7gz yJhH/tJ+TpFKuzR4a2y16RcpU8ehKwTTGkRUO0l5i1nSVpLK9bWbjfvr7Ig3BdJwD90h G/8p4obbTu6ohpX3XQ7+LdI2flSGVqPjjdpXfcu9k/+kwnwdq+GpS7xPTy0eHVBpv3uD b3IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=L4fHai+CVJ704RAyIzXx7UBiXAfW8hOkOCH96r8LwIE=; b=ylx0joQIVnhTlCtFK7GKeP8OVywpr8BzRxgFfhhkBVF2lm6Z3JpM86Ky0v+GUPzf5q mouj94AKmd4aLnu4e4e8INFxREIQ4G+xIwk2sBPsBuL+QwMTBPSo9z0Bk1xjRxifBqvd QUK/DdMbFztyVc4e+7EAYcV5+C5+StCsJz9V2GDLVe8SvP15e/xkQORDVDuCK2NYqmar f6KETTlLah+CdC4kKuGfbpaT2C6eN04hl+dImOSIaoC3RFOxb04XmLYq13jIFWxTvzNz O+Jxjbl4mlp5lSXh7iZX2bAPC2zP+ZuZxdTsPbqyi3muIKAXUN4kDieksfNyKFsn+4uv LX4w== X-Gm-Message-State: AOAM530urAj1gonxD4xyJbFtKWgNp5BTjpv+JRAFdMnyGZhRtq6r47YO Iw7omP8t9eYBOw0Pb/I1pYzK3Q== X-Google-Smtp-Source: ABdhPJyuIZVicGu9eRU49wNxNY7a+lyPuJiNe708yC/RuIlyD08rKZEC6MV9WSnZKPgvVIo/O005Uw== X-Received: by 2002:a05:6e02:b42:b0:2c8:1fb1:7992 with SMTP id f2-20020a056e020b4200b002c81fb17992mr7439894ilu.9.1649373208819; Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Received: from google.com (194.225.68.34.bc.googleusercontent.com. [34.68.225.194]) by smtp.gmail.com with ESMTPSA id m4-20020a0566022e8400b006463059bf2fsm13739427iow.49.2022.04.07.16.13.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 16:13:28 -0700 (PDT) Date: Thu, 7 Apr 2022 23:13:24 +0000 From: Oliver Upton To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, James Morse , Suzuki K Poulose , Alexandru Elisei , Andre Przywara , Eric Auger , Lorenzo Pieralisi , kernel-team@android.com Subject: Re: [PATCH v2 3/4] KVM: arm64: vgic-v3: Implement MMIO-based LPI invalidation Message-ID: References: <20220405182327.205520-1-maz@kernel.org> <20220405182327.205520-4-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220405182327.205520-4-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, Apr 05, 2022 at 07:23:26PM +0100, Marc Zyngier wrote: > Since GICv4.1, it has become legal for an implementation to advertise > GICR_{INVLPIR,INVALLR,SYNCR} while having an ITS, allowing for a more > efficient invalidation scheme (no guest command queue contention when > multiple CPUs are generating invalidations). > > Provide the invalidation registers as a primitive to their ITS > counterpart. Note that we don't advertise them to the guest yet > (the architecture allows an implementation to do this). > I'll admit that this part tripped me up a bit, odd stuff. > Signed-off-by: Marc Zyngier Reviewed-by: Oliver Upton