From patchwork Fri Sep 27 21:45:27 2024 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: 831030 Delivered-To: patch@linaro.org Received: by 2002:a5d:66c8:0:b0:367:895a:4699 with SMTP id k8csp968844wrw; Fri, 27 Sep 2024 14:46:34 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUnuEH44IoEgVWNRbuZBENLJglk67Ni3tDoiHVj/jw2SF6O+zAb1xc0iueuS5rA6/EQnkK5UQ==@linaro.org X-Google-Smtp-Source: AGHT+IFyyl1ricrlg1PCIUfv7giQw1CvYjFGUdhEfS9DRaRjcjCBm2IviIZESHsDgY3eMUf4mPhL X-Received: by 2002:a05:620a:1a13:b0:79f:793:9a63 with SMTP id af79cd13be357-7ae378c2842mr644304085a.44.1727473594360; Fri, 27 Sep 2024 14:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727473594; cv=none; d=google.com; s=arc-20240605; b=Saj2R4jDkFcT2AjazmhCgG4WvDtyqiGeUW9aKInafHOTqfZvC+lBBp2GPLI/XL0MKp 1yS4pAUNfqeFT2W4VW/2cPurft4zIemEX/oRRCbiBbDLaUPkqWQPjNrXfCBUsaYKhoPx eKW4KJ0tr/L0HkBiJNqwUZdLuMy4Oh8Yp2IVpur5cAFYk74FAn+NrQheAfiiQNytYc3H PK1gQm1lsCl+I1twITpmx9MxkXBLIDY5Kn+a2GTWhIi7S31+Ru6i9QhcTe1Cs6MIrKlC jnj9rgk2ZMzyWt8bw8RxTwtlGjjAcJOdhieH3FMaqEK1mieTNs8f6IinvWdyJJZCYiNM Dvzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=8FAFiSDjqWLgEQX5cTL85SBND1KMRxlAjrYJKgtvFoY=; fh=g3QeHlbvb1KMMNFLUbXIUYUDrJCyu1ADbrLKZLJdjPs=; b=XmYih8dJVcEVcMJA7mqd61lXjjcj3dOx0GtAIDGJv29R4uzxu1SFYrGf//VWd19Eoj DtrXw8gpk1hLRFwCxV8nJkOdIxQsBkD+X7oRN3zNNCFQ1HjPcJLPnt2O3+2HnvhFkG9H fHciBGUltSznwokWjctpp5pNOoI32QSYjVAScOewbX6TGe93W0jP1QuqwWvY9lr1ppg9 i+SeMDfz9zWOAYLIilsNmc6Ooy3SzwMKYi3EvP1kYf/df41oyNmvHJufYshkjYYUb86n lz0b1lxDaSCoqxw3AeKiByfFrkIhU6sw1rj7ykanhDNd0/4WPkucl+TaGEoaWQTLJzEe 5DyQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vPHZ+jIR; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7ae378382ecsi318706885a.242.2024.09.27.14.46.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 Sep 2024 14:46:34 -0700 (PDT) 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=vPHZ+jIR; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suImd-0003wg-4e; Fri, 27 Sep 2024 17:45:51 -0400 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 1suImb-0003v8-NL for qemu-devel@nongnu.org; Fri, 27 Sep 2024 17:45:49 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1suImP-0003tt-AD for qemu-devel@nongnu.org; Fri, 27 Sep 2024 17:45:38 -0400 Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-42cba8340beso22508765e9.1 for ; Fri, 27 Sep 2024 14:45:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1727473535; x=1728078335; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8FAFiSDjqWLgEQX5cTL85SBND1KMRxlAjrYJKgtvFoY=; b=vPHZ+jIR72za9EyIvLAXJeJCkVXFWsXn1xzG+8mOZ3Ac9rDm0FMVeFk2bZ2UW1mrvk zUF62qsscUpVM5uUcxGwvdZA70tqoOGvBc8nusJw0xWPC+UEZBNGk4Wy7nc7XsQGlCB7 9WZEQOTNJRXn4ZL5DDIcLxqL2Q+FW3dGfX4h3RinpmQUA1/pV+OIBtI8IH4CTDUgDy45 hueW7LT7MbaQB0KysaNZpALgi2+hT9tHeHgC7+MurWz1EdIm3MPqJvPVVcFkavL0fbQ7 RH/IVax4aCbvNMjjD2zuOr88sVi0+EdLENkFMdGi81mcYte5CeiROJuknE6tavBk+EOF aBzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727473535; x=1728078335; 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=8FAFiSDjqWLgEQX5cTL85SBND1KMRxlAjrYJKgtvFoY=; b=MzqLSdppgf5hbv1jxhe27qwZD9GmnDE1EuKRt6qC4UHpTbvscwhW34PgXIko69tQvt sgXmQf6WSD/q40HYjwKhC/TkqiLqFh1L8oKD95sci5xS1ScO13H8pN0xWotPd0pyQWtt xSaJYUMWMflaEsXMRYi0FzJ8wLtWty0xZb6LPQZ64suCWa4/xM7a35q3tRkiMO+K4FXN odhYcOr395TeJij1Es7zzQaR9NDVjOpsTzz5cYp+2AoLC1nt2WDqhZl/MrtkvCuL3IlI G04OGVFwbaN2kYjUj32BQbPaEhh/4i7tgDtVF+EyzEeze9GXsgepf8dDE+Cu7XLrik++ cHIA== X-Gm-Message-State: AOJu0Yz1PdtvUw4p2792NBtLJSB4bQ1oB7nR3IlgLVFBQKXaQHk1FCwe k0tFZL5aY0b6h+24sW4+oHFX/Ns3eCh+cfwTInxsRUafeqRgKa5RIXzEbdINtbx7XIJeTL30QRa N X-Received: by 2002:a05:600c:1988:b0:42c:b73b:fb43 with SMTP id 5b1f17b1804b1-42f5220105bmr53303435e9.12.1727473534591; Fri, 27 Sep 2024 14:45:34 -0700 (PDT) Received: from localhost.localdomain ([176.187.217.136]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42e969f2083sm83472645e9.15.2024.09.27.14.45.32 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 27 Sep 2024 14:45:33 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Daniel Henrique Barboza , Nicholas Piggin , David Gibson , qemu-ppc@nongnu.org, Alexey Kardashevskiy , Harsh Prateek Bora , Jason Wang , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH 0/4] hw/ppc & net: Simplify LD/ST API uses Date: Fri, 27 Sep 2024 23:45:27 +0200 Message-ID: <20240927214531.20242-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=philmd@linaro.org; helo=mail-wm1-x335.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 Use ldN / stN methods to access variable lengths. Philippe Mathieu-Daudé (4): hw/ppc/spapr_nvdimm: Simplify LD/ST API uses hw/ppc/spapr_vof: Simplify LD/ST API uses hw/ppc/vof: Simplify LD/ST API uses net/l2tpv3: Simplify LD/ST API uses hw/ppc/spapr_nvdimm.c | 47 ++++--------------------------------------- hw/ppc/spapr_vof.c | 27 +++++++++---------------- hw/ppc/vof.c | 6 +----- net/l2tpv3.c | 6 +----- 4 files changed, 15 insertions(+), 71 deletions(-)