From patchwork Tue Dec 13 12:35:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 633504 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp3048944pvb; Tue, 13 Dec 2022 04:36:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf7yArGqOcx1OCFGbRx1s9cgHsvhj1FG/judATYK25D0L+HXhrCoaZ4bp472j5jXmnnHH9zw X-Received: by 2002:a05:6214:b0d:b0:4c7:1fa7:25e7 with SMTP id u13-20020a0562140b0d00b004c71fa725e7mr32343308qvj.3.1670934986024; Tue, 13 Dec 2022 04:36:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670934986; cv=none; d=google.com; s=arc-20160816; b=hakbz56i3ixPz0t2aMX0B5d7NGsvapPk+DC2eTLkcWeawVWmmtIWrrVaREtCe69dqY le53EUKwIRq1zZ+Mf8rIFH7fQmFpjpjMoTJPlubn+/XC9gMeaK0yIrqHP4leSNW/pI1G yLDBFN+nHb/2ceb1LtYEAOw+bMzlqZ/a7v11ihbJIviX5LTHW+phpINxK7oc4ls3IQxo 9jKl2s8zOI8x00i4Oa0gweW3fV2gn305wxliGNDzWwYM9NYy0qwZ7d2NMoHrbR234fB4 OHb8FZHqbNp1oec3IPr4GLTLGq+a5/3BLkQ/PaJTjRdjzKX43bznSmCPgrHRt7JfG00i DttQ== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=syOoJ6QfHbT1mHY1LElg19fus+7+qsrsI/XddduWUC8=; b=B4rFmazMVPbUgUr6jEGK7CG3rWFjMSzqbFexM3ZMWEAq9gJgV+CuaSqUGbzJtmaKkj z/4QQ63KjyWM/zKuHlxF3Wz6ZUwLhfg1duSWRzOeltcTLLPRb1e2189UUyZt/sl2Zvrh 80axuXLI/FSusjWyRSbH+fSerny5viD0UWF+Ciy3p+nqzWag5wl6RfL0AcdX01kYE80s FbpCfVJTih2TBbRPgs8h2haVuQCxdZXkKYYZh410+SJPFVQasaCzY36TngbcDBVu4ezh 7fBYuhrG6ZRKm0hT+gPE6cyd89I3xo0yTmvbwpsiRD+L+DUXmWaBsEwR3rDwdYncOOyw weDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UXi1cOsp; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 12-20020a0562140d6c00b004bb9151f128si7125948qvs.499.2022.12.13.04.36.25 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Dec 2022 04:36:26 -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=@linaro.org header.s=google header.b=UXi1cOsp; 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=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p54W7-0001HJ-JF; Tue, 13 Dec 2022 07:36:15 -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 1p54Vq-0001ET-2Y for qemu-devel@nongnu.org; Tue, 13 Dec 2022 07:35:58 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p54Vo-00062I-Ih for qemu-devel@nongnu.org; Tue, 13 Dec 2022 07:35:57 -0500 Received: by mail-wm1-x32e.google.com with SMTP id n9-20020a05600c3b8900b003d0944dba41so7832415wms.4 for ; Tue, 13 Dec 2022 04:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=syOoJ6QfHbT1mHY1LElg19fus+7+qsrsI/XddduWUC8=; b=UXi1cOspPqeiEgmVJxV3WfL9DIpL6mXkrykjdbnvUZlOp2QQedqySUZ0WDcQQhewXn BWu9cWpuYp+0X5E/vWNxskY8GN0pE1vl7ELCIjn5tfbVRK4kxzb3r6g+SYrOa9t40zoa 16CRd6K/DKv5R9NU+GK5A6mPk0yVImGxpVlhMD/ci8sgELdEcI8XBNGIqWuPnC+hnbtK iQP8IFW7PjDpIJT8kIBpwcLOuAIu3f3qP2JjGV9F3ngGkShhT2ENlen3G5C3AjKHfmO1 JveXORRKF4Rgp406B+fv8I5VH0PL4LbUJXfC/JA/j7wNjfCHAOHDvWzK25QoGBqToSSZ xecg== 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:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=syOoJ6QfHbT1mHY1LElg19fus+7+qsrsI/XddduWUC8=; b=MeXKHjYQhCpeXZCqT4ngiutXMN5e86szEsW9xguPXeUNtfxt1hXgjVy3NXP5pc/ANR AskqGezyNnYnRW058EeUs4ioWGdQNKGTWrFfg1NrMPA7223TuzNnpvLys7Xa6CYfImhr GlkleTH/4BKf5d7X2HiyfIaUO5YI//POhmDaHdePkzRqAc/BOXJujxP/7c42f/OeMX1N VfwirXT/K2i3AwjLD3OuEnJ0uStroFQT8GclWqIBCSBKnkHanV3FV8DW+fOCfLTSr/4p I1fAEsDXDPklwTXvkZuSicVgjUZNSkeLgokc0lyUXHW1ARK8UkcOw6mHZCkF3jFPvakZ ooYA== X-Gm-Message-State: ANoB5plqz2xux5j+8g/iep7u/s2nTVQ8ZWiIC0kTTkqoFVe+em1UMMKc z5CnUTXFGuFxu7AxdpTqMSMoNXyiy7kRGM40rcc= X-Received: by 2002:a05:600c:805:b0:3d1:ebdf:d592 with SMTP id k5-20020a05600c080500b003d1ebdfd592mr15090720wmp.22.1670934953371; Tue, 13 Dec 2022 04:35:53 -0800 (PST) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id g20-20020a05600c4ed400b003c71358a42dsm17514329wmq.18.2022.12.13.04.35.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 13 Dec 2022 04:35:52 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-ppc@nongnu.org, David Gibson , kvm@vger.kernel.org, Alexey Kardashevskiy , Daniel Henrique Barboza , =?utf-8?q?C=C3=A9dric_Le_G?= =?utf-8?q?oater?= , Greg Kurz , Paolo Bonzini , Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.0 0/4] ppc: Clean up few headers to make them target agnostic Date: Tue, 13 Dec 2022 13:35:46 +0100 Message-Id: <20221213123550.39302-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=philmd@linaro.org; helo=mail-wm1-x32e.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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 Few changes in hw/ & target/ to reduce the target specificity of some sPAPR headers. Philippe Mathieu-Daudé (4): target/ppc/kvm: Add missing "cpu.h" and "exec/hwaddr.h" hw/ppc/vof: Do not include the full "cpu.h" hw/ppc/spapr: Reduce "vof.h" inclusion hw/ppc/spapr_ovec: Avoid target_ulong spapr_ovec_parse_vector() hw/ppc/spapr.c | 1 + hw/ppc/spapr_ovec.c | 3 ++- include/hw/ppc/spapr.h | 3 ++- include/hw/ppc/spapr_ovec.h | 4 ++-- include/hw/ppc/vof.h | 2 +- target/ppc/kvm_ppc.h | 3 +++ 6 files changed, 11 insertions(+), 5 deletions(-)