Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp351224lqo; Thu, 16 May 2024 08:06:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhs1aI+PQqbGqiwdWU1ePIQnKYJlUn+aG8cgYbavqLCPlUYts7j9RMFaJm0kBlQX++xbxLjHkrqagEJzb5hzuJ/MWnPANBYK6o0QEqfg== X-Google-Smtp-Source: AGHT+IHE7cpLoxNeX2JfYFNDUjoO9UnPuDqWCuUu7p6xOniHchA/yd/Xm5UdLadM1IztekZw2tzt X-Received: by 2002:a05:6a20:1591:b0:1b0:194a:82f5 with SMTP id adf61e73a8af0-1b0194a8482mr9032115637.21.1715871995063; Thu, 16 May 2024 08:06:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715871995; cv=pass; d=google.com; s=arc-20160816; b=atmxpM1h9HQFJBarvPNRZm/AVFMkRMFFQquk+ZU608JzgYkOGLaHjO1X8CLYcO6apt vfzfF0PWnE/P3v3jRoEX8D66ZN5xzRtr7O9p5cB0RBj7cF/Y+UMzJiy7w+fEFGa0osAW xlPJ8D1HNHNNKxllcNpS+jmIUnuOYtHiVSAMwXrQ6caNxtliFlpbjqrnHSt+dxfxrUwk n8RSu9hsnAb+BEZMj7FYZ99bsRsbdKHU0Kg3zwslCdt7i/Lc8nQuICmdIscb1FEriYLX PwTPg9dc9EVdxSDuskZ+94O8GW2AfmbrDXwQkyQ35YeOK6Y8BIs9l8qUaCbRrcWmQo3A lN7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=nKBUSAzkxF9Zs4eRSjZEOq3e8C2Kq3MU7w45eIpOnW4=; fh=Ml8FZHt42kfitJmARJaexIZQissFxgGrJjC2pE2ONa8=; b=GWVkM2lffuIritz1IgGmiZuphATrnj9YzlgZIpSDIsoqw9LCbzcpbLB/9z5WuFDM3D B6vdnAYkg3JLqOo+6U7wzapZZc6CneWODxw0O9AicTeHKdpy7IbjAsqsI3X17K18k5NN TLiCLRheFOU9o7nz9eeybZnJ32eXURmV0sPECN+o6uzmEG9bg4DVkgDZz/eeIOWlK8Bh 1NmQgdTGhMSvXSx0TZPw5/Z/dCjfI33AmmmII12xW9XuvPbkVaK9BbI7i/Wd/FWaDskN C1z6+WK+HTri9ExxBgPb7AL5SY4n8iequzP8U1UhHZrELWiG4S32dfim3s7mGQCvc/BQ bs5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PruRqEPA; 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-181197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e825ccsi17458194a12.91.2024.05.16.08.06.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 08:06:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PruRqEPA; 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-181197-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181197-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 136F6B2321E for ; Thu, 16 May 2024 15:03:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CC9114B97C; Thu, 16 May 2024 15:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="PruRqEPA" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.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 0ECD214B952 for ; Thu, 16 May 2024 15:03:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715871814; cv=none; b=gJEYcb4rRDIyHO3j1+kWhstsJT38dGjQxjRfVFrV2U+hWgltxJz3beDQpnXIx7OrXaxgyVpKGI2xJXEF3IN3WzECsGsodBE/mmtPh3M/Lmiocq1K+2Y1aHMXK8uIsZJv0pp1vDUVsCIwldchx+HIUWL6Bd9Vy0utlrsf2grrQbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715871814; c=relaxed/simple; bh=Barrt/8/lO9wErCh7pOsz/xbkBpqA22b9Ik53PIZbjQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rCG+0aaVSpjJJhgYhosiYoDGQJZG8+dN7NS5YgKHs+JojxwXKxyX67x6WpG3rf9cZ0wl80ThYZb1uw8cT7dIHLCGe8ZWm4faGpgluOe0AJ0f6BF8pEnOghAf6Y2TyuPCxxO3VwqA9TAg42FgPXaIvgf5jQQvVPunzv6cNYW18oQ= 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=PruRqEPA; arc=none smtp.client-ip=170.10.129.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=1715871811; 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=nKBUSAzkxF9Zs4eRSjZEOq3e8C2Kq3MU7w45eIpOnW4=; b=PruRqEPA2Rrte/ywuqyD/wuVDEQzyCAJ9M/9tBVTwfbpHYHYwaEyRp9U/sGiPTBdmyXYEG oqCnzhE6AwdmvR2n9LmrKvtsbv6OAlwYkqHKxS8ET9cmGM5ozLiaDwrezDSEtZjpKKokkj Oh7L2rG6OtHB9Szq1gqC16+sIQpuxsQ= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-345-BvGdyph_PJO0-lazurSuZw-1; Thu, 16 May 2024 11:03:28 -0400 X-MC-Unique: BvGdyph_PJO0-lazurSuZw-1 Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-572afd6e96fso2463354a12.2 for ; Thu, 16 May 2024 08:03:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715871807; x=1716476607; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nKBUSAzkxF9Zs4eRSjZEOq3e8C2Kq3MU7w45eIpOnW4=; b=XEjmguE4UOAyaqnwZinFUtEbp4FXgogZeFqwR2rsB099DXuKcEcZn7qOff3wZYxueO UzecbBW7SbnBQAVR4f3k+wn7IIMHzehRU8IGGu1ogQ+wSVPEl0P2ptVUvdHcpwsTirNU H2Vk8GHatOC8fDHdlY9MVZjJkHKwLghmYhMPu0oGjCRMRxI4DbXtloRummjwBths1ZIC PDI0dsLKPDYxTOySWSWVkeFj3DSaonuUEOa3mKsnwYPv0Go3TcFyKXM9ki9tejffcKAB /zCLsPBO/eO3hURYbitryvjhNlGdu3ADKScQP/isGa6YYNIzzHXlFYweLWve+YMrb1zg 5IsQ== X-Forwarded-Encrypted: i=1; AJvYcCVNp9wQlUTwHxvKFLWk9mscc1+YoZAkl2MQcT76YAagDb51HiTIvGFRRxZ96brCklnhGwBO75LV2tEDCpdDc8cVb7lKApT1HnQrl3oM X-Gm-Message-State: AOJu0Yz95i02ea0d0MN71NbfzxCnb8wVlj9THiem6mQwuYv6xTFPXJfd JGQ/FleHSGeTQoL7lFMrheDYsU3+wT+65R/3K6RCtK3Bhf3kDLISpGXj9/TIVPqNpZxVOuvwYZu HIAO4BzGRcwddnTr6WY2tGUoYeQwFv9QOal+ezG5iQQkvCeMU2DEg2YgG1bo9BA== X-Received: by 2002:a50:d583:0:b0:572:637b:c7e1 with SMTP id 4fb4d7f45d1cf-5734d5f48b1mr19637045a12.21.1715871807566; Thu, 16 May 2024 08:03:27 -0700 (PDT) X-Received: by 2002:a50:d583:0:b0:572:637b:c7e1 with SMTP id 4fb4d7f45d1cf-5734d5f48b1mr19637027a12.21.1715871807208; Thu, 16 May 2024 08:03:27 -0700 (PDT) Received: from ?IPV6:2001:1c00:c32:7800:5bfa:a036:83f0:f9ec? (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-574f6b8b9d7sm2749663a12.82.2024.05.16.08.03.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 May 2024 08:03:26 -0700 (PDT) Message-ID: <1850b44d-e468-44db-82b7-f57e77fe49ba@redhat.com> Date: Thu, 16 May 2024 17:03:25 +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] ACPI: video: Fix name collision with architecture's video.o To: "Rafael J. Wysocki" , Thomas Zimmermann Cc: lenb@kernel.org, arnd@arndb.de, chaitanya.kumar.borah@intel.com, suresh.kumar.kurmi@intel.com, jani.saarinen@intel.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, linux-arch@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org References: <20240516124317.710-1-tzimmermann@suse.de> Content-Language: en-US, nl From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, On 5/16/24 3:04 PM, Rafael J. Wysocki wrote: > CC Hans who has been doing the majority of the ACPI video work. > > On Thu, May 16, 2024 at 2:43 PM Thomas Zimmermann wrote: >> >> Commit 2fd001cd3600 ("arch: Rename fbdev header and source files") >> renames the video source files under arch/ such that they does not >> refer to fbdev any longer. The new files named video.o conflict with >> ACPI's video.ko module. > > And surely nobody knew or was unable to check upfront that there was a > video.ko already in the kernel. Sorry, but nack for this change. I very deliberately kept the module-name as video when renaming the actual .c file from video.c to acpi_video.c because many people pass drivers/video/acpi_video.c module arguments on the kernel commandline using video.param=val . Try e.g. doing a duckduckgo search for 1 off: "video.only_lcd" "video.allow_duplicates" "video.brightness_switch_enabled" And you will find a lot of hits. The last one is even documented as being "video.brightness_switch_enabled" in the main kernel-parameters.txt as well as separately: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n39 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n7152 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/firmware-guide/acpi/video_extension.rst#n118 https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon#Brightness_control If you rename this module then peoples config will break for a whole lot of users. So lets not do that and lets rename the new module which is causing the conflict in the first place instead. Regards, Hans