Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2014467lqo; Mon, 13 May 2024 05:43:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsCWGsoZm/nPr6wpnK1Clc0Ik0ZaQMXsqepe6BUw/bUUlZnOOfUIDouP1xrVlQyud2N/hxysihGyCe30Bgn7NAagv0S40+OI9C/wpwUQ== X-Google-Smtp-Source: AGHT+IHfNsbe7y7m766eWOFce+5z4NE34O0jd/mYm9XCU8D8aG/NDQnq2mrZTtnqjt9HpJ9DmN44 X-Received: by 2002:a81:af5d:0:b0:61b:e62f:3844 with SMTP id 00721157ae682-622aff901ddmr94891207b3.10.1715604202145; Mon, 13 May 2024 05:43:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715604202; cv=pass; d=google.com; s=arc-20160816; b=aAt+FW4YJGQyXwwijCl4PWYE1Nr9ilkf4rRz00932HTCYkJRXdMz34NgncyW9q+Rj7 k4in6VTOPPzXlnMY8AtkrFxJ5zHDriZ8mQJjepN4KP2GykoZmBL3PBvi2RuW/QZjgBxr 3/5WjJg87WAE0/LP0ihxRGt8vQI13Ef0r4khxSaEY/2WS9gn/XA3BXwsupmhhFl07HJ2 vOAw8iymPTP2OjpBC5naOPlT3hk2Gqj0a1Ph00ivAkhMeFXjhWCwDLLSuwyW0I/5Un3r sKqTICkMwy1pupjNhpZ3/lXsHtd7l+hgV2xHFEjT93tdhBNJRKZH6xtpYiCUn4O4ocwp aBrw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id; bh=INhTGa+hLJWxJaIBH8Ei7S3x1zwZqdSWYWQ3g86eEoE=; fh=XMQFYC5slOrhTlf+kYuxMdaliN4UORNAphyVWlu7CKk=; b=CaLci2nfpa8KZzEyXWyRF7Xz7aBsZ4RhQWZnRkGyZU0jvpnnqz97IxSTXmvp2JVzeL vL4yWa0a6TkswIlQzEkaCQXxdkObWWX+BmKuZBPXlMOZ70UcHUAZ5gNOkQh4dgLBBvbC tXksW/JYFL3wkqvWf5rUcKfMWoCXZmpi0mhDoNBHQiCj0rA8lFRgX7Q5tKQkvlk6p7Z2 haUj+Hf5HyW1T3XlcX7GOhG98eGoUoDXjcudwTV8nXh0OxgLdLGLX5MskKmyepS+v6pH BRJ5MXdBWmlHI+CnKT1Ufq9q3QXT1BaMCg+c7rD+NigHuflmxeK/yR9P+fNemX8Asu2a y+BQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-177571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177571-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43e08734a5esi55370851cf.548.2024.05.13.05.43.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 05:43:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-177571-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177571-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D72F21C21351 for ; Mon, 13 May 2024 12:43:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07C8014F9E3; Mon, 13 May 2024 12:43:13 +0000 (UTC) Received: from frasgout12.his.huawei.com (frasgout12.his.huawei.com [14.137.139.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A02DA3F; Mon, 13 May 2024 12:43:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=14.137.139.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715604192; cv=none; b=AuvZpz7SKDH+OC83UyImaoqWxihNcCfk8aHDZoOvXnmke9JZojmKVngVR9zAM4Q8b+cA0MQQwSrIRZrxZm4pcHV9DEdXuBgc+M6teTMLt7cYp6/efUVRnTQHSrBOEy+0NjPbD3E4gQ2R2W34qnGhhjA7qOJ7KJkTNvJNkwaK6oo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715604192; c=relaxed/simple; bh=INhTGa+hLJWxJaIBH8Ei7S3x1zwZqdSWYWQ3g86eEoE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=L5Hxs28DRyuAy9XabMW+v5JUIHZNg+R0deiLt8C5lfC7COHt2W+X7dQC7m/N3pq3iBKl3DZqf5QPRTCWegVVF3B/djk3JaMIIzx+FKfavaDdBKRST/xbNFE+x9YQwiNdB3hLoJ8YSPme9kjwTi6YB3SKxU9FyoqmcX1UBbdyp9Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=14.137.139.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.18.186.29]) by frasgout12.his.huawei.com (SkyGuard) with ESMTP id 4VdJW06sbTz9v7Jf; Mon, 13 May 2024 20:21:16 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.27]) by mail.maildlp.com (Postfix) with ESMTP id 64FFE1401E0; Mon, 13 May 2024 20:42:58 +0800 (CST) Received: from [127.0.0.1] (unknown [10.204.63.22]) by APP2 (Coremail) with SMTP id GxC2BwAXAyfGCkJmtr4SCA--.47370S2; Mon, 13 May 2024 13:42:57 +0100 (CET) Message-ID: <096121b3e74a7971b5e6a3d77ca8889380de1885.camel@huaweicloud.com> Subject: Re: [PATCH] arch/x86/um: Disable UBSAN sanitization From: Roberto Sassu To: Johannes Berg , richard@nod.at, anton.ivanov@cambridgegreys.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com Cc: x86@kernel.org, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, zohar@linux.ibm.com, linux-integrity@vger.kernel.org, Roberto Sassu Date: Mon, 13 May 2024 14:42:42 +0200 In-Reply-To: References: <20240513122754.1282833-1-roberto.sassu@huaweicloud.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4-0ubuntu2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID:GxC2BwAXAyfGCkJmtr4SCA--.47370S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYj7kC6x804xWl14x267AKxVW8JVW5JwAF c2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGwA2ocxC64kIII 0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xv wVC0I7IYx2IY6xkF7I0E14v26r4j6F4UM28EF7xvwVC2z280aVAFwI0_Gr0_Cr1l84ACjc xK6I8E87Iv6xkF7I0E14v26r4j6r4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40E FcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUGVWUXwAv7VC2z280aVAFwI0_Jr 0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcVAKI48JM4IIrI8v6xkF7I0E8cxan2IY 04v7MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI 0_Jr0_Jr4lx2IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y 0x0EwIxGrwCI42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwCI42IY6xAIw20EY4v20xvaj40_Wr1j6rW3Jr1lIxAIcVC2z280aVAFwI0_Jr0_ Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IUbPEf5 UUUUU== X-CM-SenderInfo: purev21wro2thvvxqx5xdzvxpfor3voofrz/1tbiAgACBF1jj5lAAQAAst On Mon, 2024-05-13 at 14:29 +0200, Johannes Berg wrote: > On Mon, 2024-05-13 at 14:27 +0200, Roberto Sassu wrote: > > From: Roberto Sassu > >=20 > > Disable UBSAN sanitization on UML, since UML does not support it. > >=20 >=20 > Luckily, that isn't actually true, nor does it actually do this at all. > Please fix the commit message. Thanks, I was actually wondering. I based that statement based on ARCH_HAS_UBSAN=3Dn. Any other solution would be ok. Thanks Roberto