Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp254459rdb; Thu, 18 Jan 2024 02:33:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8kdsDAZCDR4eKVikIVYevyvK71j+hSrCIHFygLHnHPgtBQJe0ecrtHwoA8aXHnc3DefPj X-Received: by 2002:a17:902:ea05:b0:1d5:8bf4:a530 with SMTP id s5-20020a170902ea0500b001d58bf4a530mr1174328plg.53.1705574000949; Thu, 18 Jan 2024 02:33:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705574000; cv=pass; d=google.com; s=arc-20160816; b=I8OGK2zoh3Lkg/in6DD8tvkexof8aKCzoegnlGAZNoEvAYvQVGh7o3g+8TrjYpsc23 j+r69ftv3rxvA6AOVRHKtly+Uqy01bXA7Le9Xt89bR2aZ9A4k2PDrR/AD6r1VT4VKDBx /ZM5jEkQ2u+JNmVMZiEU+Q+Or8psq5EPCVYNSTzzWR0nuOguZwCXjhF6Ed+QQZEpzuTC ShMFNsZoCvNiMn9phq+iJqQANA98eGftuAu6FxauJSDQKp9JJEVTzKv6ZpLOY3p83IJI eBzjqcOUh3xW4d7HiYNIgVH2FvFEaXJoUMhexrn77z4juIoeikCdjKtJInzBQO7tvU/t i7Ow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id; bh=V4/goWz/okaJ7fzIXZYwvaJoUhv80xJv0XK66oZThyw=; fh=BeTjFRrrq3oOs9kwQ8B8e/lBuxhYDVlBcGuakDwiAKA=; b=URbiPx/KLslv15xFMN4jlLE6KBxZLHRTBvoPvP8y1XN2ZJkc4+t46tBPWX7QeQOiKo dMF3tm4bnoXZsvPwuiFoCILq5wntmrmXgbMVVcUFFWm9adP3K/tNnO9xASBHk9SEhmbJ ks90fXwCwIY9F71g21HscBTgnFPvRg/zu2+GbDd6VEtRGPppTDCrFEeZfR8b0sigSpLt QUaZgl7Y7aywe6DAfusMAukuyROCPQgTZspwJz3Jl4m30sNpsbIV0JCklVih+QoYtgkS CllHhJPjgGTc4c9OM8dhsBxsQC7EOV4j4Kc/xHPqWaWVy9efesthz78Rr13J8JzDRYuR ZBdg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id u4-20020a17090341c400b001d70c0f2f0fsi431591ple.217.2024.01.18.02.33.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 02:33:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-30009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 588CC282726 for ; Thu, 18 Jan 2024 10:33:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D69D20B1D; Thu, 18 Jan 2024 10:33:14 +0000 (UTC) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 4B1155CBC; Thu, 18 Jan 2024 10:33:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705573993; cv=none; b=LIN+CppVURUfQNv+d6EyQbZ561jorUcBLhRqjTuFbmr79sr6LE1hHzEYnx0ESmRaTga7RaxJl/MawLB9qZJw7Tn+vGUD4QmkcQwhdXyrLemKCL9xaPW2ULvfyR+MvxdwUEGfO4WQh8vA6XWKbXEzZkPc/o2vQIaNcWv5jdKO6aQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705573993; c=relaxed/simple; bh=qcpQgU7QN/wMddJoiTyZlVVbbAsUFE62253aI59fLiI=; h=Received:X-Google-DKIM-Signature:X-Gm-Message-State: X-Google-Smtp-Source:X-Received:Received:Message-ID:Date: MIME-Version:User-Agent:Subject:Content-Language:To:Cc:References: From:Autocrypt:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UTpMo0zmPKtP+k3zbSLqe0yoF62YOQicbQzwz1LgU5B/7q/n/ZfdjNiE63j3LVVYp7BKrSccXyuNJVTI4N4Dk7XTiwBvXF7/yYwcRboyUl92fA+PaV0J4JTbeMH29rzZDwsO9FZMMZcXlSTo/RAzxdtZSscXoAGbSEFhdAdVb1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-50eaabc36bcso15126722e87.2; Thu, 18 Jan 2024 02:33:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705573990; x=1706178790; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=V4/goWz/okaJ7fzIXZYwvaJoUhv80xJv0XK66oZThyw=; b=wJdbj54UTYlfbF5nHAEszpFxDWUZlH7dvdJu59R17ZQx+k/ewMUn4Sh2jtUW6a0WmJ n+39BPjBfqxEiPewxBo9VV1JjVGxaj/ehWp0CCvBaG3x3soY0k9gh1Pzwvf1xzQxO52P GZF/qsH/bwfNV+4hd2mNUsMt/tdUJmKB6my4E5mWWuHm1y1UXXM0U6tTBWSfBVfaT13z GtS6aHehLwKzBqFjEZrmroG5QqJ+1PqyWiOgyqvB5zRrPrKwwv4EZSLnAFgwo1pK9vsv biBzCJGo8HIW6OyZVnf1ibq8qeOkJKQ9huGO8o0RgZJvfddNFe4OANo6hyTiLmFMGlwo ezSg== X-Gm-Message-State: AOJu0Yzh4ijPQ5Eo6pK2AVRCdNW3Gk/aa8Jn0P2DG7ouJcALleXA6/Yj srgadgFG/fzf4LtGb+5Y61fLPAW/tIgeRobVHlom17CU7qC9tjzE X-Received: by 2002:ac2:5f07:0:b0:50e:8eae:a71c with SMTP id 7-20020ac25f07000000b0050e8eaea71cmr352440lfq.126.1705573990063; Thu, 18 Jan 2024 02:33:10 -0800 (PST) Received: from ?IPV6:2a0b:e7c0:0:107::aaaa:59? ([2a0b:e7c0:0:107::aaaa:59]) by smtp.gmail.com with ESMTPSA id r20-20020a05600c35d400b0040d8eca092esm29345527wmq.47.2024.01.18.02.33.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 18 Jan 2024 02:33:09 -0800 (PST) Message-ID: <3632cc5e-f1d4-4780-a233-19bfcfe8af69@kernel.org> Date: Thu, 18 Jan 2024 11:33: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: [RESEND RFC PATCH v1 2/2] serial/8250: Avoid getting lock in RT atomic context Content-Language: en-US To: Leonardo Bras , John Ogness Cc: =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Greg Kroah-Hartman , Thomas Gleixner , Andy Shevchenko , Florian Fainelli , Tony Lindgren , Marcelo Tosatti , LKML , linux-serial 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> From: Jiri Slaby Autocrypt: addr=jirislaby@kernel.org; keydata= xsFNBE6S54YBEACzzjLwDUbU5elY4GTg/NdotjA0jyyJtYI86wdKraekbNE0bC4zV+ryvH4j rrcDwGs6tFVrAHvdHeIdI07s1iIx5R/ndcHwt4fvI8CL5PzPmn5J+h0WERR5rFprRh6axhOk rSD5CwQl19fm4AJCS6A9GJtOoiLpWn2/IbogPc71jQVrupZYYx51rAaHZ0D2KYK/uhfc6neJ i0WqPlbtIlIrpvWxckucNu6ZwXjFY0f3qIRg3Vqh5QxPkojGsq9tXVFVLEkSVz6FoqCHrUTx wr+aw6qqQVgvT/McQtsI0S66uIkQjzPUrgAEtWUv76rM4ekqL9stHyvTGw0Fjsualwb0Gwdx ReTZzMgheAyoy/umIOKrSEpWouVoBt5FFSZUyjuDdlPPYyPav+hpI6ggmCTld3u2hyiHji2H cDpcLM2LMhlHBipu80s9anNeZhCANDhbC5E+NZmuwgzHBcan8WC7xsPX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x8G+fCJJ9YtlNOPWhbKPlrQ8+AY52Aagi9WNhe6XfJdh5g6ptiOILm330mkR4g W6nEgZVyIyTq3ekOuruftWL99qpP5zi+eNrMmLRQx9iecDNgFr342R9bTDlb1TLuRb+/tJ98 f/bIWIr0cqQmqQ33FgRhrG1+Xml6UXyJ2jExmlO8JljuOGeXYh6ZkIEyzqzffzBLXZCujlYQ DFXpyMNVJ2ZwPmX2mWEoYuaBU0JN7wM+/zWgOf2zRwhEuD3A2cO2PxoiIfyUEfB9SSmffaK/ S4xXoB6wvGENZ85Hg37C7WDNdaAt6Xh2uQIly5grkgvWppkNy4ZHxE+jeNsU7tg= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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? -- js suse labs