Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5056995pxj; Wed, 9 Jun 2021 08:12:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkjHS2IhGwuTWKf9xKRO7s4SPBoJDlVzlT55khvmapkRqQcFI5WnmY0b+/h97/OBIeTXuo X-Received: by 2002:a50:eb47:: with SMTP id z7mr31615204edp.68.1623251545895; Wed, 09 Jun 2021 08:12:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623251545; cv=none; d=google.com; s=arc-20160816; b=Fbka0S9l8DQVP1ms2L6BH4jAk+MsXZkNWo7LzYsEZTGtK7C0zsIUQ0E8XBOu5S8hbi Y/+3HRk90gOT2MZ15XDGTgkTNg5D4hPP5olgjZ5GRoZHZ93zHyqaU9fhpIpmaWxsUeJK FnVSjFQJDsBqEXTWRiD3oG9YHUyGWUNi4sVSNMRbrMciCiQjIdx4vMKWIZHaJ8iFNsnF ti5JGK/lj227fadFpknyzBYsypdbU305HWYcaiM9KueSeAXXuLKCu5TrFoacCVltcti+ ZHoXcXXuZU84O7OvOrAo3wg0lfsW6oISGgoH12r/5fyeA+p0jY4LzKCTRLS4nSAneogn lkBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=h+vjUUCU4wSBBhM4Nks/zfyl16+i4xTmkh2sMIqyJqM=; b=fPY3XSuImwYpxLw69LDSPHII7//6eqQXNP+sbEk4sayIpE8P8O9HPDc0zTQMZPc4hj kFKxsgjJAEOFnJtlM3ONQIiYpuGql3knaHXIyiNo6ka0/3hWqpA6iec1vbXCxcbyen98 p2U3VarxejdRAIUfso7hjtFW14i59bvicWBTkiwFKLqHOcgQA+ZqOayfh0vhaJG7Zfyz eBJvniSYy+Rp0ndN8RyAOSN6a6U1V4i2HITxmnd2dwIZgHzEmYaWw52/oe8DCWZeRqMA KamVq9F3q+zwGe/ecSB/QR9Kir6B8mDporbfTpvQx6pgH+oRWkj07dcJP2Yelc/Ki9RK ZSFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=ABHe94Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s6si10649ejs.567.2021.06.09.08.12.01; Wed, 09 Jun 2021 08:12:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@svanheule.net header.s=mail1707 header.b=ABHe94Gg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svanheule.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233353AbhFIMoF (ORCPT + 99 others); Wed, 9 Jun 2021 08:44:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbhFIMoE (ORCPT ); Wed, 9 Jun 2021 08:44:04 -0400 Received: from polaris.svanheule.net (polaris.svanheule.net [IPv6:2a00:c98:2060:a004:1::200]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3A5AC061574 for ; Wed, 9 Jun 2021 05:42:09 -0700 (PDT) Received: from [IPv6:2a02:a03f:eafb:ee01:a92e:8520:f692:3284] (unknown [IPv6:2a02:a03f:eafb:ee01:a92e:8520:f692:3284]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id E5A9020B177; Wed, 9 Jun 2021 14:42:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1623242528; 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=h+vjUUCU4wSBBhM4Nks/zfyl16+i4xTmkh2sMIqyJqM=; b=ABHe94Gg9L0fNIE6zDsITYpw8TbuXErA4Swnm+64BIfGAJTAfPWzCqz/J079eTsRcNCs9D YcNi7L4WeQ5QEvcbKkBTeyqreZj8CAfHo/t8HdkTZgEhhW1aJ6Gi+wOFIB12FS91Pkeo+l zT79Ab75KBfdP+MUzruoFOgLkoEJ7bEIhd20Y+nt8gHzrzWwCOGiQl1D24M4PLs9eimQay /fBBlxs7gEGoq3nTj9T8SIEiranCj9+pidWq9JdKxFnVk0tAnaDcE9a2jhDv9d5XOg+OhJ OnoGujyW8OcrElRK4G1xVvDW+B9Dr5SXCfjZ/JKvpzGa9sgQMFEDRp6clpzZcA== Message-ID: Subject: Re: [PATCH 1/2] Revert "regmap: mdio: Add clause-45 support" From: Sander Vanheule To: Mark Brown Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , linux-kernel@vger.kernel.org, Andy Shevchenko , Adrew Lunn Date: Wed, 09 Jun 2021 14:42:06 +0200 In-Reply-To: <20210609122401.GA20286@sirena.org.uk> References: <20210609122401.GA20286@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.4 (3.38.4-1.fc33) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2021-06-09 at 13:24 +0100, Mark Brown wrote: > On Wed, Jun 09, 2021 at 01:46:05PM +0200, Sander Vanheule wrote: > > This reverts commit f083be9db060fbac09123d80bdffb2c001ac0e2b. > > Please submit patches using subject lines reflecting the style for the > subsystem, this makes it easier for people to identify relevant patches. > Look at what existing commits in the area you're changing are doing and > make sure your subject lines visually resemble what they're doing. > There's no need to resubmit to fix this alone. I had grepped the commit log for other reverting patches, which also appear to use this style, but I didn't check the regmap-specific ones. > > There are currently no (planned) regmap users for C45 register access. > > Remove support for now, to reduce dead code. > > This then creates a bootstrapping issue for anyone who does need it - I > can't see any way in which this causes problems or gets in the way? If you would rather keep this, I should modify the other patch (regmap: mdio: Reject invalid clause-22 addresses) to also cover C45 addresses. Furthermore, there's an issue with a pointer const-ness in __regmap_init_mdio that needs to be fixed if this code is staying. I'll submit a v2 that fixes __regmap_init_mdio, and also applies the address checks to C45 access. Best, Sander