Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1158257rwe; Thu, 25 Aug 2022 17:10:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4xugT9HNsMvaKq8csbMlPz/aFhzWJfx5neoUpZCJR1gmdpicRJbioplmpNIcKok64pahvA X-Received: by 2002:a63:d617:0:b0:422:4d27:5817 with SMTP id q23-20020a63d617000000b004224d275817mr1223291pgg.412.1661472612797; Thu, 25 Aug 2022 17:10:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661472612; cv=none; d=google.com; s=arc-20160816; b=ZNsnghNOnJN/N8xRu219g6/u0StW4EEo1Y0zJzlAQVgi/3xTJR5hND1/33KfR7tGy+ XoOd1r9nmDJ0ov2b+oLV3A7GSABHyr8Dip/kNz9XUVqidA64iDrpBz8eyUDW8RcQ13XE ex4O8YSK5ZE7Y9ur9fpXQ40lA70VQqzBQyAOODLRy9RwaN3Pqus+c0c9zGxBQESTUUdi sPBRwLrbWqwFGJAhxrcfwQuBWKL+LPsKpTHH/t98yx1fv1ylRhYQuxYwEMIKQe3UtCFV hHzcafrnQ9ku0L5wdaX3siOXUWn9ZyJni0N21T1u6zuoGZ8sADGM2cjwk5dMTHWy4RcJ nyOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=wiEsNvz5ZJJ1GrD/uuku1yQ6cApUWHJmUxRfgwiaX+Y=; b=qTrAsQewHWQ2YuFjuAi7vOWCv3Q0sfSeT3OOqxswHE3Ajq9uLW8FJ0UDzp8byznkU2 3apDSm2W2HkjCAcE87uzVROoXRxFlqFDQjRl/SZdyp43SJCti9/MuNFM8z3KYttFeye4 lZqL4vd53s7a+QST2oYcM89gI1G5joQlo5tbcYzkNj/tG+ud/oaF734zCNn3/tnTPO0D MEqTw3CYhPYqYfJ2McOZEichqnpmpXMLBUwsq7QxzLPpH0ldb+18yvZvw2/BJOp55TpC n8WZMLYXJBzCQnr8oxFZkx4vWebTuEH8kSem1HuHL7DZxV12qsI5asXOf5TD0HDSu4XG PdTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=i1J1uRnC; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p8-20020a17090ab90800b001fb10e717d4si632225pjr.176.2022.08.25.17.10.01; Thu, 25 Aug 2022 17:10:12 -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=@dabbelt-com.20210112.gappssmtp.com header.s=20210112 header.b=i1J1uRnC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244596AbiHYXnE (ORCPT + 99 others); Thu, 25 Aug 2022 19:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244538AbiHYXm4 (ORCPT ); Thu, 25 Aug 2022 19:42:56 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7424B81C2 for ; Thu, 25 Aug 2022 16:42:54 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id r22so19207194pgm.5 for ; Thu, 25 Aug 2022 16:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc; bh=wiEsNvz5ZJJ1GrD/uuku1yQ6cApUWHJmUxRfgwiaX+Y=; b=i1J1uRnC8rskyL9RmZ21dnnwmWJhw+hHrY/KBDKpL27AP14d3bPb8RFs+rK0TH1g92 5jwjQmLP821ACk0zKzFz5mlucx3x9MBDrZ9+Yi8SzR6r+kbN3AzodpFoZT0Wm4CXFfd5 ea3mRvVUf4dgAoDDu9DnghlOAsVsDMySxyedQZ18gdYZD0qL3vd5UT9MJ6TmorkZ3gJ0 VY+k1X/269JhAdYE86PXZi2+yJAm6GFE22hjB7eqGwOczwz4E6vbUSqwyYS7rrHrn6Qm D2GlE7jkMVRtPng1muRhM4AP8BUtsPaQc3K1pztIHhPAscOG7378ml3G9FUSSshFsbif cI+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc; bh=wiEsNvz5ZJJ1GrD/uuku1yQ6cApUWHJmUxRfgwiaX+Y=; b=QY/OSeWDOQnemA8Zr1nTfvetd8OdDNVjvMCrpnH22TloJsdQQuMBg1f8UkCxr+uCcA aHmetqGaDSF7JCfB4QAccNHTIU8fvEakKHHcXdlAuxwf89YIb5HOIlkY2JTJBPMBJ0t3 H7l8Depb2zk83hmWhahd3IggYTAWyEc6qEMs2trEoEARPDKPBjIP2sTB4N4LUDd/uaX5 UbwFdWubHkrLJ35Sj88BMDu2kCyG0qiUia6F/8kkMxhASPz2rQZJ0AmmqFAsIIszDBRE TQvDYLhyMBKo2y0Lep5sH0F8QST/4dxTh1UDSGcqrDcMB/4n562ZRgwWGVCSjitRyxBL 0n1Q== X-Gm-Message-State: ACgBeo1aow5EojgdAKjg3rV1g44Slw49QBOV0rBt5o2lzQwU6Hry0dkc AdDXwzs2vmzMehiP5Bba1orIEA== X-Received: by 2002:a63:eb02:0:b0:429:ee06:825f with SMTP id t2-20020a63eb02000000b00429ee06825fmr1138993pgh.606.1661470974202; Thu, 25 Aug 2022 16:42:54 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id d17-20020a170902aa9100b00172d0c7edf4sm130808plr.106.2022.08.25.16.42.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 16:42:53 -0700 (PDT) Date: Thu, 25 Aug 2022 16:42:53 -0700 (PDT) X-Google-Original-Date: Thu, 25 Aug 2022 16:42:52 PDT (-0700) Subject: Re: [PATCH 0/4] misc warning cleanup in arch/risc-v In-Reply-To: CC: mail@conchuod.ie, anup@brainfault.org, atishp@atishpatra.org, Paul Walmsley , aou@eecs.berkeley.edu, conor.dooley@microchip.com, guoren@kernel.org, vincent.chen@sifive.com, xianting.tian@linux.alibaba.com, heiko@sntech.de, wangkefeng.wang@huawei.com, tongtiangen@huawei.com, kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: apatel@ventanamicro.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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, 19 Aug 2022 09:14:32 PDT (-0700), apatel@ventanamicro.com wrote: > On Fri, Aug 19, 2022 at 4:32 AM Palmer Dabbelt wrote: >> >> On Sun, 14 Aug 2022 07:12:34 PDT (-0700), mail@conchuod.ie wrote: >> > From: Conor Dooley >> > >> > Hey all, >> > Couple fixes here for most of what's left of the {sparse,} warnings in >> > arch/riscv that are still in need of patches. Ben has sent patches >> > for the VDSO issue already (although they seem to need rework). >> > >> > VDSO aside, With this patchset applied, we are left with: >> > - cpuinfo_ops missing prototype: this likely needs to go into an >> > asm-generic header & I'll send a separate patch for that. >> > - Complaints about an error in mm/init.c: >> > "error inarch/riscv/mm/init.c:819:2: error: "setup_vm() is >> > I think this can be ignored. >> > - 600+ -Woverride-init warnings for syscall table setup where >> > overriding seems to be the whole point of the macro. >> > - Warnings about imported kvm core code. >> > - Flexible array member warnings that look like common KVM code >> > patterns >> > - An unexpected unlock in kvm_riscv_check_vcpu_requests that was added >> > intentionally: >> > https://lore.kernel.org/all/20220710151105.687193-1-apatel@ventanamicro.com/ >> > Is it worth looking into whether that's a false positive or not? >> > >> > Thanks, >> > Conor. >> > >> > Conor Dooley (4): >> > riscv: kvm: vcpu_timer: fix unused variable warnings >> > riscv: kvm: move extern sbi_ext declarations to a header >> > riscv: signal: fix missing prototype warning >> > riscv: traps: add missing prototype >> > >> > arch/riscv/include/asm/kvm_vcpu_sbi.h | 12 ++++++++++++ >> > arch/riscv/include/asm/signal.h | 12 ++++++++++++ >> > arch/riscv/include/asm/thread_info.h | 2 ++ >> > arch/riscv/kernel/signal.c | 1 + >> > arch/riscv/kernel/traps.c | 3 ++- >> > arch/riscv/kvm/vcpu_sbi.c | 12 +----------- >> > arch/riscv/kvm/vcpu_timer.c | 4 ---- >> > 7 files changed, 30 insertions(+), 16 deletions(-) >> > create mode 100644 arch/riscv/include/asm/signal.h >> >> These generally look good to me. Anup handles the KVM bits so I'll let >> him chime in there, but >> >> Reviewed-by: Palmer Dabbelt >> Acked-by: Palmer Dabbelt >> >> on all of them. >> >> Happy to do some sort of shared tag thing, but it looks like these are >> all independent enough that it'd be easier to just split them up. I've >> put the non-KVM bits over at palmer/riscv-variable_fixes_without_kvm, if >> you guys are all OK splitting this up then I'll go take those onto >> riscv/fixes. I'll wait a bit for folks to get a chance to look, so it >> won't be for tomorrow morning. > > Thanks Palmer. I have queued the KVM fixes (first two patches). Sounds good. The others are in riscv/fixes. > > Regards, > Anup > >> >> Thanks! >> >> -- >> kvm-riscv mailing list >> kvm-riscv@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/kvm-riscv