Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp108909lqh; Fri, 3 May 2024 15:13:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaSUULMEnNu1MGoHkUzpzRWPAARH3Zquhtnc/t8xy8Pu7Aut7UvDcUHgzNZVQtQS1mmQIUEudSseyY2hqNvma2FsZKy4W1lGkJairXww== X-Google-Smtp-Source: AGHT+IFkyipRnXskWl8mcMk8piiDGmaq0kv6B9cE2vThGvu9C60/QqUzF1q5wXYFVlqfmKMxHHtj X-Received: by 2002:ac8:5d4a:0:b0:43a:bd5b:3ff1 with SMTP id g10-20020ac85d4a000000b0043abd5b3ff1mr4520232qtx.63.1714774385615; Fri, 03 May 2024 15:13:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714774385; cv=pass; d=google.com; s=arc-20160816; b=MKH1bhAZTcNacdZIKdwBJqvlYc6xlEUzJ4YLVat5kABhAG9HdE1u+FukxS6EkLr2Qf OZWvRm3reO87DN7mRLrL/oggbEUUAFmMMdcDNLxmzou50lAkIM0tjy+weFeiMsbuBH8F 4dK0FHoDocjqnK/VLedI+DhLPRG+saHS1/gtFEhWX/QITKFdMajsNX2lAOn5sSRkY57X /UnP4Tf8GhFAjMwijrfUSrXI3WeMB7wO2RW7NZWlHty2lJDJ22LFUslW8ztiNBZxg9nX ijH5FlhoxkR+1cOiYXILNKFkBhIX9BFPrnqPvOlmpO6vBNJZSRc7bGJvmXvAa745iXOo G+sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=taao4LktYkw+f6eI665yK3020jJJ3LJFXvPoNFBKS5Y=; fh=MffEIHfFaNGkVRCCdDH+kMrbfMzBtCX+AEnwyhFxm0s=; b=mdIm5dAKRk7ZA3ynJIKSVZf4eVakOfgbZb/WH+Dt1EaihBjUcPg5L6jqXNk9m3d5Qs fGUgioXx9kOYic9dXPRK1jED37hJKrzcLYExoAZPxE94xvEN0ewBR3dQnRQzWoIxXaB2 tSjJ1tvgg4pDx0uxhSoJz4/ijqn4L33IBdKB8jqvRDReaimdr3y1qV8FhRx2UstXlNeC XZosjRFmnvhMGRdvC4FBGSU4LvQXeXmqipFVXiN0xA7TOVk3atjkArmz0mfeaY7fcbLe gIM0Xx9/GiZgKTaU+jXzuUqC+H3c3CFWolcA29B59bduR9r9JvTOAsjjy1FcXQRrDDwE dtAg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ILhKzxu7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id hb15-20020a05622a2b4f00b0043ab16e130asi3866402qtb.692.2024.05.03.15.13.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 15:13:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ILhKzxu7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-168334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168334-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 51BE71C244D9 for ; Fri, 3 May 2024 22:13:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2E4495B5D3; Fri, 3 May 2024 22:12:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ILhKzxu7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 52E38364AC; Fri, 3 May 2024 22:12:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714774377; cv=none; b=mrgHFSKP2q+Az/vHi6rKjobdFhDIj6RS94TbhFh24a82wIr7Ue5RNkWkVXAj/vXSqtR2BGeO1ps8d2fbeQXK9EdZmSHKehoeu86dxuNbkIVF9l3vZmyv5r7+sZBz+Vxgyp51vGlt+Pcnd3LKjFEQQ4R2j+I+sfkkXPqW2+qiSYI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714774377; c=relaxed/simple; bh=YkP2K6jpxNEQf4lXAwpJOOcHT6UPDCIc3FFQpwklXDg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=GX3XvNhbofPl/AaxxHUIygHfZYwgwr474zVRLHXHHrcefqTFQ+OOfWFwQqDtOgglAZ6FwA8IxBGR43JEOWOMkf2VGULpm1CR1WmTU/tN7HV6ihHsk2332z92/hC70aU/4TmcfFt3ZhZFp6EpTtBjtiUsbpiO/kV4NeyL22bneTE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ILhKzxu7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A857EC116B1; Fri, 3 May 2024 22:12:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714774376; bh=YkP2K6jpxNEQf4lXAwpJOOcHT6UPDCIc3FFQpwklXDg=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ILhKzxu7oUwgRZMSb5FgKI+skcjYd8K+c+U9i5uDdl07ql6s35NefExj3VJiRt0M+ nZDQnRX8dY9Q6Q+YU5yyzBBiFAkA0Y2j9PsQwj6nKx+RQGH7fzGIS4rwA7cvIndaT6 fV89eLej03eDgVvxwWmnWkqsXMiReHz7+7j9ExwfuaC2g1VlTsUGzpt04Uf472L3fJ sqwrkSMWan41jm/wREC5pG8br2+kbd2Qx7DPA0UrK20MrQ9vW8dT4iWC7q036iDVl+ 5HJq/nA+ogSZzOc9a9x+gurcR9NosBuL12k7FelkACuMKbVElrkQJ8EY8ASSVDP4oy vNmdUKkWcndZQ== Date: Fri, 3 May 2024 17:12:54 -0500 From: Bjorn Helgaas To: Kunwu Chan Cc: bhelgaas@google.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Andres Salomon Subject: Re: [PATCH] x86: Code cleanup for ehci_hdr Message-ID: <20240503221254.GA1607085@bhelgaas> 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: <20240125030623.513902-1-chentao@kylinos.cn> [+cc Andres, author of 3ef0e1f8cad0] On Thu, Jan 25, 2024 at 11:06:23AM +0800, Kunwu Chan wrote: > This part was commented from commit 3ef0e1f8cad0 > ("x86: olpc: add One Laptop Per Child architecture support") > in about 16 years before. > > If there are no plans to enable this part code in the future, > we can remove this dead code. > > Signed-off-by: Kunwu Chan Applied to pci/misc for v6.10, thanks. > --- > arch/x86/pci/olpc.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/x86/pci/olpc.c b/arch/x86/pci/olpc.c > index f3aab76e357a..4b18c6404363 100644 > --- a/arch/x86/pci/olpc.c > +++ b/arch/x86/pci/olpc.c > @@ -154,9 +154,6 @@ static const uint32_t ehci_hdr[] = { /* dev f function 4 - devfn = 7d */ > 0x0, 0x40, 0x0, 0x40a, /* CapPtr INT-D, IRQA */ > 0xc8020001, 0x0, 0x0, 0x0, /* Capabilities - 40 is R/O, 44 is > mask 8103 (power control) */ > -#if 0 > - 0x1, 0x40080000, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */ > -#endif > 0x01000001, 0x0, 0x0, 0x0, /* EECP - see EHCI spec section 2.1.7 */ > 0x2020, 0x0, 0x0, 0x0, /* (EHCI page 8) 60 SBRN (R/O), > 61 FLADJ (R/W), PORTWAKECAP */ > -- > 2.39.2 >