Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp108296imm; Fri, 25 May 2018 17:22:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrVji04/w6nESY0Y9rFBvfnRCnpn4uE3O20CGe539aw+Puu7Ii9JUYnKD0+9ro1f5E4ayA+ X-Received: by 2002:a17:902:d886:: with SMTP id b6-v6mr4584203plz.361.1527294161704; Fri, 25 May 2018 17:22:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527294161; cv=none; d=google.com; s=arc-20160816; b=pFJy5Cx/h11Z4Ex3vAZ2fosjUV3NcdsvfNQqzPg+FO19E8XXr9Kt58Yjpl1kTTJ4wV SdQs1xvHBvFnkX9XkVmt7G1wJ75552qbHfH2xxGjn/InjXFsLnDPi3joig5rNhLqy1n4 BXa65yqyr/CRg3jhDu1e9Ko3HXkqxD2nDIE8Dyz02FmwtgdjJ2ppaYdyYsCUw8R6AtoA Va2yr2cySmM5U+PercriVjTQBW/eoIrWtDyXNBm2BAD2648oXOvwTQdLVmGCF+zxILyl z4c+wsZ+aw/ZyQZwj8Axf+4r4aPkp7IVCRjGy/xTR+1GSrMwDyoLTFvVdFowXZCE3WjI +oPQ== 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:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=P2oaJ5lmBFEcjsKbViVCteAZkf8cK+upUtWitSVehA4=; b=nsIZxNoAYa5OZa6ElM1fX17ubPwQSUVcbj6JMHmJfzyPsXgFpDXN2cWSwkQVrqilu5 NqZDdi9CD8aKCi9/DA9VznhjuH9msKOkIcrbFeLBPAAe7XDg5U6XvLApDSyq0cg1ZiuE jQGexnhe2nU45wsf6vLLnc0+R8xzKlhzWsIm6owauz4PoUJ8QPxypjGUdZsD1coYrVAd hhezb8jQN57ALCC533mEsRJMsPCapPOWjxBfbcHAsww1BCzKFuTkjtlNrASnYZSxkpxo wiiS0JCI/GYWif6z3H3H2PYz+7kft+cRQWeM561vRIg1bPLKvj/x8ACtmjTQk7TXgbGr cGNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=nsbPiP6z; dkim=pass header.i=@codeaurora.org header.s=default header.b=LohlnxOB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3-v6si19287976pgc.56.2018.05.25.17.22.26; Fri, 25 May 2018 17:22:41 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=nsbPiP6z; dkim=pass header.i=@codeaurora.org header.s=default header.b=LohlnxOB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030857AbeEZAWO (ORCPT + 99 others); Fri, 25 May 2018 20:22:14 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42332 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968411AbeEZAWM (ORCPT ); Fri, 25 May 2018 20:22:12 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 527C960881; Sat, 26 May 2018 00:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527294132; bh=tDBm+x2L504TZUPdMQw19NUUCssLfIewGXo90xG0uwc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=nsbPiP6zK1twxKewG3HMtlyViPjrhgz/JfVRbmu9jBO1HJBDXnlpDDbnwxCROYypB cxYD56qIST4/qdYiQzfwamgZM3PFtoUo+smhXUAXHrfuXSf9VyaeyPOGgHZEILkvN9 mkfqVuHv8cF4NuKSqUZ5tEGQN4LRDTWRnvhHZuZs= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.1.125] (cpe-24-28-70-126.austin.res.rr.com [24.28.70.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: timur@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id EBAF460290; Sat, 26 May 2018 00:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527294131; bh=tDBm+x2L504TZUPdMQw19NUUCssLfIewGXo90xG0uwc=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=LohlnxOBE2vLGvjB7AGH3egqN8cgtKndVHSEj4JszHjPWGNNqnK27BRrnYilA6yXz fDCFq3vOHV0kdNWup1ft2DGT8jt8nfaT3bPsqGP0PpizzRdT2wsXmyDLT4qmQaiY1T omoTR2pAXs62IpkNofuyklY7UcALPyzx6In1tFLY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org EBAF460290 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=timur@codeaurora.org Subject: Re: [PATCH, net-next] qcom-emag: hide ACPI specific functions To: Arnd Bergmann , "David S. Miller" Cc: Hemanth Puranik , netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180525213714.2120604-1-arnd@arndb.de> From: Timur Tabi Message-ID: Date: Fri, 25 May 2018 19:22:09 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180525213714.2120604-1-arnd@arndb.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/25/18 4:37 PM, Arnd Bergmann wrote: > +#ifdef CONFIG_ACPI > static int emac_sgmii_irq_clear(struct emac_adapter *adpt, u8 irq_bits) > { > struct emac_sgmii *phy = &adpt->phy; > @@ -288,6 +289,7 @@ static struct sgmii_ops qdf2400_ops = { > .link_change = emac_sgmii_common_link_change, > .reset = emac_sgmii_common_reset, > }; > +#endif This seems wrong. The SGMII interrupt handler should still be viable on a device-tree system. There is a DT compatibility entry for the qdf2432. Looks like that most recent patch on net-next broke DT support, when it removed these lines: - phy->open = emac_sgmii_open; - phy->close = emac_sgmii_close; - phy->link_up = emac_sgmii_link_up; - phy->link_down = emac_sgmii_link_down; I'll take it look at it next week when I'm back in the office. -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.