From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 299EF3195E8 for ; Wed, 24 Dec 2025 03:28:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766546941; cv=none; b=TXCnO2oEI4HutXJUfpWzomydrx1k5sHquDQkMgypSjBNXIkuKnqHmf1GhA93Lti/nsHAAHqpT3t+MjmMFzboZiNjC3OCDH9GfpIHtj5OOup36vFZjmW1HdDzJPEQMRTWQMHSmRZQduiHYVC3W66g4L9seWgCLnhTwSpc4kFmqnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766546941; c=relaxed/simple; bh=4v1zDxqPfck23F8OpHk2cda6CA6aUUGgadQSv+Vd7K0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n3Jf1fnnCl7FRjj5XebPmYZVIG5Thfh1liTiJjWCe7SLEnhaaGn0m/wnu4jzoO+7PUh3NKdvMtupyaYw05VAa1ZGgk/Ly4PEmiLWWLCxvRiiSMfvhXRUf/deoLx1R6NSgekoQ305W3WxyENaaFIZLekLjhsk2LtEeEGSYJat4Jk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=en3cDsHl; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="en3cDsHl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1766546936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PEnYiKFC1BPTOh2lEem5yt8CWGQxdCaNcVZbw2GCpAY=; b=en3cDsHlHqD7+KpoxeYVdJ6HPpvuvY9JxjxIuHGqdgt2+TLcvrTrloL5jSdz0gYkVzxDdS +JlHGtNBSSeAsDLFtMXz8dgyiBkpgWMUw0CCzEfWwsmptKBnASJ8jreuDrjUoMNueLK2Qh bL75L2Yi1+jmUjN8MEGTkHK0+vjIqkc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-130-69w2rVsPMJybW1GIqvYelA-1; Tue, 23 Dec 2025 22:28:52 -0500 X-MC-Unique: 69w2rVsPMJybW1GIqvYelA-1 X-Mimecast-MFC-AGG-ID: 69w2rVsPMJybW1GIqvYelA_1766546930 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6ABDC1956046; Wed, 24 Dec 2025 03:28:49 +0000 (UTC) Received: from localhost (unknown [10.72.112.137]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C99551956053; Wed, 24 Dec 2025 03:28:46 +0000 (UTC) Date: Wed, 24 Dec 2025 11:28:41 +0800 From: Baoquan He To: Andrey Konovalov Cc: linux-mm@kvack.org, ryabinin.a.a@gmail.com, glider@google.com, dvyukov@google.com, vincenzo.frascino@arm.com, akpm@linux-foundation.org, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, elver@google.com, sj@kernel.org, lorenzo.stoakes@oracle.com, snovitoll@gmail.com, christophe.leroy@csgroup.eu Subject: Re: [PATCH v4 00/12] mm/kasan: make kasan=on|off work for all three modes Message-ID: References: <20251128033320.1349620-1-bhe@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Hi Andrey, On 12/04/25 at 05:38pm, Andrey Konovalov wrote: > On Fri, Nov 28, 2025 at 4:33 AM Baoquan He wrote: > > ...snip... > > Testing: > > ======== > > - Testing on x86_64 and arm64 for generic mode passed when kasan=on or > > kasan=off. > > > > - Testing on arm64 with sw_tags mode passed when kasan=off is set. But > > when I tried to test sw_tags on arm64, the system bootup failed. It's > > not introduced by my patchset, the original code has the bug. I have > > reported it to upstream. > > - System is broken in KASAN sw_tags mode during bootup > > - https://lore.kernel.org/all/aSXKqJTkZPNskFop@MiWiFi-R3L-srv/T/#u > > This will hopefully be fixed soon, so you'll be able to test. Do you have the patch link of the fix on sw_tags breakage? I am organizing patches and testing them for reposting, but still see the sw_tags breakage during boot on arm64 system. If you have the pointer about the fix, I can grab the possible unmature code change to make sw_tags mode work to finish my testing. Thanks Baoquan