Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp1034977lqb; Wed, 17 Apr 2024 20:03:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhpXyO04PoAktH7TAbLNzYCpFKiahiYee/s3Yp8XgfNtaZlEb4MQGqeUq4AbkA8YWN1Ac7dm3ptKimxYnAZNDc4Im40jVTpQn0FMWkmg== X-Google-Smtp-Source: AGHT+IFt4bM1HodGfBsaiCemuw3fmgIEoyVVQdMdZB7ZMjn5AT+iRcAT10WNlgPz9QaGRCcj3Otn X-Received: by 2002:a05:6358:1904:b0:186:1c4f:29c7 with SMTP id w4-20020a056358190400b001861c4f29c7mr1698359rwm.27.1713409429562; Wed, 17 Apr 2024 20:03:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713409429; cv=pass; d=google.com; s=arc-20160816; b=Fv91Em1nPlSebPeVopgdUcPKQiKji0S0Cdym5m1+CnbFZCxx4mDJmW/oMQlJHVc7yI Cc0DlNPI1uQ5fLDPgLQmZkKbm/y7BJDD8m0VbL3LQbeQr8AwRUP+zRSl7IiSbdEzLOGV mERk53A4B8mmFdZyqg0fMaidKs18E04muxsDMMLgjg9aEzoPw8hqH4B4stYDi2NR/4oA 2wQKvz8FU71rRltC6YgeexN3D02ZD+VrSKgmzqJ0ZlM2jpdJjJJ+bB7EtIncO61xk4c7 i5iTz8h1u3etcZzOr2oHaTICFt+CAOyu7a16qEmEOFXpPi+4on/5asQmlLpSv0pFEU3Z 14iQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=nGsu8OY+3If64DiCd9QH082UYGUXd/tNRZ6FtdILWBw=; fh=Ui40HML8w8B7RQp0TKwv+WRyKzMSCbVugh4K06/um1A=; b=PhJoP42jQ5XV2pxPesDl5qM5RQJjrFeFuhG3fAT/Y8mS4vTQ3zW5hcGX5p5UDXeyCY Rlugfe3h5ajF9/PIwjJ3F9YZMc0hQA+oNMH77VRbE8hM8DTS9AVWFZ1NKu3w9lVGJRaL vuSVOocy6PmjNQoTmhLTiI/28hwAWuxZmLfggpM1fKjroS823leUYaj1y1fQgFd3wp90 rHL/xmcQzSHo5YmEohhC1YLgoBu4bEUZzwLQCNKTXYQ+1+X113HAc2WlSHer9VgAzBjU lAyK1UUTZV54N23lh2J8QjhB/cENa9dxT+BR3hlw3D75UOpa2iYMHSE9xZ18H+M9tNTy LBaA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyuRU+nb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-149458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p12-20020a631e4c000000b005dc87bb5496si511727pgm.132.2024.04.17.20.03.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Apr 2024 20:03:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-149458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DyuRU+nb; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-149458-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-149458-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D35AFB21438 for ; Thu, 18 Apr 2024 03:03:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07A724F8A2; Thu, 18 Apr 2024 03:03:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DyuRU+nb" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 265C16138; Thu, 18 Apr 2024 03:03:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713409407; cv=none; b=dLQaXfdzMlZDGhEWrQIgNOuAJPzIMKlJmzir68nb/BC0QhcTaHUZcSeQrVfhOt9iMpSetsLpfFh9dLZtXngpJQOFeLvTJLkVmHQIFJQO230Xoe0GmUDXtzKHmKf56NuQNTJ2ylSYGjZaZoQhsuf8nP8+wdGWCii2NtE/L5W8Wyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713409407; c=relaxed/simple; bh=kfEJQjTwgGJh4Zkx43Z0VD1r+pL2rJMimsZzyjREVEM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=idbxgrIsfyS/1CyxhANwP59PhrAA7nkhxu0xyZQ2ermbCrKljh5KOAhva0SIVVADTWhU5jurGaLCbweT0OL7tZl4p1dNZjqOYxfQQZibJneayX6xGCxa5qsE2JGRF9JfAsPXF0ubJ2VOJ2aUNIn0FFqHw6cG+5sELUrsM6/CU58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DyuRU+nb; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4761C3277B; Thu, 18 Apr 2024 03:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713409406; bh=kfEJQjTwgGJh4Zkx43Z0VD1r+pL2rJMimsZzyjREVEM=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=DyuRU+nbBlfEefDgkjYMaeHuZxrD+lMlRPMalkQi5IC69YYTWZ6zEdir/RupkAap0 17RzMJVBVaskBzoD8lhK/LtZy2kUP7k21+CDiY0gBXnPmT64owTkQbxHdf0JyAPAYx tx0a4zLTnGo0CFjFFObQkeT4Qn82jY+d6vAZT/fd9qDpC/vddsmWPQ9f5r1pkH+Cb2 yh2V+NoEvWckhqYS09yUlUYUkVb0oMebHG0BQarTzSCq4o2/7SwOGQyDEXewhte9Sg Lhmm69YwKDOmE0MM0CShULZ5v9DJpyzWisMvETTr/zB7h29YiU62z1Gam5322XaIMS pcQhx3sXD225A== Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a557044f2ddso14279466b.2; Wed, 17 Apr 2024 20:03:26 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVYKBvBKXRyEWqu+7BMTN77g23vYSb9E9bArH7hfvTIghiag/MV+qvk4XmR5INFtomffqPPFlh+s8vQWKAi4RnQo85AkDORjSw451cYRAndTDWtxewb3sSYp29xO9zLAfnOrmE8IJ2ABj7V18PlQRY8973N2Y2YKNz8hiBgxA== X-Gm-Message-State: AOJu0YwTmdPOq6cIBzMY6EttEpJ6P48l+q/jzt9p7qRSflkzKL6A2qnN gQZx6cmmVQKpw+SE3FrN3Ru5bXY0cEu9Q4J08AmXVKoTNaxtZD8726TNrmwXp5NKClwqWG+BxVX aFcE24gn1dYoTXmH3RufPXhh1N0M= X-Received: by 2002:a17:906:f8da:b0:a55:596b:c9ca with SMTP id lh26-20020a170906f8da00b00a55596bc9camr830982ejb.39.1713409405224; Wed, 17 Apr 2024 20:03:25 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240416144926.599101-1-david@redhat.com> <20240417135834.ddaa9c038a8a8af2bd9e39aa@linux-foundation.org> In-Reply-To: <20240417135834.ddaa9c038a8a8af2bd9e39aa@linux-foundation.org> From: Huacai Chen Date: Thu, 18 Apr 2024 11:03:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1] LoongArch/tlb: fix "error: parameter 'ptep' set but not used" due to __tlb_remove_tlb_entry() To: Andrew Morton Cc: Miguel Ojeda , David Hildenbrand , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, linux-arch@vger.kernel.org, loongarch@lists.linux.dev, llvm@lists.linux.dev, Arnd Bergmann , WANG Xuerui , Nathan Chancellor Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Andrew, On Thu, Apr 18, 2024 at 4:58=E2=80=AFAM Andrew Morton wrote: > > On Wed, 17 Apr 2024 11:18:27 +0800 Huacai Chen wr= ote: > > > On Wed, Apr 17, 2024 at 3:25=E2=80=AFAM Miguel Ojeda > > wrote: > > > > > > On Tue, Apr 16, 2024 at 4:49=E2=80=AFPM David Hildenbrand wrote: > > > > > > > > With LLVM=3D1 and W=3D1 we get: > > > > > > Hmm... I didn't need W=3D1 to trigger it (LLVM 18.1.2). > > > > > > > Reported-by: Miguel Ojeda > > > > > > Thanks, looks good to me -- built-tested: > > > > > > Reviewed-by: Miguel Ojeda > > > Tested-by: Miguel Ojeda > > > > > > > Queued for loongarch-fixes, thanks. > > > > (top-posting repaired so I can sensibly reply to this. Please avoid > top-posting!) Sorry, I only top-posting with "Queued ...", "Applied ..." because I saw others do like this. If this is also unacceptable, I will not do it again. > > I'd rather carry this in mm.git with your ack please. Otherwise mm.git > won't compile without it and if I retain this patch we'll get > duplicate-patch emails from Stephen and I won't be able to merge > mm.git's mm-nonmm-stable tree into Linus until loongarch-fixes has > merged. loongarch-next always merges loongarch-fixes, so when I apply a patch it will be in linux-next. Now this patch I have already applied to loongarch-fixes and loongarch-next. In future, I will give an Acked-by for you if needed. Huacai > >