From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (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 B94DC10F7 for ; Tue, 29 Oct 2024 15:03:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.207.212.93 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730214223; cv=none; b=firERzdGFqEDXDFiCZSrqRdTA7KX4aZNPot3wlOPLdFdGQ/srrsvBVeqAn4/kjMiQg9QB5UCJDjVh6xTyiPWuNwcUaAYzwqnoW6l8vr6bc2Aex9VGb0M/qPOBAviUE9JIIAzGfohJqeFxtgq8Rn81V89T1wXH5O8hckSP3el4ZY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730214223; c=relaxed/simple; bh=qcYDPc3x+a7SroXNUz/3qq/KEvMPTw5Uzgor0XjGkLc=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=TUTIZttfY6yauhLYkSUmJzCz6Rr8oMkV5vxRS5D6ut9csb6xmPzD7sMNL7sSuFCYHjm2/P5Ylx9UgDE7PoQQxmm/rZCzhu6sgrfAWe9OrnqCDR9hkhDMTUsrvWz10y+R8Fz3917trMJSjNMPuPVB7g9SSyfejNm5g2CFVkuTJnM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b=hZ3d57Iq; arc=none smtp.client-ip=91.207.212.93 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=foss.st.com header.i=@foss.st.com header.b="hZ3d57Iq" Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49TCVZdE022650; Tue, 29 Oct 2024 16:02:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= UqeRlTfozsVN09UU+kff1ZF8lDSMEDqo8CyqaqZhk/Y=; b=hZ3d57IqasGvvdZG lWbshJF//k5Qp/RAFozM5AQPJ4Ekhf0hoiwUGjy29Wfkcxg3/vzFmJA+3+P8ZsZa 9Djk1AvxpBqIY2aVpicVA1gxUHfqIomXXRUgJrJTj8IxmmUeGZ/oKutp3r/3Mxu4 madaH5mK5nf9oBePt5CvuI58AZYFa4tHNQaqkcsEEn7d644OK9i+rjCXW+h1VE3D k5gu7aZOYhyaVdmGgutqS0SzmWRYEYK18VyVPknvc/4vGH1mIpvl0pvo0VZRbN0W s5KlL+gO64njEl9kYiNuey/0+eI7N8ugDWqh8Ru7Qtd89cQqqca3afuH86kR40Fk zkflvQ== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 42gnj4ff7u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Oct 2024 16:02:54 +0100 (CET) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 7183B4002D; Tue, 29 Oct 2024 16:01:12 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 1A45E26702B; Tue, 29 Oct 2024 16:00:04 +0100 (CET) Received: from [10.48.86.107] (10.48.86.107) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Tue, 29 Oct 2024 16:00:03 +0100 Message-ID: Date: Tue, 29 Oct 2024 16:00:02 +0100 Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] ARM: ioremap: Sync PGDs for VMALLOC shadow To: Linus Walleij CC: Ard Biesheuvel , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , kasan-dev , Russell King , Kees Cook , AngeloGioacchino Del Regno , Mark Brown , Mark Rutland , Antonio Borneo , , , References: <20241017-arm-kasan-vmalloc-crash-v3-0-d2a34cd5b663@linaro.org> <20241017-arm-kasan-vmalloc-crash-v3-1-d2a34cd5b663@linaro.org> <69f71ac8-4ba6-46ed-b2ab-e575dcada47b@foss.st.com> <46336aba-e7dd-49dd-aa1c-c5f765006e3c@foss.st.com> Content-Language: en-US From: Clement LE GOFFIC In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 On 10/25/24 22:57, Linus Walleij wrote: >> What happens if you just >> >> git checkout b6506981f880^ >> >> And build and boot that? It's just running the commit right before the >> unwinding patch. > > Another thing you can test is to disable vmap:ed stacks and see > what happens. (General architecture-dependent options uncheck > "Use a virtually-mapped stack".) Hi Linus, I have tested your patches against few kernel versions without reproducing the issue. - b6506981f880^ - v6.6.48 - v6.12-rc4 I didn't touch to CONFIG_VMAP_STACK though. The main difference from my crash report is my test environment which was a downstream one. So it seems related to ST downstream kernel version based on a v6.6.48. Even though the backtrace was talking about unwinding and kasan. I will continue to investigate on my side in the next weeks but I don't want to block the patch integration process if I was. Best regards, Clément