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 1A84FC02192 for ; Mon, 3 Feb 2025 17:30:24 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tf0Gu-0007o3-MC; Mon, 03 Feb 2025 12:30:08 -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 1tf0Gn-0007ix-Va for qemu-riscv@nongnu.org; Mon, 03 Feb 2025 12:30:02 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tf0Gm-00057F-6R for qemu-riscv@nongnu.org; Mon, 03 Feb 2025 12:30:01 -0500 Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-21ddb406f32so73714165ad.2 for ; Mon, 03 Feb 2025 09:29:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1738603798; x=1739208598; darn=nongnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3M/t/6xJsZMRaArLoz+MYFzdKHqDmiLBPzLQqi5LLwM=; b=MgYa6fFuw64POA+hccJeyix87d+IOLLEUN4spBzgje5hX3O34rW4fg4KSlpczITB/J 1nP6Md5LAERgeAEL1AXtoWNIgStu5ey+poEyzXdUzTyqWo2g0EKrrmSm2ctFrLP+bVHC 7ecpoyyn2EHf8UNkb4LFEQjeaCnxncY8lbceiBas8xrfpAzrYR5vQPVGG5+59Un5z2Ii cR0a9kwAwGeFI77yEqyW2C08eHQ0apZhJ6zACy788g8gssk21V8hr1ZbUy9FLbTfQYLi Drw4JmACshtvmetLCDc/q2qmGpFQqCIeqqA6cogM/mgWfhR5Gb8Z5abXwQeEbaXqzBg6 KL1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738603798; x=1739208598; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3M/t/6xJsZMRaArLoz+MYFzdKHqDmiLBPzLQqi5LLwM=; b=waJcMCCriNJY57ADCW8GyAvTQFtxYZI4tAdvVH7YK1q15HzNSEDX+xpm48jcIHE+A2 II3FWBkJgQdh3qpGIq43Uc/IbHKl1H6sp7wLwofBn0WB7CyjwP3WxMk4oeZqszTVUP0M LUlV2p0hRVQ51dRWKTaMmoUY9mhj3PtUY+cdYshwqwjVN/MimSTwmZwgXlnGMOoG7y6l XrMnJ8P73bsXrL0PdZf2I6p+ZqQSWypz7M7OBUB7WBX1JmIB11DR23pHhZuFASStfYSe 57xMMIlIj+iyoTHrPDOHSdX9PCecniFG/FGsX59iYBAwDhXMItds+dLNL6BX4lSXxI8s tjBQ== X-Forwarded-Encrypted: i=1; AJvYcCXJiuCdIsez1ErWfpOnTuuTYfyAVEOXuEsjvwrwcWZRAUNWhQD997wxGJMXnFUMHJRYSm/pHgdUkXWy@nongnu.org X-Gm-Message-State: AOJu0Yw3wj3Jhq038DK8GjbxRAPOINHqd0yDsNs/6wZMv5ogj8ifKu3f HUur9bZUtCzOfjATui3HYjhca+yLbZws8iBpD3uhyP7NvUdb3I7+IyqHD4dHwuMSDC5L8mKKaFW T X-Gm-Gg: ASbGncuD7eHoq+V9EKy0lHlE7Gd1E7seLzDIlCpZorcuClqWgtdyuHgYd83wORPFb+3 a2bCX4kMN8bd+V7z9RpQ+I/BiI/QXQk8mZIxWWiJhrESPLgiRZyORHUk2XqQ2IEdGU5RD9ohFJy qgHkG+oXwVa1DTpV1lMOK0aE4NJApL/e3ACS9wxx0o2gtlTcIgWaF4U9cA0SviLO5N3Bfd42Cxs lN9R51coBI6XLyzS7zP2PXE6/dElZIXvQujEZxJHRQ2I3zz7+G7XtvuoB2qK6upNxOF4jK7uX9G +CDPttbhAnQqPzag5BymImZ4cP/ujwc= X-Google-Smtp-Source: AGHT+IGc2dt1fa3fF1Y3CFWUpDn++9E9tNgvvIsbn7nzBDQB/d+gO7IjWLwoI3n+AQibNPjIhivptw== X-Received: by 2002:a05:6a21:458a:b0:1e4:8fdd:8c77 with SMTP id adf61e73a8af0-1ed7a479222mr38592037637.8.1738603798373; Mon, 03 Feb 2025 09:29:58 -0800 (PST) Received: from [192.168.68.110] ([177.170.227.211]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72fe631bee1sm8692928b3a.2.2025.02.03.09.29.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Feb 2025 09:29:57 -0800 (PST) Message-ID: <9b09777c-d1a2-43c0-b2cb-d09f4797896f@ventanamicro.com> Date: Mon, 3 Feb 2025 14:29:54 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] target/riscv: log guest errors when reserved bits are set in PTEs To: =?UTF-8?Q?Alex_Benn=C3=A9e?= , Julia Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org References: <20250202051505.1846933-1-midnight@trainwit.ch> <20250202051505.1846933-2-midnight@trainwit.ch> <8149beba-66b1-4707-93f1-083b8bc5ece0@app.fastmail.com> <87jza7azck.fsf@draig.linaro.org> Content-Language: en-US From: Daniel Henrique Barboza In-Reply-To: <87jza7azck.fsf@draig.linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=dbarboza@ventanamicro.com; helo=mail-pl1-x629.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-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org On 2/3/25 11:15 AM, Alex Bennée wrote: > Julia writes: > >>> This happens because 'pte' is a 'target_ulong' type that, for riscv32, will be >>> interpreted as uint32_t while the FMT being used is PRIx64. >>> >>> You can fix it by using TARGET_FMT_lx instead of PRIx64: >>> >> >> I've sent a follow-up patch fixing these build errors, it builds on 32 & 64 bit on my system. Cheers >> >> As for the Signed-off-by, I'd rather not, and the contributing guide >> does not require it. > > Apologies - I missed the context. > > The name used with “Signed-off-by” does not need to be your legal name, > nor birth name, nor appear on any government ID. It is the identity you > choose to be known by in the community, but should not be anonymous, nor > misrepresent whom you are. That's correct. The reason I mentioned about the "git" commands in my reply is that newcomers aren't necessarily well versed with git and creating a patch without doing a prior setup will, in Linux, use login_name@hostname as author. I saw the Signed-off-by of this patch and I figured that could be the case. Apparently I was wrong and the git identity used is intention, so we're good. By the way I wonder if we could amend docs/devel/submitting-a-patch.rst with a handful of lines about how to set author in git. We have docs about how to send git send-mail, format-patch and so on, but apparently nothing about how to set the author. Thanks, Daniel > >> >> Regards, >> Julia >