From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 643273CB911 for ; Wed, 19 Aug 2026 06:40:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787121621; cv=none; b=YybGP8/BSFVGQKqGrwJuqt0gnznbQ+O5V9CvEZCIH6iEIJsr8XrArbZduOpj3GqTHKapFd7MZpGTWsXYH0OFFyqVZ+MsiOEwMY05SxoEkCwXQEV4ba3QT9+yWNohvl3Dvbjmu7LTJ/L9oGshwvx7BS3Wcv53CCtTmUXBQWCpEYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787121621; c=relaxed/simple; bh=sXtsjC3Cg+AuWn4pFUN/14YzNiJzLmYcsExmKmcPbSo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=cYUbe81EoBbILTAwWdc4Iuzsd/5/RsYSW+AzO+x5A9NlHZHmjjSYTk1zIMf96mncZaOcZjsZ6BN+6CiWRwPiyHh6dIYkyjXWV0mpLPmFw0FLRotJui8jPRswJqlIWNKqSdGvMYEbaj/inzKWlzP7jtcI2lObN4r3mp9gRinDJ50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4954a2e73a9so3980185e9.3 for ; Tue, 18 Aug 2026 23:40:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787121619; x=1787726419; h=content-transfer-encoding:content-type: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:content-type; bh=cBqWma/qo71aJ3ooE0LRAPm0QRfejCf5pbI9noV+BqQ=; b=JzUpqQISHDcCFq5gUOvh9qSncBDfYwkihmZWXK1D+7dy3KXyMGysXC1Wr1cJ6nvJh0 nEDtrVg6XC/KPirYrqLrjoYVe8jak1pax84F2yC5D0P25pKkYaCeKifJQlAQcJGVvTYW V52x6Q4D9cSHQSaPgDAGsPsltfacoFRTsGvrURx4tGSLpZbKZcQqk8Nd1ScIlmrSDWGL udJen66YsVngrCtpSZ8HFCEmy3rW33BLyXxkB7/ZUM4EmQyad2cIMYW9xGb6lwpGJfPe QQxVMuf1jNln50hQJKyMV5xDhGWzKwlOWJLCpV3oSzdCqkGOR6SGyqjKX4XMBdY/I02C 7kRg== X-Forwarded-Encrypted: i=1; AHgh+RoJK1fH+FYi1wNosGf4F5/4Vf+Qnpz2RwBWew2+Tao5/L3+qd8HwdzDPhNLaXRbxfgi1oO7AYEHL0/nUnU=@vger.kernel.org X-Gm-Message-State: AOJu0YxF2LsFy/EW/wCol65oyVwKYTV/bsZB1WC4C3rohBGoF1qED8CT pmyByq+nQJ3xhbkbHzi6a6bMvyx1+VadJIZpCu1NXrBgEXS/D2q+auDG9Kozyg== X-Gm-Gg: AR+sD12c8Tgpy4IHzLwO77B+WzNmbDJdVcoXMSaed4lZb7dYbEZbBkLpskddCEj2I/o zhwuvBOPqOe0/KWZZwDzoeKv1CSqrOrezgZi/JXq7hYLiL/Ks3pduImAqseKyksrMzqNYcy7pZZ fDe11b5uejs+If2EDYPRPdUhgGzXHP/8ErA2Y45BpaDgBbJHdftvaoU6S7VK1hpax2T5gYwzGsu IAJrH3Gphb9vLn86tJQ4Pk9mwz3A/5VYqFYmZWJe2Q2byuEKUdNR7qBtgQIATwCU0vqzLgCLmJr 2l/CNQu96iw+wdG8TEQEsujc0J5KMUz7So80nbEEAzn1M1Ye0AwMVRLNGIc9dtECiwkKF/sO7sD aiqcgFRzgNtBF87yQQ6Py16ehLUxiycBWu8UYYOD7Sl3sDQotCToLow2wNlQArPGO1Umdrz9DGy GrC5DkQxvVv165AzyJ4qy4BcMCOpY4LcwSYGcsgQ6OcjF4fFlAuT1ej2Uo4jnJW0N8UsE4Cm9Q2 RKqG4xoYkW0XXNB7m9ZXQ== X-Received: by 2002:a05:600c:4f52:b0:499:7a15:fcec with SMTP id 5b1f17b1804b1-499aa1fdfb3mr32762455e9.13.1787121618614; Tue, 18 Aug 2026 23:40:18 -0700 (PDT) Received: from [192.168.1.135] ([83.106.158.114]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-499aaef1665sm32946355e9.5.2026.08.18.23.40.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Aug 2026 23:40:18 -0700 (PDT) Message-ID: Date: Wed, 19 Aug 2026 07:40:17 +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] serial: 8250: don't register ports that have no hardware To: Greg Kroah-Hartman Cc: Jiri Slaby , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org References: <20260818185200.10243-1-tanure@linux.com> <2026081923-magical-enlisted-64ff@gregkh> Content-Language: en-US From: Lucas Tanure In-Reply-To: <2026081923-magical-enlisted-64ff@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 19/08/2026 06:57, Greg Kroah-Hartman wrote: > On Tue, Aug 18, 2026 at 07:52:00PM +0100, Lucas Tanure wrote: >> The 8250 driver creates a fixed set of port slots at boot and >> registers a ttyS device for each one, even when the slot describes no >> hardware. On device tree platforms those slots are empty, but they >> still take the ttyS0..ttyS3 names. >> >> New Amlogic SoCs (S4, T7) name their real UARTs ttyS as well. With >> both drivers built in, as in arm64 defconfig, the real port fails to bind: > > Then fix that bug, don't break everyone else's systems because of it. > Hi, Understood. I thought preventing 8250 from probing on devices that don't use it would be a good idea, and fix my bug. Thanks for the feedback. I will tak to Amlogic list the ttyS name collision introduced for the new Amlogic SoCs in e71aab9d6132. Thanks, Lucas > greg k-h