Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp512038rdb; Thu, 18 Jan 2024 09:58:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHdLFGJzRyoS1kADWghWbwO3OwUyZUaUL1DJJvkinJSkW8Kk680SBc2HX8eZIfZnIrpejff X-Received: by 2002:a05:6a20:a482:b0:19a:5884:6e with SMTP id y2-20020a056a20a48200b0019a5884006emr958844pzk.83.1705600692179; Thu, 18 Jan 2024 09:58:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705600692; cv=pass; d=google.com; s=arc-20160816; b=B3bmwnSgca9I9ajeNXsD5WAoIfv56If3CTJd5TNfu3LIXH9jlYZPDxWCYef9+4EFjN 7X5HXT5VCixoFiVEA4IqC3GWwJT5QEO0hcrshbOxS8IOb6ppzoeAy9XqJtLZWnd0d6pf iLz74u+tYcNUeWRdJ0OTn0vkpUP2XOkSAxJa4vvIvIHbOqg6E4ZRLuT07uxYe6+oR9zj zykYel86To4/G0eezZjGL5VBbzI/Lt/Q234fGNm5dzj7+jsQuRZ+w6sgv/kLfoDsC1vH vWqxl6ZRKW48lu8cn4NKNNs2H1ZOCEYiqaVxPA9t5GylzZl/2FkbSeWbYz47us1KRRWa z2nA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=k698Zj5WVi2wSh0ojlY5XsX33bGvDw0g7gHOdyMGiao=; fh=475VY8oC5kGQndDqfhungOcvhSRQAxOUK9Y3M37+gic=; b=DP9Uaj3FxzavkVwPJ69X3BOl6WsHTSd+rnWnz76wxtw6AVWEi7GTh+Xrm/lh1pu1QI TAkQhat6MkgluuibFsJTyeEedDkoQ39npofrDpkJvxqH+FRuWiZtdKudnbWi2vZ0wufN yp3aHOMq3SGYPIUqDELj6hWTBhBeislogZ1ViSCQg6/+xoEFzLWXwmIYJKaTnqKTIg4J xITbtBSNO0NHxVOkZBzLrmorC9sTb1z43vGJ5UtwIQZhwVBwB6Qfz4Igda1e2x4bgLem w33pZPcBrd5W8HGQP7BBDbNG19gVjeQ6tAAjvJwSMOngQ4kHS/3cUq9OPNOjoTlKawqx DeJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DnwIbe9E; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-30447-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 19-20020a630213000000b005c69765acddsi1725989pgc.87.2024.01.18.09.58.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:58:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30447-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=@redhat.com header.s=mimecast20190719 header.b=DnwIbe9E; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-30447-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30447-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 9F26628AF70 for ; Thu, 18 Jan 2024 17:58:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 626122D60D; Thu, 18 Jan 2024 17:57:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="DnwIbe9E" 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 F0D6B2C1B9 for ; Thu, 18 Jan 2024 17:57:51 +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=1705600673; cv=none; b=TCLMeDv3Q/wuWrkaRKxz3h/eZ5cJ5jeF2VnR/wUI8sCDInNg7nxkF4ODDn5rA2HQfv/qdgf5qW5DQQua5aILgZopyO9a3AzIXgNSunkqMlif8QwWd5MRl33QefwlQa51nUVDhEiFfgueQ4sd7x77xCeA6MhnTZDMxxjrGMV2QZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705600673; c=relaxed/simple; bh=/h4q32yEfht3o3V4KdfWWw34f3PK7YiTSBlwmYSS93U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type:Content-Disposition; b=UJtvXYlkUvEymVMRbowksa16XgFNnU5XG/UB1ou6QEK6efdfBjN74xvjH2jlMpn+qjxBHCxSDAJVOLj0RFJi4okio5CQ4I1gE9gU8xWFVA4YPpLGkB1P8hKQlpJ/ScbE6UyrzU1h0Ah0/hzZoHtuZppF7ZUtT2xPhoGVUkaLr/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none 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=DnwIbe9E; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705600670; 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=k698Zj5WVi2wSh0ojlY5XsX33bGvDw0g7gHOdyMGiao=; b=DnwIbe9ErUIVFhOT+DscyJ5E9qiGxpPqaedBiRh+XY4mekUDoWoy5eeTzAU4F4g/nt96B9 oiv6uBFOjIYSmIKgE8VWuf9iqLogKwZDqwSpy5nThCmhWmZO2TCI/7LdBcLjY5plzjDkhv f28boxi5g3bAJj6FA7NALEPsD/qDpD0= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-288-U9o9V2-dN4C0BF8Hn3bhEw-1; Thu, 18 Jan 2024 12:57:49 -0500 X-MC-Unique: U9o9V2-dN4C0BF8Hn3bhEw-1 Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-1d5b60c929bso74465585ad.3 for ; Thu, 18 Jan 2024 09:57:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705600668; x=1706205468; h=content-transfer-encoding:content-disposition: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=k698Zj5WVi2wSh0ojlY5XsX33bGvDw0g7gHOdyMGiao=; b=ZIB3e4QAwCt72SY6C3F1wTbcKXqB5X+9DfiA37gMwANkt8d6C15Ew1+R4Glf4+ofYG xOxmELzULneJq1lAaeQTid3Pd1+BRqO6so+mVO48znSfV7uPY2WgsCDOaY3oTHH9o++Y fW9v4TQUsMYe24CqhelSqFW+qDNropvkG4SS7kp2mrjZ1/XgRAXDOcsmgExYmylOs2BU TatyGvsRY53tiV03Z4uLZo8VmcYr6UwctdxI4ST53dgBEbPJrdAEj1cEnjzx0LePVSHr QXBawt52urW9lXhtHfst/JNdVYu39OT3htrVIVI7r5zZHDBhUnVbiYDzHuWtHhobwesc Fq6Q== X-Gm-Message-State: AOJu0YySfcHQIDEu86G3hGN3GgKYUyS8PPZQDYNgB70aW/TK5ohJLwhj SH87rMF2yHqaEAMGmYNwToKYnUU/8c4SNc4lUhnns93gHaqAtILbyZp0qhJ8GLwflJl3l8I5q0P pais6TMfuhfQLOcEug8snlR27+w5M9DreamCtBRUnzE51LM2yrai2bAIKcWDwSQ== X-Received: by 2002:a17:902:ce8e:b0:1d5:4de3:ac46 with SMTP id f14-20020a170902ce8e00b001d54de3ac46mr1580958plg.3.1705600668377; Thu, 18 Jan 2024 09:57:48 -0800 (PST) X-Received: by 2002:a17:902:ce8e:b0:1d5:4de3:ac46 with SMTP id f14-20020a170902ce8e00b001d54de3ac46mr1580948plg.3.1705600668132; Thu, 18 Jan 2024 09:57:48 -0800 (PST) Received: from localhost.localdomain ([2804:1b3:a803:96a5:ba81:becc:80f3:6a79]) by smtp.gmail.com with ESMTPSA id e3-20020a170902744300b001d704c0d5c8sm1574966plt.113.2024.01.18.09.57.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 09:57:47 -0800 (PST) From: Leonardo Bras To: Jiri Slaby Cc: Leonardo Bras , John Ogness , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , Greg Kroah-Hartman , Thomas Gleixner , Andy Shevchenko , Florian Fainelli , Tony Lindgren , Marcelo Tosatti , LKML , linux-serial Subject: Re: [RESEND RFC PATCH v1 2/2] serial/8250: Avoid getting lock in RT atomic context Date: Thu, 18 Jan 2024 14:57:34 -0300 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: <3632cc5e-f1d4-4780-a233-19bfcfe8af69@kernel.org> References: <20240116073701.2356171-1-leobras@redhat.com> <20240116073701.2356171-3-leobras@redhat.com> <75a39f0a-8f79-eacf-4a35-5de512a3cbed@linux.intel.com> <87o7djaubq.fsf@jogness.linutronix.de> <3632cc5e-f1d4-4780-a233-19bfcfe8af69@kernel.org> 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 Content-Transfer-Encoding: 8bit On Thu, Jan 18, 2024 at 11:33:08AM +0100, Jiri Slaby wrote: > On 18. 01. 24, 10:36, Leonardo Bras wrote: > > I am using mainline (torvalds/linux) kernel, forcing ARCH_SUPPORTS_RT: > > > > diff --git a/arch/Kconfig b/arch/Kconfig > > index 5ca66aad0d08..879c34398cb7 100644 > > --- a/arch/Kconfig > > +++ b/arch/Kconfig > > @@ -1195,7 +1195,7 @@ config ARCH_NO_PREEMPT > > bool > > config ARCH_SUPPORTS_RT > > - bool > > + def_bool y > > > > Since I was not aware of a PREEMPT_RT-patched tree, I did this so I could > > compile a PREEMPT_RT kernel. > > Huh, when exactly did you intend to mention this? Since I was not aware of an PREEMPT_RT-patched tree, I thought that this was the vanilla way to get a PREEMPT_RT kernel running. TBH I did not even though that there were an external repo for PREEMPT_RT. I mean, I knew about non-mainline patches in the past, but I thought everything got already merged upstream, and any other patches would be WIP. I understand this was a mistake on my part, and I feel sorry if this brought any pain to reviewers. For the future, I will be basing my RT work in this RT-devel tree shared by John. Thanks! Leo > > -- > js > suse labs >