Message ID | 20230419021852.2981107-1-reijiw@google.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 6AD03C77B75 for <linux-arm-kernel@archiver.kernel.org>; Wed, 19 Apr 2023 02:20:10 +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:Cc:To:From:Subject:Message-ID: Mime-Version:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=VcRvgEu0syYzyaO/IgMJXRW4AYbubXiTV+xTxD7aZ+Q=; b=PWv 6nnOESfWkZY/9EBCHGmDPfLvStYlQ7i6+qa0sgBGkO25bFjSM+if/KEX2474cprrl4OpwBHnNONXC QPoR/w05k6DxH9hToTWEhhS1gZN1rGHAohtEG4TW0j4JAnmh5/I7xhM3Ur9VGN0bW+NoTD76fyVI5 FLTAX2Ec9KJDA2MCrnnJ3ExNRZ3Q6pARVYWSOkSUwCetAJ1bRokWdR5aEYduGhFp99PBwcarrbKE7 yYZT+poH9F75HpolNmLiCXTXA/7EK6Mra7+x4tsbYkdmY2rFIASV9zSKsAF98fVHAGSLNu0aidM8y eydyNE/onYOYNLXd96MHY5wgsbTORuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poxPX-003lpa-0j; Wed, 19 Apr 2023 02:19:07 +0000 Received: from mail-yw1-x114a.google.com ([2607:f8b0:4864:20::114a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poxPU-003loD-1Q for linux-arm-kernel@lists.infradead.org; Wed, 19 Apr 2023 02:19:05 +0000 Received: by mail-yw1-x114a.google.com with SMTP id 00721157ae682-54f89e7de94so190589337b3.17 for <linux-arm-kernel@lists.infradead.org>; Tue, 18 Apr 2023 19:19:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1681870740; x=1684462740; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=uIQVFmX2aoFoB7i2FrXfQsGBMoh8PIBdIK2tuO4hjcE=; b=ONU8xLR+iEO1bp4KRX0tM/qLYxwTC6Bl3CY5kkSNXzDwRBp2IhtFf3e57OkM62pItO S8XcfsmwtlMnb70mDDijlH0DHfgeBo1b+n+A0JBLRxAWB6+uyPy7xRBRzglbg4qvyAjX n0BnCIUkn0UwRBWKhRCOLKNAMl7FbjT7uhoC+qKe+byq5YAiOnOvSb+URhV+OelEaNLg EQ26IpCahWEIBYmAIWrlK0sEZQdQVQc8Qkg7d88bCoDWrD1zGpXrGH1bCsCzFRWgFwde g6dgM0oKISl6YJdHWQCQH5GpOFif0pSZWaCRoI1nl5q6G96Lvxz69OrLGFWeaZPz+NUk xbyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681870740; x=1684462740; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=uIQVFmX2aoFoB7i2FrXfQsGBMoh8PIBdIK2tuO4hjcE=; b=aB7c/xhn2WrDMP/ejdBFxFDVKLCuZNrR+txaJnzAsxTfHY+6Fuhav6cV1Ry4qxhqPx gfZovWb7tDb462SwqbjzmOKIMcLTTS6NpPMb1BhXMCJ+B4hGALbL7Sad8LkJaGmygccj rn2ZR5YWW9Uvvx8tR8O+LLdtPp/QAWnT0HLt2VMqajdESfGXm6rR3k+ZVM9y8k/1fSwy 31mj4DTAh8DDRc+RdXiIfWeqg97ofZ7VpHzqsrZcV+yNNhvWQ8NnS2QX2uewHmJuAiB8 SfY5HD7qLndw5nvpj9UIEPyshyjrccHSEnuQ11uoQabKj2JHWX2L8uvlRFV1sIudsxjJ Vc7g== X-Gm-Message-State: AAQBX9ft78wdz7SfgSTOiNJAUEma+mbsGLExasVsC6nYL6ODiKCsfTDm 1kaP9D71VqymsaSObj3fqcjyQZzz8f0= X-Google-Smtp-Source: AKy350ZLWc6OkYyhEAgKi+QBFBzZGsmT+IJkc0Q/GXXtRpvSXCQVykIPCe0taP5PrBoHwrlqYeadfzkeFv0= X-Received: from reijiw-west4.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:aa1]) (user=reijiw job=sendgmr) by 2002:a05:690c:2787:b0:54f:e2ca:3085 with SMTP id dz7-20020a05690c278700b0054fe2ca3085mr649642ywb.1.1681870739753; Tue, 18 Apr 2023 19:18:59 -0700 (PDT) Date: Tue, 18 Apr 2023 19:18:50 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.40.0.396.gfff15efe05-goog Message-ID: <20230419021852.2981107-1-reijiw@google.com> Subject: [PATCH v1 0/2] KVM: arm64: Fix bugs related to mp_state updates From: Reiji Watanabe <reijiw@google.com> To: Marc Zyngier <maz@kernel.org>, Oliver Upton <oliver.upton@linux.dev>, kvmarm@lists.linux.dev Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, James Morse <james.morse@arm.com>, Alexandru Elisei <alexandru.elisei@arm.com>, Zenghui Yu <yuzenghui@huawei.com>, Suzuki K Poulose <suzuki.poulose@arm.com>, Paolo Bonzini <pbonzini@redhat.com>, Ricardo Koller <ricarkol@google.com>, Jing Zhang <jingzhangos@google.com>, Raghavendra Rao Anata <rananta@google.com>, Will Deacon <will@kernel.org>, Reiji Watanabe <reijiw@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230418_191904_483999_5578E167 X-CRM114-Status: GOOD ( 11.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
KVM: arm64: Fix bugs related to mp_state updates
|
expand
|
On Tue, 18 Apr 2023 19:18:50 -0700, Reiji Watanabe wrote: > This series adds fixes that were missing in the patch [1]. > > The patch [1] added the mp_state_lock to serialize writes to > kvm_vcpu_arch::{mp_state, reset_state}, and promoted all > accessors of mp_state to {READ,WRITE}_ONCE() as readers do not > acquire the mp_state_lock. > > [...] Applied to next, thanks! [1/2] KVM: arm64: Acquire mp_state_lock in kvm_arch_vcpu_ioctl_vcpu_init() commit: 4ff910be01c0ca28c2ea8b354dd47a3a17524489 [2/2] KVM: arm64: Have kvm_psci_vcpu_on() use WRITE_ONCE() to update mp_state commit: a189884bdc9238aeba941c50f02e25eb584fafed Cheers, M.