Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3808822ybz; Tue, 28 Apr 2020 00:29:04 -0700 (PDT) X-Google-Smtp-Source: APiQypL1nbJBCQt5SAQdbuiodAuXFZYFfrSHSGuesljd++/9e776tmZC9WoskbNimRU09tm8rrU/ X-Received: by 2002:a17:906:6b1b:: with SMTP id q27mr22600902ejr.158.1588058943859; Tue, 28 Apr 2020 00:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588058943; cv=none; d=google.com; s=arc-20160816; b=0SraPvzBEHdApU3uKEZWoJbOlSGDtIsKov3dZPnre3sjUxabiaW01T+xNUNohM580u ZP4RqXIZT11EWYlXAtagJLTxVdfkjrTZvnGZMeK5jeeo7JXHNyUYszI4qXfO/74QQ3Wp irALRYeK28vE3LVr8awFwuKBzJLiL4SveDxmKIsByu/HQ+p4Kq6xlNQnbHh9GzDuMrdo vrzeIP1lHjf+FdXf55gEQt61d1clQHXdH1TGffoaBP/2/nOv2i1kwnpd6v7PmmgL3EsI 8WBa0Xh2kUOeL+7ns97POLlWrOoocc06Kg7CbugUgKXb+UNHPHk3tmTF7/5MbLoiru3U CLKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=AZzzjPlGdS1Y3/K2gGd7N+GEnoTa/2olFeQ3LmhblsU=; b=Y09MMcQpcZCH0dyKYvL7tFJFhr6ipYT5m0EwU+S+zoV6dfXvftjuwO+xIBxZmYWdaw 5ydWBrQaLGoB1wVHJjeHV3UiZWkUWHbJ9viwKb1TkcYbP4ZQg5I+hhHNuEDtRhJHxPSw P9AzpYgkij+q+s/IEJ+0JbGKuI+feKQD+gZKTKhaVRWQM9jXQs3dqbHqKDP3dLBaENT7 XHnxMNNzYc+9slgWThTVtJM7E8ttPXEd/W61A6UkZ0+UDo9OuejUOxOOG69temeduP2W u54DnpA1gGY/Sr3301DpZZ5QX3/sYaAH5qHO+Nw3ghG/Ukm6Zhnwbos3wc9wFjyr9GmN SI8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PpheMqqd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si1519918ejy.116.2020.04.28.00.28.40; Tue, 28 Apr 2020 00:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PpheMqqd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726399AbgD1HZO (ORCPT + 99 others); Tue, 28 Apr 2020 03:25:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:59800 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbgD1HZO (ORCPT ); Tue, 28 Apr 2020 03:25:14 -0400 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 15A6E20661; Tue, 28 Apr 2020 07:25:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588058714; bh=GLu5j27TIX4wZFikcdS3374+orGJgRuWeeuefdu1XMk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PpheMqqd0u7obdLb311fFWl0BWxLCIGElMpzR1JL+EihHlxLyJdxEAwhK4VvGdvaK LMO3BvQ1yvDDuzCNWC/3b8XDj6TzxcjtBA7kyGe/WOQsT2l266x1XYEN3utRQjv+ld vuEeQRiIBnmS97jAdAO5hSbLU/lwE+4vU4tF/PT8= Date: Tue, 28 Apr 2020 08:25:09 +0100 From: Will Deacon To: Gavin Shan Cc: Steven Rostedt , Mark Rutland , catalin.marinas@arm.com, linux-kernel@vger.kernel.org, shan.gavin@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64/mm: Reject invalid NUMA option Message-ID: <20200428072509.GA4049@willie-the-truck> References: <20200424045314.16017-1-gshan@redhat.com> <20200424101132.GC1167@C02TD0UTHF1T.local> <20200427225406.7cacc796@gandalf.local.home> <20200427225944.185d4431@gandalf.local.home> <20200427230920.3d606a2e@gandalf.local.home> <7e85ea83-de5f-c789-2e3c-e468a50ed4bd@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7e85ea83-de5f-c789-2e3c-e468a50ed4bd@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 28, 2020 at 02:35:20PM +1000, Gavin Shan wrote: > On 4/28/20 1:09 PM, Steven Rostedt wrote: > > [...] > > > > > Could this be a bug in the implementation of strncmp() in > > arch/arm64/lib/strncmp.S. As I don't know arm64 assembly, I have no idea > > what it is trying to do. > > > > But strncmp("o","off",3) returning zero *is* a bug. > > > > I think it's false alarm. The patch has been in my local repo for a while. > I checked out 5.7.rc3 and tried passing "numa=o" to the kernel, @numa_off > is unchanged and its value is false. I also check the return value from > strncmp() as below, it's correct. Nothing is broken. I should have retested > before posting it. Sorry for the noise. Please ignore the crap patch :) Hmm, it's still worrying that you had that patch kicking around though, as it sounds like it /used/ to be broken. Would you be able to test the LTS kernels (5.4, 4.19, 4.14, 4.9, 4.4) to check that we're not missing a backport, please? Sorry to be a pain, but I'd like to get to the bottom of this! Thanks, Will