Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp185918lqh; Thu, 30 May 2024 19:50:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU51wioC5mX3gg/aO5/6ky+v7tUoKA7HWtvhUyd62xx1Iq1prF4ThJgyN+4JnveeRa9QNiPE9iNwsvDO6L0/fp2cKv9DWkQqCxd/2dWHg== X-Google-Smtp-Source: AGHT+IGgq1Hki6oSqN0yzAuD1Jw7zbxHGXsy7qLV1s4l7Fr4B/8LFmO259A4i6O1rE2bG8stfBlL X-Received: by 2002:a17:906:cd10:b0:a59:a356:3f6d with SMTP id a640c23a62f3a-a6822049b1dmr38374066b.54.1717123839119; Thu, 30 May 2024 19:50:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717123839; cv=pass; d=google.com; s=arc-20160816; b=T0FaNSHX99jEn5qrrrYfkcZ3pn/ppkVS/k/zya082tLXV8RYCBDs29kdxbh2XTdHER n7CLimDLx6g6RF+SJdM5bnpS0ANpvXkwJFq8xc5t69tcoYJnU0l8gjj7TxciGzKBHIIO MlaFuvlRQRg6kaTHbs3sgb/bSPIXzreoCiNbAavmCwpn/Xn/h1WsA5YLpdeZFixi5Yj9 9uaMa2v29/OkIqVHEGULo1RwxIVBGiehK/hkjoF7dkx7eD1ZmN00XtHnF46EPBKVbF9U 2naeHB8K8uBqYmL30wOT/q5eT4BQd6sawiNZy4qUjFcp2gPkLGDlGGY5asIh1jyv7FKS rJIg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Xtp3d3wLRkqcH34/8BzVFm/cjqXjOGU4rRXSQo+KdOM=; fh=RrCTVqyiUE0ItfbeQvAEJ9HzNv2k4199CKa8X2g8IGE=; b=zI9Ft/UuzyYaIAEi6nzGLeLap2/OBsWhxcYWqXT9wgOpZ1UceOS/oHuSl6GIMb0kQV lgykJ9J657kkWhk6Zr4B+gg0RNN37nL+sfg4Tq91JFRMpHSZ9RZZDPG80OdP15+mv5Lw OoI5YdRiqJcq5XI7Kjh3Oe9Jp/s9AlmonOlv1wYyjXpxe2Hvj2X7gMaVyM4w4EYWDep/ mgqnJh+97zIqXAZt7rqqB5oraz9c1zPJOrJFvtk4mTwmORxDsSfNozGC55pvmMIBCR4X cDgOgg5XtshywLrXat4s4S/ws9+Vlj++1Y2beeihGB+KIk0VVdg+gKZECmw6QTQI9pDn ax8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L2UmkRY1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196200-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a67eaf65439si43501166b.872.2024.05.30.19.50.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 19:50:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=L2UmkRY1; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-196200-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196200-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D382B1F24B73 for ; Fri, 31 May 2024 02:50:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D7CB78C6C; Fri, 31 May 2024 02:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="L2UmkRY1" 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 64166256D; Fri, 31 May 2024 02:50:30 +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=1717123830; cv=none; b=H++iOnTel2tZ2hNVhpMUvO5ywfjGHRHsME1unIN/rlwockDvkC22y7dudKlDzoY0EOL22AFhXaLAd2Mx2dHSPHJsWYFfDgd2/JytqbCt5kf1c1lTwmdWZe2nt3oFj1SUlhZdoNRirSHTVSyEEY3ibp7lHTcCzkvuDeZL6563mkE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717123830; c=relaxed/simple; bh=QDJ8YbhmGXMyUNUrXuBhbp93iWFoaOop/TTLaiT4ujg=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=IVDg2Oyo/xnD+70dFJTCsRcPbLcaa2Kl/SRKRPB5IJIck7+aybHQFu/9K52laeUla22BALEzTTwevgLjC56BuYURPjGDbvzE20VnQo5S0CBpMYCPt6IRwN0wXqSmA9fUT5KU1dWCfq+WNeWafwZIu0mjk4r7XBvztEmVocT7uvM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L2UmkRY1; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id D46B0C3277B; Fri, 31 May 2024 02:50:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717123829; bh=QDJ8YbhmGXMyUNUrXuBhbp93iWFoaOop/TTLaiT4ujg=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=L2UmkRY1VKj10+fBWn8mmDVwJa/VkgYi2L08LDauF08mSq5fbqxw0PZxDkbJu2X66 GZQK3tfftj4WJCggWnJnPDmQ55G3beoXwktsliEmMCNMqMBZ+t+S7xwZjbP7qYOvte swQJIvIksQi6vqS23sPWZlZ9o2bXWHPzA01XCT0FM30+wApHo4jQ0DYODTv6lC0BC8 DFWS+9Kxv+sDnf6dMeRnbtw/LyyFyrBJgBVtJzTaAGs8nKVtsdDERMqzTV/8jcdP1U BYhbmkuSXvn2MYxk1gvXFtSgELY2LW4ZD0OzR+nadXu2JDaVManabNOO4Cu0Hu3dCs qsUjSOY7mlswA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C2F19CF21F2; Fri, 31 May 2024 02:50:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: fix overlap of allocated page and PTR_ERR From: patchwork-bot+linux-riscv@kernel.org Message-Id: <171712382979.22953.17135876483679871225.git-patchwork-notify@kernel.org> Date: Fri, 31 May 2024 02:50:29 +0000 References: <20240425115201.3044202-1-namcao@linutronix.de> In-Reply-To: <20240425115201.3044202-1-namcao@linutronix.de> To: Nam Cao Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alexghiti@rivosinc.com, akpm@linux-foundation.org, bhe@redhat.com, samitolvanen@google.com, chenjiahao16@huawei.com, bjorn@rivosinc.com, linux-kernel@vger.kernel.org, rppt@kernel.org, bjorn@kernel.org, stable@vger.kernel.org Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Thu, 25 Apr 2024 13:52:01 +0200 you wrote: > On riscv32, it is possible for the last page in virtual address space > (0xfffff000) to be allocated. This page overlaps with PTR_ERR, so that > shouldn't happen. > > There is already some code to ensure memblock won't allocate the last page. > However, buddy allocator is left unchecked. > > [...] Here is the summary with links: - riscv: fix overlap of allocated page and PTR_ERR https://git.kernel.org/riscv/c/a5e8a5b08a48 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html