From nobody Tue Nov 26 04:33:54 2024 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 C74B11EF089; Mon, 21 Oct 2024 13:53:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729518841; cv=none; b=Ks2bTvB1KdnVucuD+lO7HOWnmsGYgWyLm7IQNLQ5xzDObHtggKKvBE/S+JyzZNNOjBCUHKbSEyS05dv8DWS7bODqggiNfPB0dhAH4AQRMdMtoO848yZZgWpYAEmp29zkKogQyy3ASwEzIBgXNbpYCeAXgFgdM9P2D5WkHU+Liz4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729518841; c=relaxed/simple; bh=Zd4c4+rijIamlnsve3HxDK1QswabA8o7nV/NnV69Jeo=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=fT1Rv4EEgAUQjS1ySv4qb5j6EAviEHImTlcKagWzetkncDMcF7sN6PcczvbkiKh4yXTQV4U0/oXEeKKX+vYijwnrXrln0+sdHw1MwfOyZwlL1VkR0HtCUrmz1B8CvPsqJE/vrb4NJDyaV1oPzv/HXGAaGyyD8dxMmgNvJ/M/Gjc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=2CZjMY6g; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Ry+OjZ/1; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="2CZjMY6g"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Ry+OjZ/1" Date: Mon, 21 Oct 2024 13:53:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1729518837; h=from:from:sender:sender:reply-to: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=GejrPEVSQ9sQAkj1Fg1rd1munzFih0HkdkJe5yUfIcw=; b=2CZjMY6gcLzdolLLB3vg7awGRq2IWvW6jdSWgfrThn+m/0fM2xQPImRsmpY0v92BEz37IJ ktiIIwdz/8bqmeP7yFSsGUptuRr9QL1hfLIJgn2ga0NCeYG+c3/et77WYtBUlXzS8xyAs2 2lhIll2Lz+nahn0b16BPuenoK67ed8jkhibd4B/KiujgjG/sLq3TBKu52lQ9PwtmMFfE6l dZBFiDK7vZKHfw+ozht5YPhs01q0sXJGFBD80W+4UTYsdaKYmnoa7VgAvH5qDOGKUCrnfL AVKmI0cwH4WTnKkmbTPHm3auc247eDRluP0KcsjV5sJ0r18HRYVqd+JHSi3aVA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1729518837; h=from:from:sender:sender:reply-to: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=GejrPEVSQ9sQAkj1Fg1rd1munzFih0HkdkJe5yUfIcw=; b=Ry+OjZ/1/LSgV8w5C/jh7I26IY0Y4Q9LQZxyjyW876std3NwpXj54QW/hQu2AtlA/zPPi1 UE5emZ/UTUvVS4BQ== From: "tip-bot2 for Steven Price" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] irqchip/gic-v3-its: Fix over allocation in itt_alloc_pool() Cc: Shanker Donthineni , Steven Price , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <1f6e19c4-1fb9-43ab-a8a2-a465c9cff84b@arm.com> References: <1f6e19c4-1fb9-43ab-a8a2-a465c9cff84b@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <172951883672.1442.6614400207420844826.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the irq/core branch of tip: Commit-ID: bc88d44bd7e45b992cf8c2c2ffbc7bb3e24db4a7 Gitweb: https://git.kernel.org/tip/bc88d44bd7e45b992cf8c2c2ffbc7bb3e= 24db4a7 Author: Steven Price AuthorDate: Mon, 21 Oct 2024 11:41:05 +01:00 Committer: Thomas Gleixner CommitterDate: Mon, 21 Oct 2024 15:49:15 +02:00 irqchip/gic-v3-its: Fix over allocation in itt_alloc_pool() itt_alloc_pool() calls its_alloc_pages_node() to allocate an individual page to add to the pool (for allocations Signed-off-by: Steven Price Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/all/1f6e19c4-1fb9-43ab-a8a2-a465c9cff84b@arm.= com Closes: https://lore.kernel.org/r/ed65312a-245c-4fa5-91ad-5d620cab7c6b%40nv= idia.com --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-= its.c index be77f92..395961f 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c @@ -261,7 +261,7 @@ static void *itt_alloc_pool(int node, int size) if (addr) break; =20 - page =3D its_alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 1); + page =3D its_alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 0); if (!page) break;