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 ADE71311C1D for ; Fri, 5 Dec 2025 12:57:40 +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=1764939463; cv=none; b=OwEz7wOzsyptYnk9gCBF3W84RbdS7rctPK7Olmh0V0yaQvEmilsCTVs4ofurWsB5BFtAFTkwWSt1/3nNLesTXCZBhh6n9ypF+45AVbVGUOkDt0aZ9sLveHfCXWQF2MDfI1ifR2Z0fDdGpCLPjnysh4KiLJ4P71vHGZZxFUTmEik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764939463; c=relaxed/simple; bh=xS0qJToXloyWzlakoyTDyTEiBbxYMnDCUKsQwR1L+18=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=haDMnChWbWYW76EgS5m6hKnkvnWLhFG+JNvRZnYH+vY582VLy4HmI68hkLUdTPRV9X72wvaitSccZfa/J0bUZdjcsXGUVR2PCwSvPnONrxNQ9Ss3EsWFTiWpPaeTtXrR+M1ZdgNR9ZMeJZIT+hRPweZYHbGozMIxpqeN6w0/FK0= 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=MfIHmN4i; 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="MfIHmN4i" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764939459; 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=bHMFmGN0oadjbgXe1sqHZFT+wgMNJVQ4LPoHUYfdTrw=; b=MfIHmN4iMIDXvRsnsgy4TAcPWiwClzvlsiUZ5l04Q6mihAVTLlRyfKL+wYh6XZRANtZ4Ek ZctaxWFl3/F0zOwARLrZEcOT2R497e4ptkijHF2tKB76IJIHzkrZIB5XjvoIKq5RGH0isJ SEhP+M83WVqxVGB2kDaqS9P2Pi7ep5o= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-454-zVsvedK7Ppqdvd4IfslGNw-1; Fri, 05 Dec 2025 07:57:25 -0500 X-MC-Unique: zVsvedK7Ppqdvd4IfslGNw-1 X-Mimecast-MFC-AGG-ID: zVsvedK7Ppqdvd4IfslGNw_1764939443 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4505C18002C9; Fri, 5 Dec 2025 12:57:22 +0000 (UTC) Received: from localhost (unknown [10.72.112.52]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6FB9719560BE; Fri, 5 Dec 2025 12:57:19 +0000 (UTC) Date: Fri, 5 Dec 2025 20:57:14 +0800 From: Baoquan He To: Heiko Carstens Cc: Andrey Konovalov , 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, Mikhail Zaslonko 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> <20251205110311.11813A10-hca@linux.ibm.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: <20251205110311.11813A10-hca@linux.ibm.com> X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 On 12/05/25 at 12:03pm, Heiko Carstens wrote: > On Fri, Dec 05, 2025 at 03:14:43PM +0800, Baoquan He wrote: > > On 12/04/25 at 05:38pm, Andrey Konovalov wrote: > > > On Fri, Nov 28, 2025 at 4:33 AM Baoquan He wrote: > > > I also wonder if we should keep this kasan=off functionality > > > conservative and limit it to x86 and arm64 (since these are the only > > > two tested architectures). > > > > We may not need to do that. I tested on arm64 because it has sw_tags and > > hw_tags. And if x86_64 and arm64 works well with kasan=off in generic > > mode, it should be fine on other architectures. I am a little more > > familiar with operations on x86/arm64 than others. I can manage to get > > power system to test kasan=off in generic mode, if that is required. > > From my side, I would like to see x86_64/arm64/s390/power to have > > kasan=off because RHEL support these architectures. I need consult people > > to make clear how to change in s390. Will post patch later or ask other > > people to help do that. > > We are aware that s390 support is missing / does not work, and will > provide something. I guess something based on this series would be > good, or are you planning to send a new version anytime soon? I will send v5 soon to address Andrey's concerns. That would be great if you or any s390 expert can send patch based on v5. Thanks a lot.