From patchwork Fri Feb 23 15:41:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 775132 Delivered-To: patch@linaro.org Received: by 2002:adf:a356:0:b0:33b:4db1:f5b3 with SMTP id d22csp414605wrb; Fri, 23 Feb 2024 07:59:14 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVaFfJw1SRfmt6Rse9nKx9Obk2gAin6F97GlxgUom+nz/Yx6EZBY0YCrdQ5dbkzdhycuF7/5QF/vDzVbhAQef2o X-Google-Smtp-Source: AGHT+IEUkf8sP3Gr2uNGTxXosCI0lxgXMQDvJH8ajHfUkHl775hmKZh612oXzhgJlAxoQ0HZh6/M X-Received: by 2002:a05:6808:eca:b0:3c1:83fb:ee34 with SMTP id q10-20020a0568080eca00b003c183fbee34mr208801oiv.29.1708703953976; Fri, 23 Feb 2024 07:59:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708703953; cv=none; d=google.com; s=arc-20160816; b=r8rWXbu3cEKToDVuqNpuBIZUOvnUG36U8QNScRz2WpN9ttMjdqrXOoTnLPqrkqQIXh MJmHlKKkrirZ1xVnPLg/U0Jxx0+GT8zSMWix+FAcEAZ+GI024bmwOzJAyV6D3K7VpLHp Nub4UAqm/dYsVSwBmz+ieiU9KxNET9ITG5J5SfoOOk5GQgWeqyhDprdFoaleAIbckjYX Bb6/2apJBTxTWOly+fxblk32Gr+7Ro2W/lHr1AkiK+CgQOtL/t0603sDMujepiHb7rEe u87z3CS4GmV87VUityCDzljATATKH8QMwVlvMItsH6fp4ziNMc20sVkavFVCcV5ozuD2 h1NA== 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=xQogT0MP6lBZBoeys7fE0427FH9vJOmdwnI1Wql3azk=; b=Eg5TBj5a2k1CPniRxP7g5iYkL5zhzM//SuzB5SUuaYAnYocDsLZBbbfy7h65R7l0/O iG0HS+vqxMN0ydCaaLD2tCr/kpuqwhYg14ljJ/xyz5Vm18JJS5EIMjMWb66XQ+rkK2uU O0ZIGTllwMDgO0Y6HwJdX8vT2U4KrOooruuTpuXeLb9649dTQrupOG4EJx8UM5zG0aN2 P4IeZQ62lbmgYssTUm7n/EC8s/hd2FwBLY8Cqf+04cnLjzKwCwUk6wykCnsX/ydgUCA/ uM7VmGxIImAGXyisESz2cuN9YCarhX2gxjslwXYmFpVI1vcxZp3pWrEAW6Db/5sj3rOG De/g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=afOiToqL; 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 r8-20020a05620a298800b00787b49630besi1280029qkp.60.2024.02.23.07.59.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Feb 2024 07:59:13 -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=afOiToqL; 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 1rdXu8-0003hZ-9B; Fri, 23 Feb 2024 10:56:04 -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 1rdXiX-0005ZP-LH; Fri, 23 Feb 2024 10:44:05 -0500 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdXiW-0006Ec-8M; Fri, 23 Feb 2024 10:44:05 -0500 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5ce07cf1e5dso433145a12.2; Fri, 23 Feb 2024 07:44:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708703042; x=1709307842; 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=afOiToqLIVOb90o9gHQhTQWBrx/0eIzaxkpWR0C+q/UY3bvokGDx5XJycMrcY+iT/b pZJ+vkfoGa5qNfPMKlEOd05n6qEnhflFiLK2KN0hHNjW7YPT1cOGDBSUfIEmF6ZwXJO7 xDFIEnHnbwhUao1tHWDggoK/6RCyRy6wtb+XQjKNDCWNhKwqgJRKfcnu37+kdZsXGVF4 Ww5klY2l6SPwMD/N2YyPCjU5sklwbYIdBwX/eT3c+pWX87QRcjNmVz5mVrRv7W6h6XCs foFqnyWtPvlwtY0to+3GQDaghPsQ0wEw/FJRaeiL3Ozgqr0uPM3zxLTFYUCA3aA20m71 yN1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708703042; x=1709307842; 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=mq2H6LbB6OJv16rFx0ncZG3DmV88cM1fJO6xbJGaig8BrnztQOPGxlIei1uMQLGTEO yNPIDEvQdGAT68cpc6xoQoqxFbxydfNeE44eZr9IxwiN7paD3sKbGYVgNBqpYUf+N689 RzQ+I+QQ56BuwDyGNy0MYaleH6M7fbmQVzCCs54VuhIX9ztVtrwsid7zZFzuG6yqXHR7 qMGhCn3d+KJ0jokib+4ony5bMXBIQPqE9LsBxDqQIFMrKf7wSNnQS7vAljoYPiqelJsy 4yej4asF3zpjANye8XOu6UMTAoBp5bu2mGPorbJG4qzjFg+TjpbVDxKu2pDebBx4WzXB rrbA== X-Forwarded-Encrypted: i=1; AJvYcCWblacq2is+xbiSnE7QKRVRwnNN/01dNY6IHXVnoJ9uxrN10z67Xt2oP5c+lJQG6O2F9VtwbgNf+JmMnlz9p3FqGJYV X-Gm-Message-State: AOJu0Yz+JCZL6ry1cFfppZXDqzDuetjmrFkHfwxjwsKYnJ9yduvDfRJ2 A+Iqv7q2NF7BOVpI9PZ444jfk/NboacE12gbZR+2n+St60YjlrFQLgAPp0Nw X-Received: by 2002:a05:6a20:d495:b0:19e:bd3e:76e1 with SMTP id im21-20020a056a20d49500b0019ebd3e76e1mr232774pzb.48.1708703042166; Fri, 23 Feb 2024 07:44:02 -0800 (PST) Received: from wheely.local0.net (220-235-194-103.tpgi.com.au. [220.235.194.103]) by smtp.gmail.com with ESMTPSA id h18-20020a170902f2d200b001d913992d8csm11808208plc.242.2024.02.23.07.43.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 07:44:02 -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 12/47] hw/ppc/spapr: Add missing license Date: Sat, 24 Feb 2024 01:41:31 +1000 Message-ID: <20240223154211.1001692-13-npiggin@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240223154211.1001692-1-npiggin@gmail.com> References: <20240223154211.1001692-1-npiggin@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=npiggin@gmail.com; helo=mail-pg1-x52e.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"