Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5853994rwr; Mon, 24 Apr 2023 09:51:28 -0700 (PDT) X-Google-Smtp-Source: AKy350ZoTxhNMDDtyAJsJ+2icWMIUFvu1QL1Au63NT3mbJFls/ZC6zHz68Yn1tFnP0tpH0nit8R5 X-Received: by 2002:a17:902:fa0b:b0:1a6:d8a3:3346 with SMTP id la11-20020a170902fa0b00b001a6d8a33346mr13735602plb.31.1682355088349; Mon, 24 Apr 2023 09:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682355088; cv=none; d=google.com; s=arc-20160816; b=C4acpzbPH7wq07P1yaha4ZVq39CQJeI2sboEvw9Fq0Z37ieB6DlAyUD9fHicBBO+Id DUWjPLIhK7sD24E4RB2yilyC1i4aOs7+iAH7kz26zTYLpHUMqdBUg3gPWSnsORJ6/y7C MWDV2rxydR8Bn+/DU01gTWlT6H3u2w1gotIaNKglNzJ5ZAnquFbpOdk576pchOIy9Owo ZISZAJ54dGGqThqAH1kkg4Umo2P8Ba3ENFaRZIYZcLqSyLKJIk/N8zobd6+NAsIgS2ok Yc9PVpxypuLPYYBWOGL1eEyaesxd3H6ZImPg76mwjf0WWQj65LxS/SnG8qU3/fmUNcJ+ kaEg== 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=cogHEMsVVgTDAgj3gPVUEVuPljtJmFM5khAyIfbROPI=; b=d5k4EHaLJTOeaUodcJrkbwkrAUx4m9jKqo71HfaSnrWgpyOu3dwqVAi7lknAAPIEmk s67tFPkFhLgzT3S7/WU2xNojOrjLjpmhPZngjai7+D0jPYK3mkjyMeXDpzhnqb39sARP X727zZzETCnEYN8vicFkbaepKODx0legjVTb0t8LNLqn8mVs8wo3MvJQkhjr4Ir0kgbz 7Mhvx3+89fkqEyLQ+tKCovflpOWRFdxx53yGhETDUfhev/1oGsKkESqITE6lcUp46OFX 2ZbEJk7pqTDNLrv+FNwzada7kDUvDGgM/5g77rK4BriTYq7X6DYSxpgpljF+zklz0jIH Zd4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=IBOU6rK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a170902ec8e00b001a97f458716si1501446plg.618.2023.04.24.09.51.12; Mon, 24 Apr 2023 09:51:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=IBOU6rK7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231945AbjDXQp7 (ORCPT + 99 others); Mon, 24 Apr 2023 12:45:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbjDXQp5 (ORCPT ); Mon, 24 Apr 2023 12:45:57 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D38DA5B98 for ; Mon, 24 Apr 2023 09:45:55 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-552a6357d02so54943717b3.3 for ; Mon, 24 Apr 2023 09:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682354755; x=1684946755; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=cogHEMsVVgTDAgj3gPVUEVuPljtJmFM5khAyIfbROPI=; b=IBOU6rK79gND4DciwLkfyHJXLICK+nm1hfqmlYcnXaImIV8xf915qrkhfvrtFQ1bD9 8Z+ZDwfy6VoKjQweFXwu2Ekk2xB4sANXClY8YQV834aQDs+/FEV0pbYJdQjAAZN9rs34 f57BlCx+WuwQCSpj22oE82Xg3qgAyLXwOjmFBUce3BRWppaPMfsXHqc33YIYcz+3VNi4 XAZAp7pRNW06LclNSKJAgnoHgP+fH1wRI4+4eovVUts+kprnZi5lybCwL9Zgev3v81H7 MVICvn7IiG51PLSmT4j4PcXlaBgIbQc7j8zZ0ZG9H7yZWRSpCFId5KXjqGEfZQLGW0Na Tk1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682354755; x=1684946755; 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=cogHEMsVVgTDAgj3gPVUEVuPljtJmFM5khAyIfbROPI=; b=d/4gvTAtUMn7TjLQB4L9mvY2uciE/ga1NLDFd1ThhxdkNFy5rintn+O2m3wr2hMl4q QZG2udcf3K9f2WY0i878wx38XIrg9Oi0SodS1Sg7f1NcsA29rEbFfnbMRMIsQ4VKQlJK Mn+mKOr1zRneF4de/nb2tPgxk3L/POUNQPGBSuZJC7V50BehwqUKRLVzhoamiVrcMuio er1wIyAm/AcBkkQ0a/cKXDEyqIw21YYIbv7EXh43EH89ha38JhXoxLJQKSep3IucagqR SCUaX2f24lU8R5zxXjHT0MFlFTuBMC5BzEJA9Ir/GCCx0eFXddkvYlpXaiB+9Ys6qAmX 7kzw== X-Gm-Message-State: AAQBX9cuiLStjaORG5J95s7Nk913QcF/73BIblh04RyzP99DPVpBKK5D +spyNtwypkv+Eu5hlyq0JfuToSA0rY1fL+gJ/pv0gw== X-Received: by 2002:a0d:ccd0:0:b0:541:8735:171e with SMTP id o199-20020a0dccd0000000b005418735171emr9340453ywd.11.1682354754795; Mon, 24 Apr 2023 09:45:54 -0700 (PDT) MIME-Version: 1.0 References: <20230421165305.804301-8-vipinsh@google.com> <202304220315.bpwbgH5n-lkp@intel.com> In-Reply-To: <202304220315.bpwbgH5n-lkp@intel.com> From: Vipin Sharma Date: Mon, 24 Apr 2023 09:45:18 -0700 Message-ID: Subject: Re: [PATCH 7/9] KVM: mmu: Move mmu lock/unlock to arch code for clear dirty log To: kernel test robot Cc: maz@kernel.org, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, yuzenghui@huawei.com, catalin.marinas@arm.com, will@kernel.org, chenhuacai@kernel.org, aleksandar.qemu.devel@gmail.com, tsbogend@alpha.franken.de, anup@brainfault.org, atishp@atishpatra.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, seanjc@google.com, pbonzini@redhat.com, dmatlack@google.com, ricarkol@google.com, oe-kbuild-all@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 21, 2023 at 12:43=E2=80=AFPM kernel test robot = wrote: > > Hi Vipin, > > All warnings (new ones prefixed by >>): > > arch/riscv/kvm/mmu.c: In function 'kvm_arch_mmu_enable_log_dirty_pt_ma= sked': > >> arch/riscv/kvm/mmu.c:399:9: warning: ISO C90 forbids mixed declaration= s and code [-Wdeclaration-after-statement] > 399 | phys_addr_t base_gfn =3D slot->base_gfn + gfn_offset; > | ^~~~~~~~~~~ > > I will fix it in v2.