From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 35E232D5412 for ; Tue, 23 Dec 2025 07:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766473936; cv=none; b=GHS6ZQ288Ndi4fUtI8O8xikVO/mFvqCS3UvHNulC8oHSv4KxRAI4oIrx+6hZ2fuTy7IpFmbpPKRdtaiA+Qff81FuVBc3U1fSGRW9HCnpJ2RXxKl4OIgUeHzctfOYVqlBj7xxGeE5Lc4WQRTY86i2cLW9vn27PXjaKBdoayp27Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766473936; c=relaxed/simple; bh=qtBD34ND33HEKc6KO+kOa/6yxiJiBKRTxnIIZwXRUGs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=aPvbeGuK5vl9KsLURaNcMavTqcaeS5ASPT0vDR6nz3TbGRJk/QxL947kXvrfRa/3zbpJRYyd4jqWNwXfhl9jiiYUcOD+mJ5jNvNAVy5A/GsztjePmZ4RTG2tSKJRU4Oh6G+xJQ5kMLZNLcd/gmDPfTdKLHx0e2mRYzYis8AFyT0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=hj26hUa7; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=KKV8sheE; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hj26hUa7"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="KKV8sheE" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1766473934; h=from:from: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=+/xQOrsVN9dvDtH/XoXjL+agoHhOzWcsBqQ/BiMMAg8=; b=hj26hUa7TVbGSiyid4d+HitGi97p7PrA2KCJ5zDS+Lg6jZ0lwcvSQHMBSuDInzYZ5WDUIq 9ib0ULy8JgtRzrGZ98hZURFtxpNOxxo8v25rwWcmJnpsMdmavcMu/1mmlDRADVajX6AXxi 8CIJ3b5ji8BVqg3T8GPUcB52fUPoLiQ= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-260-BeofP0TxO6yUwCiUL60eKQ-1; Tue, 23 Dec 2025 02:12:12 -0500 X-MC-Unique: BeofP0TxO6yUwCiUL60eKQ-1 X-Mimecast-MFC-AGG-ID: BeofP0TxO6yUwCiUL60eKQ_1766473931 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-47777158a85so53790775e9.3 for ; Mon, 22 Dec 2025 23:12:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1766473931; x=1767078731; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+/xQOrsVN9dvDtH/XoXjL+agoHhOzWcsBqQ/BiMMAg8=; b=KKV8sheEDO4sSHO/fBAgRwq6hM3K2YE7s4bN44zjgQQxtbQaX2mHwFZFIjqx0gRg8T adQlhAYZyAi6UJcgY3aHT285iux3GigTjXfSe8ycFOi0efgi4D+ZmeTHe+ucqqOtyOEx C1n/+E8DJ26kMWnOJNzXNP9h1c0aIVkt/b5IsrBjbiUcxMsI4clyIJL+b5oT6mPMjfxF loVWgSsiuugAXXOHkVpIY/oNhj5cVqVUWbFkyyg5GSWMd6muniGWOlXaG+UAX50oaleV z4jLhZGRJqflv30OC+P3J/E18441Va/4WTZEyAnkn356O9bMnS2fIGvdmkY2Pn3jV32e l5UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766473931; x=1767078731; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+/xQOrsVN9dvDtH/XoXjL+agoHhOzWcsBqQ/BiMMAg8=; b=osPC52xK9C0eh0p/ngr/v1tlc+/ilc5Yh/yEnSmfc8+/qv3harFIbRpgI4uMPn7LZb DFkiwfpMZVr7SE7+pH0ygz5dITi0Kk9yNYlCufnAg7sxzpA140nLfnUHfK7IIGeywazd x9cOIHyuvxAh0q13AIBZn8NN6gjxjgSualYsAmjsvQUZ6vsaDgFrhefWzWJKRvYD7j2c qva2Ia0liQyu/Q+rAfNi3W2g0rJ3682AI0Hn1yKU8pcx6Akr8DoA3VBfTaO8fQQ8GwdG 6pHzS+bO0zH9mq8oMb0rtsUeRgFa6FVwR7xaX+Q7r7nqC2K+NWSj/aFEHZ1l0voE6nl8 ACQw== X-Forwarded-Encrypted: i=1; AJvYcCVZhdX6dW+euZxCXL9h0wkCf8K79Ubj9LqskC2W0n0Niw5IG2UWLCh0y+yOvlFr3HKQLdkXxvbKhzXeooU=@vger.kernel.org X-Gm-Message-State: AOJu0YzoNVjqzBavHTo6GUKX+4p58yzTpnjn8DU4haj4x0FfN9l8dyx5 zGPOwhr3DOn9TYvDqKg8bgN6yXcp2orUKKWhVS17C+efnjW8rm29HpIKdpxzEe4MNWirqiaIhro 5c0kmTKkULSjQkwsmc98juQjMXBD9HcmAI3XOJlrY81t8ao1QMYdt9U1k2/hipx0nfQ== X-Gm-Gg: AY/fxX7/EfmR0zw0C8bUfsXdwMp3iR9fnD+BF1tOLMFPPA5DUly42xYflx5qb2CtT1O n6dVOga1O9GaSWj3cYyb+x42QFeQLCr4MS/zDOGxMDROaniFW7l4Ae2CWEuOmcjJ1R29s1ad4vD uFgop3Ak7EnN90yDTOu7/0tS/0hwrzDDaDCCMEmkeVjv7Q+NvuI1cuB04jMC1tdrl5PHIfNFfqX Xz5GzD4jP47v9uH5SFi8REFRv0glWgYm0Og951hWJ1Nhg2Vq/ZbE6LkeLz58ELCyOSQ2PjTj78M usqDyfyTcZhDHTxyoQCow8V2Y9CbfAMgCrxuIFtqO5ioTSMIzcFsxcPmApQcZXCaFGI2kmXxKRL KVEZr+I+/vZeq X-Received: by 2002:a05:600d:115:b0:46e:37fe:f0e6 with SMTP id 5b1f17b1804b1-47d1997e733mr90556245e9.30.1766473930714; Mon, 22 Dec 2025 23:12:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8URVD3KseboNABzqrI65Dq7IvpSQkg5Sza++lkPfCGizUZettH0wLnjNCTNiUJjTuzXbfcw== X-Received: by 2002:a05:600d:115:b0:46e:37fe:f0e6 with SMTP id 5b1f17b1804b1-47d1997e733mr90555945e9.30.1766473930314; Mon, 22 Dec 2025 23:12:10 -0800 (PST) Received: from [192.168.88.32] ([216.128.11.164]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47be272eaf8sm277416435e9.5.2025.12.22.23.12.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Dec 2025 23:12:09 -0800 (PST) Message-ID: Date: Tue, 23 Dec 2025 08:12:08 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 0/2] net: netconsole: convert to NBCON console infrastructure To: Breno Leitao Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, asantostc@gmail.com, efault@gmx.de, gustavold@gmail.com, calvin@wbinvd.org, jv@jvosburgh.net, kernel-team@meta.com, Petr Mladek , Simon Horman , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski References: <20251222-nbcon-v1-0-65b43c098708@debian.org> Content-Language: en-US From: Paolo Abeni In-Reply-To: <20251222-nbcon-v1-0-65b43c098708@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/22/25 3:52 PM, Breno Leitao wrote: > This series adds support for the nbcon (new buffer console) infrastructure > to netconsole, enabling lock-free, priority-based console operations that > are safer in crash scenarios. > > The implementation is introduced in three steps: > > 1) Refactor the message fragmentation logic into a reusable helper function > 2) Extend nbcon support to non-extended (basic) consoles using the same > infrastructure. > > The initial discussion about it appeared a while ago in [1], in order to > solve Mike's HARDIRQ-safe -> HARDIRQ-unsafe lock order warning, and the root > cause is that some hosts were calling IRQ unsafe locks from inside console > lock. > > At that time, we didn't have the CON_NBCON_ATOMIC_UNSAFE yet. John > kindly implemented CON_NBCON_ATOMIC_UNSAFE in 187de7c212e5 ("printk: > nbcon: Allow unsafe write_atomic() for panic"), and now we can > implement netconsole on top of nbcon. > > Important to note that netconsole continues to call netpoll and the > network TX helpers with interrupt disable, given the TX are called with > target_list_lock. > > Link: > https://lore.kernel.org/all/b2qps3uywhmjaym4mht2wpxul4yqtuuayeoq4iv4k3zf5wdgh3@tocu6c7mj4lt/ > [1] > > Signed-off-by: Breno Leitao ## Form letter - net-next-closed The net-next tree is closed for new drivers, features, code refactoring and optimizations due to the merge window and the winter break. We are currently accepting bug fixes only. Please repost when net-next reopens after Jan 2nd. RFC patches sent for review only are obviously welcome at any time. --- To save me a few moments, I will not send the same messages in reply to the others pending net-next patches of yours, but this still applies :-P