Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1A33FC4706C for ; Fri, 12 Jan 2024 22:25:34 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOPxe-0004lQ-J9; Fri, 12 Jan 2024 17:25:12 -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 1rOPxa-0004l4-LC for qemu-devel@nongnu.org; Fri, 12 Jan 2024 17:25:08 -0500 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOPxX-0003Xp-Dx for qemu-devel@nongnu.org; Fri, 12 Jan 2024 17:25:05 -0500 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6d9af1f12d5so6048950b3a.3 for ; Fri, 12 Jan 2024 14:25:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705098302; x=1705703102; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EzmvGX+5lopIiSQe+5jFvQId5oaw4SJgsWjVZjj6olI=; b=KMvjO5YjoFfGaKA+U6/g02KGQJN5AWk50h8wlAelIUq3+jt14T9KBwHG8n8EBkJsL+ GwgZxPEJEdHvYjrGDDPB+g2SOfeFhlobkxzTaF8KWPKydaebOeAxEvW/ZLZNiOJrKr51 6F0IJlaswlk0OIF4+WTNj5s8JKvHQpx6eFaWTq67NY1wIhsvm24xqiSNO3S7JnGlIIDs cdQU6VokiaM9a++kSXQ57iMEmFldOcL6cOvNH9Gj1Agqjy+Iq7uETTHBAvQgeBOjZCze FJDgLj5SSUUtPuWQaHhoXsws5Z7Yl8GAsbshPNEAXQ6wACerEnVb/s8XkniaWn2J2WzO ldCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705098302; x=1705703102; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EzmvGX+5lopIiSQe+5jFvQId5oaw4SJgsWjVZjj6olI=; b=gU+fo0o5jmDxc2DhCzU3MsX4BX8u+idxGrdAApNGguIrHgZ4CbCxulAnebS7FcV2Ym KiUoiuo4q0Bd4Sn7i5T+wUX0Ojb4PQLPnU1ooICW7NousDmtTJJb+D48SHigzPcsyZmZ HjY69ivH8J/d/BsAcNdbTYvM7GiuIpu0/ON97HgzXnHTfN4RcOZ0KL5WGBBmONgotEFQ mM5vIlGZ+wQctgHKp1DL72aXBlxNDiX/Rl+RV1lylAhljkrbXEGXJf47cPWXCOtty55y JBgBi2Qy+Zs45l0ML3pOu4xDYqm6Gf5KOMWnu9yY8K/q/+eNa1eePFh8khcc5BP9g1kD Nw8A== X-Gm-Message-State: AOJu0YxmQosyxrw/H2g8Km9i2U5jQq/nwc0/YJ6qxbEk+obyn8gwTML+ Mxsia5WDa1OiMKrzW+MQs03DlINd8+AOKA== X-Google-Smtp-Source: AGHT+IGu44ZI3ZneaokNTmhuFJMbpnfwtwW/5J+bsfx96P9f6Bbe3Pt2JzsaNryBiK8uyyb/aRytuQ== X-Received: by 2002:a05:6a00:1251:b0:6da:e246:5c2 with SMTP id u17-20020a056a00125100b006dae24605c2mr2090137pfi.55.1705098301884; Fri, 12 Jan 2024 14:25:01 -0800 (PST) Received: from ?IPV6:2001:8004:2728:2ad6:e985:c1c8:a4fc:508? ([2001:8004:2728:2ad6:e985:c1c8:a4fc:508]) by smtp.gmail.com with ESMTPSA id fb9-20020a056a002d8900b006da550512d8sm3629327pfb.126.2024.01.12.14.24.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jan 2024 14:25:01 -0800 (PST) Message-ID: Date: Sat, 13 Jan 2024 09:24:55 +1100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 4/9] target/hppa: Fix PDC address translation on PA2.0 with PSW.W=0 Content-Language: en-US To: Helge Deller , Laurent Vivier , qemu-devel@nongnu.org References: <20240112102927.35406-1-deller@kernel.org> <20240112102927.35406-5-deller@kernel.org> <551dac95-3346-41eb-aa8c-d22b19f8c4fd@linaro.org> From: Richard Henderson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42d.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, 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 1/13/24 09:23, Helge Deller wrote: >> Please adjust the code comment that immediately precedes this, not just >> within the commit message. > > Like this: ? Yes, thanks. Reviewed-by: Richard Henderson > + /* > + * PDC address space: > + * Figures H-10 and H-11 of the parisc2.0 spec do not specify > + * where to map into the 64-bit PDC address space. > + * We map with an offset which equals the 32-bit address, which > + * is what can be seen on physical machines too. > + */ > + addr = (uint32_t)addr; r~