From patchwork Wed Jan 22 01:59:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bobby Eshleman X-Patchwork-Id: 11345007 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1AD551398 for ; Wed, 22 Jan 2020 05:15:12 +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 EAC0924656 for ; Wed, 22 Jan 2020 05:15:11 +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="ZqCYRmS9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org EAC0924656 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none 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.89) (envelope-from ) id 1iu8LH-0005Mw-4g; Wed, 22 Jan 2020 05:14:15 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iu5LW-0006CU-81 for xen-devel@lists.xenproject.org; Wed, 22 Jan 2020 02:02:18 +0000 X-Inumbo-ID: 0c5beda8-3cbb-11ea-aecd-bc764e2007e4 Received: from mail-yw1-xc42.google.com (unknown [2607:f8b0:4864:20::c42]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 0c5beda8-3cbb-11ea-aecd-bc764e2007e4; Wed, 22 Jan 2020 02:01:05 +0000 (UTC) Received: by mail-yw1-xc42.google.com with SMTP id h126so2499025ywc.6 for ; Tue, 21 Jan 2020 18:01:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QVyH7V155i6vTEKeRTNuLNnOx2Ljhbdv5mXG+v2BA90=; b=ZqCYRmS9HFtNoX3OgfGKaLxTXXXYnnI+Tngp13mTUhKaO99tBraidh3lYJCViDq78u zeTcpKpD8i/iZ+yWIlZIZhLGzHvq7zQ9veYDpV8Lr/cfn6Qrtb99RgBU5HQgVPNJuvIR BGe3PWXC2OgsyoLVm/hDgb1HjIPKhekdHqNxuPSSzrBZiI754cxCjbPGNXOErOXsPAEt OD/A4qPxjjFT1PZAIGSV4h/XWEmOoV2ajdVGJuJr5vRoKmDQvXYH0dcs9F0m5opEo3ZP dmd1lSXIrrTGfNrk24iVjXwEY4ls+RnCwhw75d8GpRtzhskuqCrTt8u69SxOT6D8P26J RItw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QVyH7V155i6vTEKeRTNuLNnOx2Ljhbdv5mXG+v2BA90=; b=lUNS8sUZS/PyEP2I5SgDDIiT9lFFacRgc/wAx4j2PVCIxnxoKA8tSR9AnvTXLTryWL L7KXXUtLopJfUi4tZR1jGCupefFiB8NCXlbraN/+DiZLjr0fRHpyGsxvzn8ECjv7lwyT 8GNFIA6Nvf7uvm/lPTSYVvZjq03nn0srO9GfBPsN2e9N5oUDQKzT9lkALSutBLeRRDrV 1vRcJKXcjqDXndgOi/GWxs4AUz9YcksIu3/PPZhcIvlXGKPELrO89/KDA9UiJcTGo0pM cBKd1MSa5+gzPDSx2KcgYs0H4W/+ylNeDfCd1RR8rWjS74BN6ZH0lSqHtiLRrV6kV+L0 p1uw== X-Gm-Message-State: APjAAAUfmuwAUvMMBRaGwJUHzE0Z71EIoyk065SUBobH4y1Hmk5yz3o0 U0NtbUfteQqOqgniyakXS/CA0zR33BeSUg== X-Google-Smtp-Source: APXvYqx2Zkhr8Yb4cFVk1EiGGo2EMQUTEY7Z0VJ6FEqhALV9k3W0gOoo/p1nqwk7tVP+CtBy45Wslg== X-Received: by 2002:a81:4303:: with SMTP id q3mr5541331ywa.242.1579658464679; Tue, 21 Jan 2020 18:01:04 -0800 (PST) Received: from bobbye-pc.knology.net ([216.186.244.35]) by smtp.gmail.com with ESMTPSA id q185sm17504248ywh.61.2020.01.21.18.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jan 2020 18:01:04 -0800 (PST) From: Bobby Eshleman To: xen-devel@lists.xenproject.org Date: Tue, 21 Jan 2020 19:59:01 -0600 Message-Id: <7ebc34d888493f27302ed0a53e09216233cc9e7e.1579615303.git.bobbyeshleman@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: References: MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 22 Jan 2020 05:14:01 +0000 Subject: [Xen-devel] [RFC XEN PATCH 22/23] riscv: Add sysctl.c X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Bobby Eshleman , Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Bobby Eshleman , Dan Robertson , Alistair Francis Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Alistair Francis Signed-off-by: Alistair Francis --- xen/arch/riscv/sysctl.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 xen/arch/riscv/sysctl.c diff --git a/xen/arch/riscv/sysctl.c b/xen/arch/riscv/sysctl.c new file mode 100644 index 0000000000..fbfdb44eff --- /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; +} + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End: + */