Message ID | 20241220213103.6314-1-philmd@linaro.org |
---|---|
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp2288601wrq; Fri, 20 Dec 2024 13:31:24 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXxypq0K627ZO7I+a0sAzRH4QNk4McN4NVEXDFFmBGVPOAN7UJYE43KG7tw+9q3XavZoJjf7g==@linaro.org X-Google-Smtp-Source: AGHT+IGypA7weZXlLDlI1/ZnTmZAd4FyXGGumfS8DakGiCxyv8sUKyjIPmHI4Sr5IK1+Dyi5tPmQ X-Received: by 2002:a05:6214:212b:b0:6d8:94f4:d2a8 with SMTP id 6a1803df08f44-6dd235a9b8amr67823976d6.9.1734730284709; Fri, 20 Dec 2024 13:31:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734730284; cv=none; d=google.com; s=arc-20240605; b=KrnBEvUp8DoIFFzO5qp24ZzRq64d5FvkvW8cYoZvZUz+AgZXwn+q7uoAg40D+7zQp9 PQ8fBq9tASat8UasKWU+n+64bgtjh5hbv8DtSD77nBk4PQSLAn7iT+M1TjfG1uVNN3YG iJkpBQ6ZkgXJ2Xl9TGgIbadHU66oXZFApA1QqUHzkmKSGR3j9fNQh1BZfRTgtxzM0xdb BIJg2VEfrapJpp43tOqzS8HeOPTnvk55MIQW9vVFuohhVpsuoegmL/7wWyAozFLm33gn jwUcB9fJb7RwKW4D9JdfYvYs8SR6Rlu1GIZFiRcje5spiEG19ODYVGWCPsRv/kZbcccu Mfww== 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=QbAYhbljOfTe/v2IHyy0lhx9IvpThPW6vzP8nvtQH3E=; fh=yNkaL6iJ4UGZubT5jP4totJNhnk+FwlqyNNVT/x++mk=; b=PvKbcOT1tSVqS+ccsUCXDpBxvraAUrSUzlhN8qsYemPimNIS0RQnXdxGScNfxJeb6U 69A5+KwWP4xX+hAqwMBtFq+jir5pU3z8qKvUmqHRKor9Q3Ce2hqlM9BmFwgMMdplyUGO 84hJRLSBHOgwrZqhLmusPqL0oAWh57VHVQuuJ39Ys2Kf61Dp8fUhh2StU3KFH2BYCBZ3 NFHmG6036hHbpW7lSkuFQIX/USiLjQUBf27RG/FXaSlpI7Ph6dQDyn6EVMShwxmbFeJL 7+BlpqyPOTh1p9Cpftirmc5YbIigoXGtf9z++lMw6mP7ITnBfFWe1+ssE4PqOrbNpUX7 lxWA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lZw6M2Ds; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dd181385a2si48707766d6.156.2024.12.20.13.31.24 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Dec 2024 13:31:24 -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=lZw6M2Ds; 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 <qemu-devel-bounces@nongnu.org>) id 1tOkaV-0004PX-Dd; Fri, 20 Dec 2024 16:31:11 -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 <philmd@linaro.org>) id 1tOkaT-0004P0-0f for qemu-devel@nongnu.org; Fri, 20 Dec 2024 16:31:09 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tOkaR-00072q-5t for qemu-devel@nongnu.org; Fri, 20 Dec 2024 16:31:08 -0500 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4364a37a1d7so23512865e9.3 for <qemu-devel@nongnu.org>; Fri, 20 Dec 2024 13:31:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734730265; x=1735335065; 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=QbAYhbljOfTe/v2IHyy0lhx9IvpThPW6vzP8nvtQH3E=; b=lZw6M2DsnyAaONAdo3lCCPl+yNThQGH6mT83gCDjY1PRorwhjKJCJ4+cwb57KoLEII XbBGb2lVryPWI/Ixn09oGiKSwaxwoLXKkqgGaNd4pYRGz5KLED3aRbC+89XtgnWwgotb Lk2vypl1ez9VAfQu1bJsdMo0gWt2M4YzO1K7HgozfodOeYBDd0lYhOw952pFK37W1ETY kGE4kBIMycPTFvkXd5iI8KjrVO2vJM5/KJLN54fClV66L2mPjGd4nOXRXNKhHKFuneuR ULzyAqdFIAvmYxU1t0w9vqvk5aCHKIn8ppjDCyxGhIF3Fwot+Pk7lvGSQh+eXhJAMz7S 3zHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734730265; x=1735335065; 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=QbAYhbljOfTe/v2IHyy0lhx9IvpThPW6vzP8nvtQH3E=; b=wstBlrzZbdIHCV6IffSzPQ0o1bDpwAzwVSNKmi/4fSoaY0l9yftajpzelHFaRZexZM KLkgw/Mgy/7fbkxx1ZO8hU6QLNFPq2cZWHAWgNO/+ri/uE93UBppvo5kQopFkw3PQwP7 Zd1h39mG/F07MCKaJ3ygU5a/m0brxXhBbeZWf6AlKE62uHtmK4M7QMsdVed0Na+0Y8PC vhpt3S5PQ4BIQbF61bLJctpR0CAuQ6pYihLlHuyyIKCeChs1ZkKq/N9xh2y1F0XeR98Q OkZTj3Pglk6lGH8D2srn6dWS1uN/ROD958w8qS1h2dhZm/tgwGbXLw3Cx3z2fE2Xrvji 0TZw== X-Gm-Message-State: AOJu0Yziqg9GDt84jAQu9V2kWXKkY5VFpCyOZJVWSwnw9sxgUOEPZGKD fxorcfeD6j0VIQ+e6z7PIJaJ9AwhrlJOBmrAjxQJU+meUPs2TqYelnHKojPzBvozGf53TlQIvlW D X-Gm-Gg: ASbGncvBxkTYgtLU7gKxcRi/vug67fL6wy0ddIEy7nsMA5SaZHKypkvEwaAQqPRqY9K 7uz0Afi4SFVDOREcs8lmLTyzYGYiAkQklQfj1bCASv7aPVNvZjmVy0o/myyECEkCqiepMDdqG9w 6hWYTmNPnadTZHacFDuczWDJ+d+qMvsj+bHSTvWs/rqwaUM3hWaWrlL1tPuZxyjEyBugF0OhRiX 3VXbH1P0zRyW79kQWJWYr2f+pD4g4twK2QQI9uTxBis4j3FY6DHZ5S2Nz8xL2XRn0mP2Sf5AGg= X-Received: by 2002:a05:600c:4f0f:b0:434:a8ef:442f with SMTP id 5b1f17b1804b1-43668b78d5fmr33951625e9.32.1734730265306; Fri, 20 Dec 2024 13:31:05 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c8287adsm4873668f8f.16.2024.12.20.13.31.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 20 Dec 2024 13:31:04 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Nicholas Piggin <npiggin@gmail.com>, qemu-ppc@nongnu.org, Harsh Prateek Bora <harshpb@linux.ibm.com>, BALATON Zoltan <balaton@eik.bme.hu>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, =?utf-8?q?Philippe_Mathieu-?= =?utf-8?q?Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH v4 0/6] hw/ppc: Remove tswap() calls Date: Fri, 20 Dec 2024 22:30:57 +0100 Message-ID: <20241220213103.6314-1-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
hw/ppc: Remove tswap() calls
|
expand
|
On Sat, 21 Dec, 2024, 3:02 am Philippe Mathieu-Daudé, <philmd@linaro.org> wrote: > Since v3: > - Addressed Nick & Harsh review comments > > Remove the tswap() calls on ePAPR, and convert > them to big-endian LD/ST API on sPAPR. > > Build-tested only. > > Philippe Mathieu-Daudé (6): > hw/ppc/spapr: Convert HPTE() macro as hpte_get_ptr() method > hw/ppc/spapr: Convert HPTE_VALID() macro as hpte_is_valid() method > hw/ppc/spapr: Convert HPTE_DIRTY() macro as hpte_is_dirty() method > hw/ppc/spapr: Convert CLEAN_HPTE() macro as hpte_set_clean() method > hw/ppc/spapr: Convert DIRTY_HPTE() macro as hpte_set_dirty() method > hw/ppc/epapr: Do not swap ePAPR magic value > For spapr: Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> > hw/ppc/sam460ex.c | 2 +- > hw/ppc/spapr.c | 63 +++++++++++++++++++++++++++++-------------- > hw/ppc/virtex_ml507.c | 2 +- > 3 files changed, 45 insertions(+), 22 deletions(-) > > -- > 2.47.1 > > >