From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 982163A0B36 for ; Wed, 17 Jun 2026 11:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781697396; cv=none; b=H0jx865dvUyG8dj8nDc3A1o2q2g4NBBYPAnESJehFGJfO7YVs/TYhumKEqpVH2SRDgrX7MD/twmzzcXbiAY0RiccoiwplUV+EEn9Lw5zgHnkkiW1f0DsN+1RPJqymwlJQ3z409LSa2IO9Kg9HSF9lBHzJIL9UyiyrSqD+jhkXio= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781697396; c=relaxed/simple; bh=XlFMuI0tt1TzDCK08s/K5IKS2ZygzFZODioUk7NidTI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=eHcytJV0D2Rme9hQ38znGJ67W47k/0/rmNcmN2es3SfcY7xla8dXwmnIqdr/w9MzO9cAoP8Z9S3NyAGIIn7et36QnfRiU9nv8qiLV9wWb+M67DRNhjKG4aGkv2p+Hve9t9VgpNTtQnppD+8XVz03Xh4xTZ31HfErtLXrMMBcSIw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FlhueFIq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=ElA97vCe; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FlhueFIq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="ElA97vCe" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65H8Uc6B2218456 for ; Wed, 17 Jun 2026 11:56:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= p3p8UZiQiYzgvHo8G5UaQP1hOS/PcyfF1lP3Eug0wko=; b=FlhueFIqYLtzq8Zj m97jXvggJttBsfT11thstLgAGmrD8ejPn4UQufDOFWizEZP28WT1Knfe22V/UK25 ITd01OReoXRuwbnObrHTVl+UAN5bspy9PgyNnXVlkXNoxYSxVP8VsifU+7jNQMA4 Z7/8xOGIMOseWMUP+H/4u+1eqwIlGnT87Cr8Yn4rbX1FZXXoBlD5W2hZql7NiBZ+ LCGWBrb9BT5e6ERNtorPYKtQER8cUqjZZ+5UDyuJnMry4IpQ84k5/io1b+0oY6TE blNzrNICxkVH/1jxrhBSQvHLN0Q6DAtWko4tOupFt+7uPgZl/FpOE54TFFKWtqYe xes1uw== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4eueerb0qq-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 17 Jun 2026 11:56:34 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-915767b341eso543237985a.3 for ; Wed, 17 Jun 2026 04:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1781697394; x=1782302194; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=p3p8UZiQiYzgvHo8G5UaQP1hOS/PcyfF1lP3Eug0wko=; b=ElA97vCeQT6jSZE/E/JcR7vONl1oirt/TF0V9GxIVMvSoGiuZLUZHPdRb52394BiJd wKX334765vsJdoEohp8ys1fZLuXIPMazjzXkKYLZ44Oo1lg6RxuuVIZ9dHol3bkErybr 3db9Bc67IPtYGpgVpd+0s7ivnGzJ4hKjD8DL/HLCqGmH/3ybxWn4Ef6xKhHKZB5pBl2g SQIPJwZy1I4k2eu0o1o2NoHS5hGyQR/hDRh4OSx8wYfvN6zgI6YdzN+5KWNtfhAVkS+4 mGUW5xerkbaDlMIKTj7iBTtPNZLGi4PUq67bAC5iJo+RMPF3P7SvMbMISzIJnlnM6FBM NDKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781697394; x=1782302194; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language: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=p3p8UZiQiYzgvHo8G5UaQP1hOS/PcyfF1lP3Eug0wko=; b=TRSNTfdmiisNPkmfbWt70obXObJ7fn/oPcaRd1W2yBAAPpGoq4SWBCUDeCHHKWVK7e o2+jdADR0G8bGvkbSczHBAgNqQU/G0iMCrcnuRo3oCE++G92aZq87IkbRWmTIqNGz81G ChA/39KY8ePO8q0cGDLbATjPoawvLP6RQSVYszIMFN37mKsMt1R6Z4lpa7mVe1O828Rt h7FhfN9UKnraWYuA4DG49ggvlX/sTgKuvbAssV0N0T1DXakDrmNvIMSuDMVY7JiD9OOJ P/TK60fHjhI94uBHNBhNmjoWwDKJsM1hSdFHXQRbKZMh4QwjRUUrJgpHrE6sHSbGwhxm tk/w== X-Forwarded-Encrypted: i=1; AFNElJ8C79IFsIPRv0XUN4NFy+cUhsJq0lA1LqGZbDlPDatGS/ZfCINr/JCCm24HKofMr7KJUmxn+7I0vIRWnCY=@vger.kernel.org X-Gm-Message-State: AOJu0YyitH+JYWW3GNkmtWlj6qmy3cfaJ6zY2BfxC0W8gsifdS0Za/IC dcbmEZFaClsXqXHCI8h6RKu6OcPkBzI+in7sJUB796Mz2KIkENwQrim6iPshXBVEZ/LTk+d+mLi lne7X44f8V638CUD6cop6ODe4uUd3+mOHPGvcBEXGa3jixtQw3uK+yU/OVm6Pgk6LAg0= X-Gm-Gg: Acq92OFHHKBTT5wbvrajS2cj9yuNw54fEIAP4aQIOGWhkWWmWyZjx1HPE2dHW3vtDs4 Dag7ezlGNqXKTNnjChau8qVH4BZemP2QYMiELbUsmNVZplwnsh1g77MSPOfskwMGkuBnBKTNz76 5Tfh9gPcxqgsvJpt050+YGzcFyOGP9KAflN6wyH6JPmvPrl+HXJqkqOhz8RtF1rEiyImTFwp1PV FjPhPxFVoHGkTWv+yqPe8iP+TMZzYTh3y7bN23nQEWcF1zGWHE1oUb8VpUofXu7USFatmxWb+BA 8V+BX43JTbLKbxK7MMjjPBv4JWOmangqoo+qI93Ey13B30V+GM65m+7SFn5giN783pwVw8duWmd ik7I+tED4Bph+Kshp/j1W6IfK47WUCgzEpSW1Picp1GEsyRUjlxD1XYgcRgkL+g== X-Received: by 2002:a05:620a:d8b:b0:8f0:f1a5:680c with SMTP id af79cd13be357-91d8ccb5ecemr635314785a.29.1781697393889; Wed, 17 Jun 2026 04:56:33 -0700 (PDT) X-Received: by 2002:a05:620a:d8b:b0:8f0:f1a5:680c with SMTP id af79cd13be357-91d8ccb5ecemr635310385a.29.1781697393384; Wed, 17 Jun 2026 04:56:33 -0700 (PDT) Received: from [192.168.69.208] (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4922fa3a4easm172487285e9.3.2026.06.17.04.56.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Jun 2026 04:56:32 -0700 (PDT) Message-ID: Date: Wed, 17 Jun 2026 13:56:31 +0200 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 v2 2/6] serial: sb1250-duart: Fix bootconsole handover lockup Content-Language: en-US To: "Maciej W. Rozycki" , Thomas Bogendoerfer , Greg Kroah-Hartman , Jiri Slaby Cc: Elena Reshetova , David Windsor , Kees Cook , Hans Liljestrand , linux-mips@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org References: From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Proofpoint-Spam-Info: AW1haW4tMjYwNjE3MDExMyBTYWx0ZWRfX5TTSc6rU4SyW VX+gBf0BHVd9gGbGZI+SSx0+y7dgko2llw9JsE2z3WXfAQY/3pbmY8VQDQGF0LYID6oZtCWlqZ1 Zh6Y4onKBdKUAfGvD/Jrtey2/qHAHGA= X-Proofpoint-GUID: EH36y_ZM7GyCgMO86NBHl5JIL7f4RalI X-Authority-Analysis: v=2.4 cv=d4fFDxjE c=1 sm=1 tr=0 ts=6a328b72 cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=4s3hRJSeHn4rkQlkrse1kQ==:17 a=IkcTkHD0fZMA:10 a=FelO9ux0wxsA:10 a=M51BFTxLslgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=rJkE3RaqiGZ5pbrm-msn:22 a=VwQbUJbxAAAA:8 a=BcPKCTjPAAAA:8 a=EUspDBNiAAAA:8 a=LfsA7Cq2GQzuzbZ-N0YA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 a=MNXww67FyIVnWKX2fotq:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjE3MDExMyBTYWx0ZWRfX0EmkR3x0pMNb U2a9+8kZoyO4KfGDYew6VjuGAaD3UHtO2Qem3+MdU10TR3jPYDvRD0OiRB8STigZbGN+LeiDKkI BDOkERpTM8rN83fHK4PriSaj2TTAqxMZcFwJLVeSRCWWa8FQ08zc/GqTI7l/Qm0fT+903dfY/QV HQ9C1KMZYIWW1qA+afByFYTpWF2sFEa7v99CP8d9DzgMe2xfVFNgvX1zS1b/wA3sNC7kORnM8zJ wxYnTGLf+sqt6Wcpwz7ThJb4hNwkhHah44K8TPS04cfNOuMPrPZJdQp3gMzKu5ogQ09bWQk3Jm/ EXeiyWZF5edI+MnyEhW9q0J4zoxcx7rTrU5vnmir189UJOvFon1u0PjRfd2oM28qTCegrmMNKPt RvlN+KybvCpSUkRIWdhCAFxhi39JWlmVb8NAzYt954Pd5RHWm+iJs9ljeUrWG05kjGztHuUQwaQ zq0QpHyZm6JZTX0M9jA== X-Proofpoint-ORIG-GUID: EH36y_ZM7GyCgMO86NBHl5JIL7f4RalI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-17_01,2026-06-16_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 clxscore=1011 adultscore=0 spamscore=0 impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2606170113 On 25/5/26 01:12, Maciej W. Rozycki wrote: > Calling sbd_init_port() in the course of setting up the serial device > causes line parameters to be messed up and the transmitter disabled. > We've been lucky in that no message is usually produced to the kernel > log between this call and the later call to uart_set_options() in the > course of console setup done by sbd_serial_console_init(), or the system > would hang as the console output handler in CFE tried to access a port > whose transmitter has been disabled and line parameters messed up. > > It'll change with the next change to the driver, so fix sbd_init_port() > such that line parameters are set for 115200n8 console operation as with > the CFE firmware and the transmitter re-enabled after reset. > > Fixes: 84a9582fd203 ("serial: core: Start managing serial controllers to enable runtime PM") > Signed-off-by: Maciej W. Rozycki > Cc: stable@vger.kernel.org # v6.5+ > --- > Changes from v1 (2/4), > : > > - Sanitise the change heading. > --- > drivers/tty/serial/sb1250-duart.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé