Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2576379rdb; Mon, 4 Dec 2023 01:07:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4l0Af9qhdL15ZHpF0v0gIwF9zu1qAYwGlNAS7WicA/bhCUxOuPEANOoFYKiX6E1yMjRsG X-Received: by 2002:a05:6a20:7295:b0:18f:97c:5b75 with SMTP id o21-20020a056a20729500b0018f097c5b75mr1107869pzk.67.1701680844921; Mon, 04 Dec 2023 01:07:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701680844; cv=none; d=google.com; s=arc-20160816; b=kAcumFIy2uhKxLiodDJzH653KYtFkrOMXtsR9fo9LvOTOcvMLpmiG68gOBtagvA7LS I4eJC75qogpWJq6CmdxrPZL4kQEV5j9LyGB3uedAGKsAxoudqc1lodrsgo/XmAnGZinY +t4ecbo0H5391llzLhA4JUq7oDUOLcAvNq9jIiCGVWLfPIYmPB7uUGSao5tU/WSf2ZBj cH4WxorQTFitCl6/yVeynGuOr+Z7iM2xhLio3uOHpfVX4jESJv3oBFmJ3xBIawqfWh4M 0zHu3DLmDBpvBR0wxcsfZHqA0PFK8gdCUrHBowTXghnKAfmSGSkcztxaL0e9BwqRJXkk SeLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=AOT92qB4CMJ9QUbkuwnTO771HPULUzewrnuOIhnYnrA=; fh=hi72XQhrNxLJWw3UQd0ADqVNttlf7O+VtnHCgwAGN54=; b=c2kP2+IiVgQB9wbz2n0ArIhI8dnokckTWHXQ3glxEqe1ISXiZzghaNR3VfchaqafE+ z+tMvfJFlMSKweryTZfInECf4g+7vvJDFrMWBQv0OEjMvmdanpMowWsZwedCBimEXELx SwrHX/oTar3miE+rFdaBam67Kx/iozGtwyGJ6NwcJF2KeMJwq59TC0DISaAle9gNrzga PtV3kjxA7oNTEUPPTocM5m5wl6gZKaHcMynq8gW0e7aNEFJk4x9iMT5nmx90/5YSZ+lR yTrWp9LpW24fcLTphoB+XkvyHfIfh06f01NQ9WpPFS6QwyNq6/YpG+ymOn6rkOfXSFpd kR5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V6fUcEMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id s5-20020a170902ea0500b001cfb14a09a2si7706789plg.457.2023.12.04.01.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 01:07:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V6fUcEMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id A14FF806116C; Mon, 4 Dec 2023 01:07:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229761AbjLDJHF (ORCPT + 99 others); Mon, 4 Dec 2023 04:07:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDJHE (ORCPT ); Mon, 4 Dec 2023 04:07:04 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C3ECD for ; Mon, 4 Dec 2023 01:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701680830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AOT92qB4CMJ9QUbkuwnTO771HPULUzewrnuOIhnYnrA=; b=V6fUcEMFkmJKX2j9SO2AVmOibMrQoaIH6zS6e2B+lveZqXiA30QQs+dSdPM6gisVqMvku9 9DROCT4E5kvyewyUiV0cIrHcoQuLLCLW2W5b9GLCoeX1vKzURH5GGfOttVSxzfDu65j8+g 8c4wfub5U4EopCY2b/fjCYTa1Dbazbc= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626-idleBifQMLaQpkRyw0PE0A-1; Mon, 04 Dec 2023 04:07:09 -0500 X-MC-Unique: idleBifQMLaQpkRyw0PE0A-1 Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-50bf44ff4a5so618949e87.1 for ; Mon, 04 Dec 2023 01:07:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701680827; x=1702285627; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AOT92qB4CMJ9QUbkuwnTO771HPULUzewrnuOIhnYnrA=; b=m/t4rwOakQpdl8J+WhY76vq/4BEgTPOkVuTY0I1Y2J5Qunof8CINEMZNzo48f2N+LB LuyagRQyhG9Fb9XO0ltoRt/+oszv37EE+x89AvPzpJl3ywZwJCPGggWrDkS336oFnjv4 o3Camlxjw8R4HecuFonjAtpq1oqjPpA5L2WdDCSbPZtLOlI8V9RFxGIXG74gxDLHmokR UCjH16P1FzqBtdYLc8FbwSoCxH4mU6B5cMXQDSR4lLEqqIiliXIEhxD06LDzHfS2/3yj 1D4Gw7ngACnFrL7q3H4VpIIAQnLI5GFlToGwvDUHc/kqJU6o0Ztk4dXni15QKJ+XvJPF PgAQ== X-Gm-Message-State: AOJu0Yx/LAXwc2KhDhCMAyKcd78FdMazgOB7wmx6ct9/ODKLgznJ2fs7 LFUVFh3QHr77kgo9KG7zIuznL2m3ABXpjFWSEzO8PO7jhCvza5ScrPxTSiTXC6FV4dXpsu04SOE 0XyZiqN1ChVKmWsTYvZJOCl8cEe1wjiXqTocifN7Z X-Received: by 2002:ac2:5ddc:0:b0:50b:ed75:e41e with SMTP id x28-20020ac25ddc000000b0050bed75e41emr1071690lfq.137.1701680827486; Mon, 04 Dec 2023 01:07:07 -0800 (PST) X-Received: by 2002:ac2:5ddc:0:b0:50b:ed75:e41e with SMTP id x28-20020ac25ddc000000b0050bed75e41emr1071685lfq.137.1701680827120; Mon, 04 Dec 2023 01:07:07 -0800 (PST) MIME-Version: 1.0 References: <20231102143507.840-1-jiangkunkun@huawei.com> <87msvt6cc7.wl-maz@kernel.org> <1fb8353e-e9c4-2570-c2ca-ec537c18ac4d@huawei.com> <86edh228xx.wl-maz@kernel.org> <952bd5dc-dd20-acc3-d77e-c9b14e5728d3@huawei.com> <87fs0k94og.wl-maz@kernel.org> <86r0k2bavu.wl-maz@kernel.org> In-Reply-To: <86r0k2bavu.wl-maz@kernel.org> From: Jason Wang Date: Mon, 4 Dec 2023 17:06:56 +0800 Message-ID: Subject: Re: [RFC PATCH] KVM: arm/arm64: GICv4: Support shared VLPI To: Marc Zyngier Cc: Kunkun Jiang , dongli.zhang@oracle.com, cohuck@redhat.com, stefanha@redhat.com, mst@redhat.com, Oliver Upton , James Morse , Suzuki K Poulose , Zenghui Yu , Catalin Marinas , Will Deacon , Gavin Shan , Jean-Philippe Brucker , "open list:IRQCHIP DRIVERS" , linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, wanghaibin.wang@huawei.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 04 Dec 2023 01:07:22 -0800 (PST) On Mon, Dec 4, 2023 at 5:00=E2=80=AFPM Marc Zyngier wrote: > > On Mon, 04 Dec 2023 08:47:49 +0000, > Jason Wang wrote: > > > > On Mon, Dec 4, 2023 at 4:39=E2=80=AFPM Jason Wang = wrote: > > > > > > On Sat, Dec 2, 2023 at 8:20=E2=80=AFPM Marc Zyngier = wrote: > > > > > > > > Hi Kunkun, > > > > > > > > On Wed, 08 Nov 2023 09:45:51 +0000, > > > > Kunkun Jiang wrote: > > > > > > > > > > Hi Marc, > > > > > > > > > > On 2023/11/6 23:33, Marc Zyngier wrote: > > > > > > On Mon, 06 Nov 2023 14:59:01 +0000, > > > > > > Kunkun Jiang wrote: > > > > > >> The virtio-pci driver write entry1-6 > > > > > >> massage.data in the msix-table and trap to QEMU for processing= . The > > > > > >> massage.data is as follow: > > > > > >>> entry-0 0 > > > > > >>> entry-1 1 > > > > > >>> entry-2 1 > > > > > >>> entry-3 1 > > > > > >>> entry-4 1 > > > > > >>> entry-5 1 > > > > > >>> entry-6 1 > > > > > > It looks like a bug from the driver. It should only use vector 0 and = 1 > > > in this case. > > > > > > Could you please check the queue_msix_vector for each queue in this c= ase? > > > > Or did you actually mean queue_msix_vector here? I'm not familiar with > > ARM but 0 doesn't seem to be a good message.data anyhow. > > Why? What's special about 0? 0 is a perfectly fine value. Ok, looks like I mis-read it as a message.addr. So it's fine. Thanks > > M. > > -- > Without deviation from the norm, progress is not possible. >