Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2181540lqt; Mon, 22 Apr 2024 04:06:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFBX27X0qv7wSvP2ytgU5IQn4R6pVV4dDuGhhRTmxN5m1o77ryZgYIKaMm7vW5sdXo5EBvBci4d3OSK20Hit7INaBXb3JDUfut30ZBtQ== X-Google-Smtp-Source: AGHT+IFceGRHoWXHSkf8rg/rMPVUEsbtTrcnq12Y7fWfPUCTQQeg/OFlyhYu3qBBhS1FMDOXRRv8 X-Received: by 2002:a05:6a20:da8e:b0:1a9:9c31:be8e with SMTP id iy14-20020a056a20da8e00b001a99c31be8emr10224566pzb.20.1713783990905; Mon, 22 Apr 2024 04:06:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713783990; cv=pass; d=google.com; s=arc-20160816; b=BzGTecmWsszgDRl3SBtmpDq3W/uvK3BLDQzYRvFJn2bWn/EG9DCb1clVtT7EwXq403 IYBNtm2f8RwqXn4oiBRN4KjZMq19fozZ/DkR0LpESBlCHnPFgJY85kUbckJw/dsx0XVa /1Qb3OKOcD8m/CbUXgOrUDtkqBuTd2K1ZFQnHwETt9EGzvurEHzrOUohBYPxMb8ybc5W q+3PrK5tqgUX20BDkCwrkjwNABEbcpml1RWpfOi1U9L+gsUcJ/chfwlWEsJ0haDt9YZS LEmYy63hexGaeNxwQDtgR2Dgmx+ir3yegHg0h19w43yWu1rvvDQ5yIg24CPeyw05lXhf aLRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=organization:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=CVG2VkWEulE0H0ox2Sy6fzo2sUhEWWOwAsMoYccw4kc=; fh=U9RIzLvADo9EuNSduCNo6i0l4HLxuI53vohh6L2ilsQ=; b=PM+KgJ0pQdeNssrj++QVbSukkDHsesH8YjN/yPY0Mmueyr1E/uN+Ns2CpmrJoxo0BR BJJ1C8yR54MRSBQ/4je5/wzTo8b3DtIBkYWFcc2ayWjcHjXgtCXD/KxlQ1SXphVF6vl6 djKiq2fVn22pVh9OE39JCQ+QoXzbvAyj9y2GFLayQYn0hIlUL6yJnuhA1bzn9wSEZo0T fH1bJupVGx/761R+lZmYc3JUzVRUG7cpXj729KXgTab4bTrqyexuOszGk9FxSntxtiSK RiePL/IU9Y2LiC5/gA9w9OIYzHEHDY2fnM6HLiXb0v2NBjDnzca9Hmp5NHwKz7cZY92A vRSQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SIAvEHjV; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-153260-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id r17-20020a63ce51000000b005f3c84f05easi7417524pgi.133.2024.04.22.04.06.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 04:06:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153260-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=@intel.com header.s=Intel header.b=SIAvEHjV; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-153260-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153260-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.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 8680C285173 for ; Mon, 22 Apr 2024 11:06:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BED9B146588; Mon, 22 Apr 2024 11:06:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SIAvEHjV" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 13EEE145FF9; Mon, 22 Apr 2024 11:06:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783983; cv=none; b=ivQ+fqHB/P8UbUYjZgY+4UoKQ6hIfUF/6mpm/yjQzLUMy5WgFdzbqyzebxE4eWmxSYfASQfCGjokaVIAcUREqvhQaj6Kp7C1guwDAPc5ts2Hmoe8Q/wBXujyx/0zmeeNefio8dhfZaVWWtikm4kJCxoXCExacSW/qnifYlSdo3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783983; c=relaxed/simple; bh=h2UNfTlm5sz5kec3CRBEuMh4kmLjtFE2D+wbJYs4t2Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L+hibmK3BnvsnOF4SEgU/Qqw+rgp6DycAOyTmSH6lbxoteu3b030jIa+r3g16gLGYoBojf2Tt9RrShtwcH+qrJ7LH6EGSGhZiboEwTZci1NRA7B9UFgw2aqllY+cGlRyZ9m1gXmOvHkoKuctcBl6E9hcFS68MNWXrgHSgj6FJ4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SIAvEHjV; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713783981; x=1745319981; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=h2UNfTlm5sz5kec3CRBEuMh4kmLjtFE2D+wbJYs4t2Y=; b=SIAvEHjV1fqXf7aXZX9egc024Uxsk90X8LmiTj1q6aqNTXjMBDBRXvXL +xsPxq+U+yfzAIkYvTA0c76UbgXsMxXOq9aKl+1zSADL7i1pnLdtDFLX6 s7YEy84uBsO5C9+euRwwKI5xbeVyTUgsko5lDAGS8KrEkbc13w1xsqGlI 77pEdxG7hjEYUBfMNYwqQ6M4jZDeOnzPgr6bEcViYSUmgQKh4YjZ76hX8 snIH9dgXxXvfMU51s3fETyw+/lh+nc52jsHuJOHIAnILBb8+eTVRISRKH Zvpv/ATYq5oMI1ldbROMdREP67Y6nzCepqDLs0affj03YBQi2eBHANCm2 w==; X-CSE-ConnectionGUID: GeAHKSQ2RkyHtnrnCxQjdw== X-CSE-MsgGUID: Yml9/MmsT3KlnZitnIXL3Q== X-IronPort-AV: E=McAfee;i="6600,9927,11051"; a="9232163" X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="9232163" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2024 04:06:21 -0700 X-CSE-ConnectionGUID: rWc1Z1CoQOat4ZePb6tnVw== X-CSE-MsgGUID: Ff1bHfyQS9qZ21ybVbQkHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,220,1708416000"; d="scan'208";a="55193730" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa001.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2024 04:06:19 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1ryrV2-00000001d0h-2TIL; Mon, 22 Apr 2024 14:06:16 +0300 Date: Mon, 22 Apr 2024 14:06:16 +0300 From: Andy Shevchenko To: Jonathan Cameron Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lars-Peter Clausen , Martijn Braam Subject: Re: [PATCH v1 1/1] iio: light: stk3310: Drop most likely fake ACPI ID Message-ID: References: <20240415141852.853490-1-andriy.shevchenko@linux.intel.com> <20240420122633.79b4185b@jic23-huawei> 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 In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Mon, Apr 22, 2024 at 02:04:23PM +0300, Andy Shevchenko wrote: > On Sat, Apr 20, 2024 at 12:26:33PM +0100, Jonathan Cameron wrote: > > On Mon, 15 Apr 2024 17:18:52 +0300 > > Andy Shevchenko wrote: > > > > > The commit in question does not proove that ACPI ID exists. > > > Quite likely it was a cargo cult addition while doint that > > > for DT-based enumeration. Drop most likely fake ACPI ID. > > > > > > Googling for STK3335 gives no useful results in regard to DSDT. > > > > > > Fixes: 677f16813a92 ("iio: light: stk3310: Add support for stk3335") > > > Signed-off-by: Andy Shevchenko > > Hi Andy, > > > > It's been there quite a while (5 years) so whilst I agree it should > > never have gone in without a known DSDT in the wild, I'm not sure we > > should remove it at this point. > > > > Definitely not with a fixes tag as I don't want to see this picked up > > for stable and breaking some old consumer device we don't know about. > > > > If there is a good maintenance reason to scrap these I'm in favour, > > but if it's just tidying up errors from the past that have no > > real impact then I'm not so sure. > > > > Maybe we need a 'deprecated' marking for acpi ids that always prints > > a message telling people not to make them up. Mind you what would that > > do beyond make us feel better? > > I prefer to find the actual users by removing these IDs. It's the best approach > to limiting the presence of wrong ID in time and at the same time harvesting > the actual (ab)users of it. Warning or other "soft" approaches makes rottening > just longer and _increases_ the chance of mis-use/abuse of these fake IDs. > > I understand your position as a maintainer who can be blamed by mere user in > case we are (I am) mistaken, but I consider it the least harm than by > continuing "supporting" them. Feel free to NAK this patch, but for the record > I won't like this :-) > > TL;DR: I do not buy 5 / 10 / etc years in the Linux kernel as an argument, > sorry. P.S> What I may agree on is to drop Fixes tag. -- With Best Regards, Andy Shevchenko