Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3586837imu; Mon, 14 Jan 2019 05:44:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN6g6be9/xBUpkhCm0uPk6qXtQ9pzWpMElirbliMY8RKSaZVxTS1ArNfiXE9p3A7gyEM4bIU X-Received: by 2002:a17:902:6b83:: with SMTP id p3mr25285321plk.118.1547473452920; Mon, 14 Jan 2019 05:44:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547473452; cv=none; d=google.com; s=arc-20160816; b=gwIIKa2UM9PpuBhsHjgszHhXYSnRVrgZwYwgc083zBLyZOB9LeVzZlAmVIHDGdBlzF k0qto2+U+PWTMcPhSOxucP/ToMckyVQpOv0LO7b/POaghcWFxN/Lu8rx5vNzNWUCxSX6 0j50b9hHpgYFqVvpndxERhcOywrC18h/0cHkC3eHoj0bPP9AxFBC9VoActUGNczLT0Yp J+/VYNXnOP8qf9eufyOvTmDr9ej8bRmdqk4Lxv0E9ml6Oh7ktYmqX+IefvAczraaH0Rx rWg0GV3Wq/qxgUdES5Av1FV8fwyOaugHCiPQVOaYohyJMkw+KdCClqujmKhyd3jpu3Nc WwOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=q/Jei6rT+ZDcSWlH6Zqw6iD1MFlpHsinovfIpAYGoQs=; b=W+crYMHF081MvhcLwDlAOR1AxWSAkpbUxRmn20wf08ODQHeufK3x3XLtKOtb/aQfxy SwG5rgV1BW+9MsUNSaiuUJYWhDRypmbYwcD3zrn8QG7yBJaWNecYZUKNjkKJPXkfzVLs hbunH5zURJnPlJstPqzLuv2ulCjhKkSw33Ht+0H61zt+gVczpSMkeJN8xmFAhoChGddd g+JD3eEYtUu0ae62XghE1+axhsbsEXFP7OZGFyIyC88iQ71JhWZ41L86Qdv/qC9FVG0I PcZP6LYdR3fb2B5wJprFjSGbFI5eFpq/JkEKqH9E7N3vIeh01IS13/lKFwX6eDPvduBN lY/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UCip00fT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l66si364632pga.151.2019.01.14.05.43.56; Mon, 14 Jan 2019 05:44:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=UCip00fT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726610AbfANNmu (ORCPT + 99 others); Mon, 14 Jan 2019 08:42:50 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:45152 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726534AbfANNmt (ORCPT ); Mon, 14 Jan 2019 08:42:49 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x0EDgdgx025608; Mon, 14 Jan 2019 07:42:39 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1547473359; bh=q/Jei6rT+ZDcSWlH6Zqw6iD1MFlpHsinovfIpAYGoQs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=UCip00fTzEWlm95TlA/2uEtzUp+eS5JwuUWk35GDjGVgIx0Og3JWqdufk4phXUbd/ kLDWrASV564skGEXHbtPETeSVHb2y2euzVifz1U7kp4MNsnvQqXtUUfn8kpsT9g2/T upz35hur4DQJ2d1QPO0exbbhA155jm0VNyyy8ER0= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x0EDgd6Y113086 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 14 Jan 2019 07:42:39 -0600 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Mon, 14 Jan 2019 07:42:38 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Mon, 14 Jan 2019 07:42:38 -0600 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id x0EDgZ2N028966; Mon, 14 Jan 2019 07:42:35 -0600 Subject: Re: [PATCH 1/1] phy: fix build breakage: add PHY_MODE_SATA To: Miquel Raynal , Olof Johansson CC: Jens Axboe , , Jisheng Zhang , Rob Herring , LKML , John Hubbard , Grzegorz Jaszczyk , Hans de Goede , Linus Torvalds References: <20190113012909.11986-1-jhubbard@nvidia.com> <20190113012909.11986-2-jhubbard@nvidia.com> <9518922c-ab17-ba06-0670-f0202b436a8c@kernel.dk> <20190114095745.04027f37@xps13> From: Kishon Vijay Abraham I Message-ID: Date: Mon, 14 Jan 2019 19:12:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20190114095745.04027f37@xps13> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/01/19 2:27 PM, Miquel Raynal wrote: > Hi Olof, > > Olof Johansson wrote on Sat, 12 Jan 2019 19:57:12 > -0800: > >> On Sat, Jan 12, 2019 at 6:05 PM Jens Axboe wrote: >>> >>> On 1/12/19 6:29 PM, john.hubbard@gmail.com wrote: >>>> From: John Hubbard >>>> >>>> Commit 49e54187ae0b ("ata: libahci_platform: comply to PHY framework") uses >>>> the PHY_MODE_SATA, but that enum had not yet been added. This caused a >>>> build failure for me, with today's linux.git. >>>> >>>> Also, there is a potentially conflicting (mis-named) PHY_MODE_SATA, hiding >>>> in the Marvell Berlin SATA PHY driver. >>>> >>>> Fix the build by: >>>> >>>> 1) Renaming Marvell's defined value to a more scoped name, >>>> in order to avoid any potential conflicts: PHY_BERLIN_MODE_SATA. >>>> >>>> 2) Adding the missing enum, which was going to be added anyway as part >>>> of [1]. >>>> >>>> [1] https://lkml.kernel.org/r/20190108163124.6409-3-miquel.raynal@bootlin.com >>>> >>>> Fixes: 49e54187ae0b ("ata: libahci_platform: comply to PHY framework") >>> >>> Linus, this is probably a better option in terms of what should go in to >>> fix that commit. >> >> I'm OK with this, but it does beg the question how the patch was >> tested before submitting, if it didn't build. >> >> Is there functional breakage behind it? I currently lack online >> hardware to test myself, unfortunately. > > This is my mistake, I forgot to tell Jens about this dependency, > I am very sorry about that. As reported by John, this patch depends on > the addition of PHY_MODE_SATA in the PHY type enumeration. This series > ([1]) has been delayed and I should have warned Jens about it. I'm fine > with the above fix though. > > Kishon, will you be able to base phy-next on top of this fix? It will > be needed for the addition of the COMPHY driver. Sure, I'll include this in my tree. Thanks Kishon