Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp493302lqh; Sat, 4 May 2024 09:09:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXBeZ1sBt7sgJmbJi+eAjqkE8PB/rJfS4LPsd8+DZNAD97K/v+JPu3CScvHtTEnS7h2MPfreqrpNzLi3f7w7socTsH4qCO4kNLz5wkizA== X-Google-Smtp-Source: AGHT+IED+kwYTNXlWbaZBA0uV8Gqnd5OX2Aa4Nsno/0SK8qGqnhQ7RyUoj0aholv7EBjy++TH+Gv X-Received: by 2002:a05:6a21:4847:b0:1af:41d1:7334 with SMTP id au7-20020a056a21484700b001af41d17334mr6123266pzc.27.1714838944591; Sat, 04 May 2024 09:09:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714838944; cv=pass; d=google.com; s=arc-20160816; b=t3AlsxfjPaCaC2XXuTZtiJua5UqmV23tK0myKhoCDSNFQdV385RuJwhQ5j3d/Pxuif NkdYvREUHFaA670eNr9vW0jgGRmUKur1MdNQoG8GuOFWojofdLyckwDTpAfUTuKKCAFY R3zM1RdatZSpyOcMyUXXB9yfy92BywaWYEoHVPzveS6iEx6GvJKdtmpj/ZZ3Sf8BNHZc QMjjZrZ8ZTDznoS65ikDmTzTF8RitCdrfClOodfZGJr0X9lK27VB0iUPSdLYRPrRG7em CvEyxiZSNxxv/n2D1gZMJ3x8zGjzjyjHAnUluZVPP7X9IyP9RH9qwqyT2yCh6FSkeDpM N0zg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UdN7A+W/u+jR4fSEXAVPkKpk1+DMdOGZ7GCR/EOq9hI=; fh=c+r2E481UvA2yp9ixGsgIzM/roCU/pXsxkz2++UmVG0=; b=AfJF6iY+A/bSQl7tCBPlI45rKV4h1fiPbYzV4zJDNslZmUlHY5ZJBuMOPMZHKqya8N 7TVKOl8yj9pwqW1d/2PpnxKF2x7WE+X4otqwMuT8U4hLYFAj3i852k/4f0REaKXJEmA0 dLLE1u1MqRoihX06R9B6phUJiL1iQSUMkAI+iifdy1JK69tJYtI84z+sKBFoxHK9eKnQ eHoMl6X9wmZBMBWG1EWCsnYhMFNGbqNBxr/MRhr7Zw358QbW4eeHzBnVD3lU/DvEfKcD VOxuen8E4MjXgRjNd5lRRUROyYnA/bFlfbQhep2JckLympTXW5OrAzhlTle2ESEgBAJr iFQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jO5p2qxh; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gl8-20020a17090b120800b002b430decf1csi3441730pjb.43.2024.05.04.09.09.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 09:09:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jO5p2qxh; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168743-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 321DD281E86 for ; Sat, 4 May 2024 16:09:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 174735A788; Sat, 4 May 2024 16:08:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jO5p2qxh" 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 371B85A0FD; Sat, 4 May 2024 16:08:43 +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=1714838923; cv=none; b=XMnr61MSks1ZS1H57fA0nb7gnLBuDJj+FISRJYfde4BFCzYqdG7lupAwcq8uf+gaDhLuFv8wOgmkR0DPCGHju/SjwvDVG7uDKK+xaeVRpI3d6HFpQaj8T6StW9YpOOw/rAwJ98A2PVVk8IY3jsM5k7yHP6sWvhTXTrSrv0rfSHg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714838923; c=relaxed/simple; bh=UfoLjGrBm2lN/mmh5+2DWvcNqyPXEVFl9WPA1Hf3pu0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IdvEO4PE7u5Qeqq8lJZqOLwRxHxmzQbwgxnVe/XOKwFzFgF0+gdfrExQtpdaDj6+FU/yNoDats2r0eb8TTypgdP1mGSlxAHiHnnIFwpAQKmnIvNwRBiScGiv2AK0BAqQ/2dh6pgHta3A9rsNpvRTILbnpdN2Es93gGVjsuHV7zo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jO5p2qxh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 755A1C072AA; Sat, 4 May 2024 16:08:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714838923; bh=UfoLjGrBm2lN/mmh5+2DWvcNqyPXEVFl9WPA1Hf3pu0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jO5p2qxhVldXa/ws23/u63WO46a3i1yMzjwt5V/o0PiO6mMry1wn0WML252v/osDX dMr2uQc0/1pHS4VqdKdssI4hnoHC5lRWCCRYZ2ltpWdPpmzI8+PXcdZR8hMbm5iJ9f 287E1fQUqDrm92SvAtKjf4rnmDw1dGFE4RNBvEWs= Date: Sat, 4 May 2024 18:08:40 +0200 From: Greg Kroah-Hartman To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Jiri Slaby , Russell King , Tony Lindgren , Andy Shevchenko , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , =?iso-8859-1?Q?Th=E9o?= Lebrun , Linus Walleij , Hongyu Xie , Christophe JAILLET , Arnd Bergmann , Lino Sanfilippo , linux-serial@vger.kernel.org Subject: Re: [PATCH printk v5 09/30] serial: core: Introduce wrapper to set @uart_port->cons Message-ID: <2024050433-power-dictation-acce@gregkh> References: <20240502213839.376636-1-john.ogness@linutronix.de> <20240502213839.376636-10-john.ogness@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240502213839.376636-10-john.ogness@linutronix.de> On Thu, May 02, 2024 at 11:44:18PM +0206, John Ogness wrote: > Introduce uart_port_set_cons() as a wrapper to set @cons of a > uart_port. The wrapper sets @cons under the port lock in order > to prevent @cons from disappearing while another context is > holding the port lock. This is necessary for a follow-up > commit relating to the port lock wrappers, which rely on @cons > not changing between lock and unlock. > > Signed-off-by: John Ogness Acked-by: Greg Kroah-Hartman