Message ID | 20250127160709.80604-2-ubizjak@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0C3A9433CB; Mon, 27 Jan 2025 16:07:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737994045; cv=none; b=tqWQjAmK7TQcdMu+587RPXGB2P8RrCKPC7jIf3QM+gdS1Wx0MKoRNth03GUstXTc48l7psASBMXVgj8Qph5dOcbszxdrej2n/4JrqZSF6bG8NYpAQuZCrH5RYENVNwi/lQVm944wMKgdQ4AiWn6uUFYZJUMcG4l0KpMTOab8jm4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737994045; c=relaxed/simple; bh=ogmAtJgEaFLWhDuyZKKcCqZcT06MJkx7e0moOOTVcLo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JOx5bl4YyUGzfmyru+yhBGZnenIDU7/3PhNUhiv60wkxUSWMe4O/sFRiBIWGVf1d/+xq9eYFE65GUIxni4+6dLbndGKXvdT7iDNyB/XFAddJf0T2Lb+GoJDnMCbXbWaYjtO+RJUhH/LRO5iRzhZ6MfkpTWGPuctQoEDmtSUKRck= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=B1NAwXsv; arc=none smtp.client-ip=209.85.218.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="B1NAwXsv" Received: by mail-ej1-f53.google.com with SMTP id a640c23a62f3a-aaec61d0f65so1010201366b.1; Mon, 27 Jan 2025 08:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1737994042; x=1738598842; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3PpdJnIt0LB5LuubDznUPiNtcUhO58iUpeI8CzsV/cw=; b=B1NAwXsvMciORuJURVCZ8WUkCjZ1Em7U9BI1FjEHxco3vImD2VYWn/VfnHauy9yAfo uec8j+P206TP0kx2a2OeSBrGHyJIb/zy+pYWS9RIQ4KjZiToXvZNb27Y+yeuZnV3L9Ot 8Ahc9uGZZUFduXPZbgcxOxdAwj+TFJqjVCiU5Qb0hQBpR2SJyL2NjzTZ3HPlBkv2liIr hfHdw9Aey2FDN83olHh0G5iqeWEePb129gFcqLMReF979ZmRsgcKq6pw+8+2VkfNBPVj 05Sd2hsuplFuBka8xXs0z4ucr+YaQsrII+5Uk5VMerS+w1VyAOaizZQqc3SNPxRvtVvX dCEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737994042; x=1738598842; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3PpdJnIt0LB5LuubDznUPiNtcUhO58iUpeI8CzsV/cw=; b=PAPUFwLPz/xGh9EJ9Aa7A5Xuf5GZESf4Gwc1jFzOnzgwNuHUXWSfiGxtDDUR3Qf3vu hTghqQfvldf5zh0/GBS/BnA9TWAnB6++Pj+hFYe4UJTsAUEdq67qR3IJm3K13a333Qnp Be+GlaD/WWPagDHd2xEsyWJMEBeqK9te9mzHbq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fkRZgv/1+kkXgRb8vYd9lhSt2dayN8UQWL8xHzS8S9+szifYTg== X-Received: by 2002:a17:907:930c:b0:aa6:557a:c36f with SMTP id a640c23a62f3a-ab38b378436mr3836172866b.46.1737994041908; Mon, 27 Jan 2025 08:07:21 -0800 (PST) Received: from localhost.localdomain ([46.248.82.114]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab675e8b01asm592643866b.84.2025.01.27.08.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jan 2025 08:07:21 -0800 (PST) From: Uros Bizjak <ubizjak@gmail.com> To: x86@kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-arch@vger.kernel.org, netdev@vger.kernel.org Cc: Uros Bizjak <ubizjak@gmail.com>, Nadav Amit <nadav.amit@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@kernel.org>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com>, Linus Torvalds <torvalds@linux-foundation.org>, Andy Lutomirski <luto@kernel.org>, Brian Gerst <brgerst@gmail.com>, Peter Zijlstra <peterz@infradead.org> Subject: [PATCH v4 1/6] x86/kgdb: Use IS_ERR_PCPU() macro Date: Mon, 27 Jan 2025 17:05:05 +0100 Message-ID: <20250127160709.80604-2-ubizjak@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20250127160709.80604-1-ubizjak@gmail.com> References: <20250127160709.80604-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: <netdev.vger.kernel.org> List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
Enable strict percpu address space checks
|
expand
|
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c index 9c9faa1634fb..102641fd2172 100644 --- a/arch/x86/kernel/kgdb.c +++ b/arch/x86/kernel/kgdb.c @@ -655,7 +655,7 @@ void kgdb_arch_late(void) if (breakinfo[i].pev) continue; breakinfo[i].pev = register_wide_hw_breakpoint(&attr, NULL, NULL); - if (IS_ERR((void * __force)breakinfo[i].pev)) { + if (IS_ERR_PCPU(breakinfo[i].pev)) { printk(KERN_ERR "kgdb: Could not allocate hw" "breakpoints\nDisabling the kernel debugger\n"); breakinfo[i].pev = NULL;