From patchwork Mon Feb 19 08:29:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 774079 Delivered-To: patch@linaro.org Received: by 2002:a5d:4943:0:b0:33b:4db1:f5b3 with SMTP id r3csp1052541wrs; Mon, 19 Feb 2024 00:32:03 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU8W8M0+CDUu28gdvCIvI95ljTj5WQtkiMX9Z2ImlBdQ6/lmVoOJ2+Gwm6BmmjrHjnyH/VcBhuLeupP/Ij7sQD5 X-Google-Smtp-Source: AGHT+IEKcpsHefl1f27MJPsrMPWHFV13KuKSuoxyAFJpkZ/dq41DWmYRi3+u7MDBhFcTcfxbvETe X-Received: by 2002:a05:6870:71c1:b0:21e:ff3f:937f with SMTP id p1-20020a05687071c100b0021eff3f937fmr64297oag.45.1708331523648; Mon, 19 Feb 2024 00:32:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708331523; cv=none; d=google.com; s=arc-20160816; b=cjb5ygmEfB98IV//Oe38Sy0u2hg3s5DTqxxxgybvtvpHqYpxjclMB2SRxZNM9v3AW0 Wr5Srx+xQNbtH0coGYqCNLDc7mwcQvm4ddInXEILNeR2gOn6j54dzzgdhj5JrFwKdA0K R9a35i0NoYhPbKjXX+F9E43YgRMig6JubR25Of8RRP/PE9YEsw9IDaUhLhW2YRPmX/qI sdiqdRfUNZx8xqbOFIOKJdxan/LgMZUu1Oh1ebzSzxvFANOheZsvKKyCb3hFy7i6Xy0e t4Qaxx5Rva2ODwSZl+Q6E7HKvXok9wBS2wIwer0Gh3AmxxwId9TPOf6M8aFtxfO1TsgO cI1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=p/uWlpyLjbwpL//Tp94l/d17ZDvOpZ1Q/CQ+bpb2Coc=; fh=AMq49MhWGAbHe+OM0/dUh70necLSQdMXwXEcdfZTm3Q=; b=jd5sYu2SysqA3UtcoGSoZksYR1z7eRp2z4CLDXHL8JmWZFFNZC/OmPE15ykRPXnI+/ RCv4w50afjKH+szYtd2oQPkEI56/KX5Ql8CgA00qvvHcDcM8S9uc6bbFNK/nHNyMZyEh 8MAm7iu0EkKOmsnAWHfP2fa6saY4Mmn3oDCTj+ikTSsrpe5yi6HgLTrcdhzrWWLd0J+7 fUKtfLFL6ziVpVBpi8bcK0nOI9Q713umIshPBzE4Mmi7O59FrrrfKovzEN6P1eJmPCVL CYd/KqUex4OxGP77kHRu4m7W+9XBYpb+Q9VDBXClusFM46D06yDTqko9rBD19V3zfp7y FiqQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UxHLBKPo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id x10-20020a05622a000a00b0042c00c09c03si6178794qtw.285.2024.02.19.00.32.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 00:32:03 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UxHLBKPo; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbz3K-0000oo-DB; Mon, 19 Feb 2024 03:31:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbz3I-0000f2-JJ; Mon, 19 Feb 2024 03:31:04 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rbz3G-0002I4-EG; Mon, 19 Feb 2024 03:31:04 -0500 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1d7881b1843so34361745ad.3; Mon, 19 Feb 2024 00:31:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708331460; x=1708936260; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=p/uWlpyLjbwpL//Tp94l/d17ZDvOpZ1Q/CQ+bpb2Coc=; b=UxHLBKPoNiCMNkIahUPVG5YDuXnq98rXNI1mkMcvk2F1vsD0Ia5yTTMGqVCrJouVDv PcI0SjA/tjVz3OP09h8Yo0/Ve+QPgUs8noDc/R919nm54JVHZ42AlVZNMVxkFKx1Gmnw YCa/zhSNtwkbIbeLqOzUpkXgatHMJKrn2BGMDVtGPlV1SNl7Oa94nERaTGX+Lvi6Pxce iannIkzkCWzcGcBP/8AHroN3pq3zqj+qrbD9vHILUDEgOEurh5Rp3vHjCnddf8I0RHn6 wwAdfN0o4oBd0v21pjEdw8/jz3JeQ7qjPzK+Z5L1zbruVUidj6D7LfdxLQOYaUgVHWOP mvfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708331460; x=1708936260; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p/uWlpyLjbwpL//Tp94l/d17ZDvOpZ1Q/CQ+bpb2Coc=; b=w1QUG4SwSEkomn9hi5b1IjFcsUoKy9jL5vPZ2rzlxdxDMD9LRkB1vu1tWFco8lQ1ic Ns5bqpRHIw+uj5cYAANW+47UE3OlQslUOwcdeayYW7At0ypmiBBu4+KiUoD2Voz0Y32j 2438X3ZFt00viT+seQLnTPoELDL4+HKE6TiwRS2cxVR41W5gCCK33lGso2wWDsLezsme AEZkSG980M61Y8BL+BlZwj4i59QR8/TRBvjP/oCssimVvVVv1h2XDS+xvPz7CFlDrXb8 IoqxXJpjWEcfc16wbD1s/Stylm2akezBMiS4h74rZRwDi8RbiO1g6oJF91ZPfT62Ed7V vnQA== X-Forwarded-Encrypted: i=1; AJvYcCU0l9L+SYWXdXvgEOmpkvWE3ECNTuow7PA99+MyjpC71s0j6cq+x+/4jzh5eLuEmIQwRTn+2hLh+4wyuJ/CYh0AFn0C X-Gm-Message-State: AOJu0YyHiUoqjuUUyzjzMqAYdLH8e2g56Lr3V6uwNy/cZVzUX1CuCEJz W7kuJVKxt8aRTERXUL+kLgiRPGC0LVxHcdaB0lzKtmJcl1ZWlMCCL9vKe1zF X-Received: by 2002:a17:902:db0e:b0:1d9:b9da:ea8f with SMTP id m14-20020a170902db0e00b001d9b9daea8fmr16265356plx.2.1708331460007; Mon, 19 Feb 2024 00:31:00 -0800 (PST) Received: from wheely.local0.net ([1.146.38.93]) by smtp.gmail.com with ESMTPSA id mo7-20020a1709030a8700b001db5ecd115bsm3838348plb.276.2024.02.19.00.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 00:30:59 -0800 (PST) From: Nicholas Piggin To: qemu-devel@nongnu.org Cc: Nicholas Piggin , qemu-ppc@nongnu.org, Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , Harsh Prateek Bora , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 13/49] hw/ppc/spapr: Add missing license Date: Mon, 19 Feb 2024 18:29:02 +1000 Message-ID: <20240219082938.238302-14-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240219082938.238302-1-npiggin@gmail.com> References: <20240219082938.238302-1-npiggin@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=npiggin@gmail.com; helo=mail-pl1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Commit 9fdf0c2995 ("Start implementing pSeries logical partition machine") added hw/ppc/spapr_hcall.c, then commit 962104f044 ("hw/ppc: moved hcalls that depend on softmmu") extracted the system code to hw/ppc/spapr_softmmu.c. Take the license and copyrights from the original spapr_hcall.c at commit 9fdf0c2995. Signed-off-by: Philippe Mathieu-Daudé [npiggin: Update file description.] Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Nicholas Piggin --- hw/ppc/spapr_softmmu.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hw/ppc/spapr_softmmu.c b/hw/ppc/spapr_softmmu.c index fc1bbc0b61..2fade94029 100644 --- a/hw/ppc/spapr_softmmu.c +++ b/hw/ppc/spapr_softmmu.c @@ -1,3 +1,12 @@ +/* + * MMU hypercalls for the sPAPR (pseries) vHyp hypervisor that is used by TCG + * + * Copyright (c) 2004-2007 Fabrice Bellard + * Copyright (c) 2007 Jocelyn Mayer + * Copyright (c) 2010 David Gibson, IBM Corporation. + * + * SPDX-License-Identifier: MIT + */ #include "qemu/osdep.h" #include "qemu/cutils.h" #include "qemu/memalign.h"