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 X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CBEE0C433E0 for ; Tue, 30 Jun 2020 01:51:54 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9CCCA20781 for ; Tue, 30 Jun 2020 01:51:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="RmMcKr+a" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9CCCA20781 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jq5R1-0003Sz-Cm; Tue, 30 Jun 2020 01:51:43 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jq5R0-0003Ss-Jc for xen-devel@lists.xenproject.org; Tue, 30 Jun 2020 01:51:42 +0000 X-Inumbo-ID: 3e9a68da-ba74-11ea-8496-bc764e2007e4 Received: from mail-pl1-x641.google.com (unknown [2607:f8b0:4864:20::641]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3e9a68da-ba74-11ea-8496-bc764e2007e4; Tue, 30 Jun 2020 01:51:42 +0000 (UTC) Received: by mail-pl1-x641.google.com with SMTP id o1so1252515plk.1 for ; Mon, 29 Jun 2020 18:51:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=QcL0Zhl1N0pMgp2Kkm1GtLuYDs4t+krbYwO8zi652js=; b=RmMcKr+aj3J04hYD4Md41hjVR1MEd+7NN/yPHbRA6KJM78V9AGcpu2w4Fl+ozQlJUK xw0Fs9vP9Xu/FR3Pmxx/ZXqxwtlQ7UmM4dGwpIfWKBaDZC0PnBO/Cui2o3Q9f9jeCMRy cat0NFLGhZGX7MoP1i3Ez1wZWRemgGOyDmCj4GmxRi/X+dCToHiJKl5gotI/vI6WaOSV by0LKl5oLBYfHHGE3eACm/8RSfyBmE6Bqkvbk5c9Z5HpqzbS8jQf7E6SY56Tz4kLm1W4 Fkw0rtfVJ9VCiUSXaKPqoDZ/+d+CcrbWzwkG81X80CS2KKLwtkd65sEwMmjV8FBZnaRi UP7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QcL0Zhl1N0pMgp2Kkm1GtLuYDs4t+krbYwO8zi652js=; b=BeopoYUPctldUWvs1Qp7odm/7fpSAtm5FW55CnHUYOJuhIOv+3gQWTfQ6KWIGW6fGD ZScwaT+zesPMoEDvj470QzHx2Y50UhjnZMV+jVCKenpaG/byxGI3ZFsigH4T+YSK3Gco kNgusPywt3fCveJ8LSGNCbYMUvd8+59qeke36efXA1F9mXKShmvOc2+fzT1M5Y+pK9AE Qqz7cs/6m3SReJTYmGEGxXMjet+tNql0mJF/+Kp1jLrCde9g4BtFaQDA171aPZgl/haS M12sM/C6+vhHzhFXhD6TVSDOyJbHQveO+hZQ9MfXhe1lNIqVEc6qor2AZ6BkLT5+4psX DipQ== X-Gm-Message-State: AOAM533m8vL1x+HuKZw6/H/fROBPYVzOQOLrejG05S8f+wvjckz8IqJt +zcs3p8m+ySpKJM+xw7ced8= X-Google-Smtp-Source: ABdhPJzx6J2dwWA2DSaJGKE/ibstVv3AI5P31Opftw6WFWiKgmcTvV4Nx/SjyquY73oqj4NF8YLTWQ== X-Received: by 2002:a17:90a:e28c:: with SMTP id d12mr21246421pjz.122.1593481901256; Mon, 29 Jun 2020 18:51:41 -0700 (PDT) Received: from piano ([2601:1c2:4f00:c640:fc6:7318:8185:4d2d]) by smtp.gmail.com with ESMTPSA id x1sm650990pju.3.2020.06.29.18.51.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 18:51:40 -0700 (PDT) Date: Mon, 29 Jun 2020 18:51:38 -0700 From: Bobby Eshleman To: Jan Beulich Subject: Re: [RFC XEN PATCH 22/23] riscv: Add sysctl.c Message-ID: <20200630015138.GB8470@piano> References: <7ebc34d888493f27302ed0a53e09216233cc9e7e.1579615303.git.bobbyeshleman@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Bobby Eshleman , Dan Robertson , Alistair Francis , xen-devel@lists.xenproject.org Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On Mon, Jun 22, 2020 at 01:43:40PM +0200, Jan Beulich wrote: > On 22.01.2020 02:59, Bobby Eshleman wrote: > > --- /dev/null > > +++ b/xen/arch/riscv/sysctl.c > > @@ -0,0 +1,31 @@ > > +/****************************************************************************** > > + * Arch-specific sysctl.c > > + * > > + * System management operations. For use by node control stack. > > + * > > + * Copyright (c) 2012, Citrix Systems > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +void arch_do_physinfo(struct xen_sysctl_physinfo *pi) { } > > + > > +long arch_do_sysctl(struct xen_sysctl *sysctl, > > + XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl) > > +{ > > + return -ENOSYS; > > At the example of this (there may be more in this series) - -EOPNOTSUPP > please. Only top level hypercall handlers ought to produce -ENOSYS, for > major hypercall numbers with no handler. > Got it, will do. Thanks!