Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1434850pxx; Fri, 30 Oct 2020 09:53:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwAJn0XfqaORWsUKxS3gNCy9XCf010R3NuTlf7SegeGxBlCdkZyKaUwETdV5VSMJ52lOszv X-Received: by 2002:a17:907:4186:: with SMTP id mz6mr2320522ejb.175.1604076782312; Fri, 30 Oct 2020 09:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604076782; cv=none; d=google.com; s=arc-20160816; b=WKy7vK0SMRbxr5C9YjtYrHFGXfQVAu1NBrw04mJVGIwoepwggN6uDJjxxTwaJzofEU HJbo7w5fLlLvcogrFVfZUUElDTrCPWtznDmWjRbkNPuNKlxP38CJn3+cjdDigsdC3jVr BLwombXDLeZrQVQT5q8HOF1DVtEf5mN5kKD7H9KRxOG7Hqfd3y1LBGK0v70TaOREKa0T g8jFK2xrwpvTdlziXLl1wotWBcF196keUe0zxseLfKawIRKu8p52MLTLj8uVzyob9z1H ECVDTWdpNpMHp062WDN3vFvppcx/Q5wOUmEG4lTog7/2Be8EZb1LjOGO0KfzV7O+cDjv PbGw== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=npthVPE3qzLwkJaUGMFkSia43G2wwvJnudVQ19YhaNg=; b=qmf392lT+IrcWM+UNkf/ScFb2mStDvIS/QvZgm4v0yCBgwqqxDfOg4TZBUkdT6IFzm RRC3bDPDPu8/5gd4eslotZksliWpW7hrkrkbDsc+MAPO7qpJ30U2Dl28L41JXHESm+WO SQ4vk4d8Y80Lax0BMY7CzfiNjiXhVR/rPFzBI7uOuL8SQj/BaF7LTxWfSTdjZVOJLFvp TYDeLG3buDxmweFyg7b4sUKeABT+lnR4E7m8KO78MKj6t/GnzLpM1feN5c1snZ3xOskL 1pWkhSYJPTQDpQhAT55170KKrZ5xfDH0zK5CqV62XGBOpuPd4KSbkM7HcUWdr1DqHgj7 zZMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cSMRkTjL; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r26si5090943ejb.125.2020.10.30.09.52.39; Fri, 30 Oct 2020 09:53:02 -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=@kernel.org header.s=default header.b=cSMRkTjL; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727260AbgJ3QvK (ORCPT + 99 others); Fri, 30 Oct 2020 12:51:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:59678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725808AbgJ3QvJ (ORCPT ); Fri, 30 Oct 2020 12:51:09 -0400 Received: from kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net (unknown [163.114.132.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5E03D20725; Fri, 30 Oct 2020 16:51:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604076669; bh=2yuS3dPoBINhat1fzUGcPGhNP/ehJNmVIZDPEmcvgH8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=cSMRkTjLBABZ/BOpIqeJA8KfpzG2hpnc2UCNTYVdm2jUbO9IsNkpP3n++pCxCiDBt 13NSg8ToSZnt5eEtxTzm0WGGagP0+Tziainba3JUxXEVhv1HcNBJwRHb0vGPGXzNdG a9tZKo7/lVxYbasbsSY+FoFWr8pz10wlFSh/Ij28= Date: Fri, 30 Oct 2020 09:51:07 -0700 From: Jakub Kicinski To: Wong Vee Khee Cc: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Maxime Coquelin , netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ong Boon Leong , Voon Wei Feng Subject: Re: [PATCH net 1/1] stmmac: intel: Fix kernel panic on pci probe Message-ID: <20201030095107.3cc31f3b@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20201029093228.1741-1-vee.khee.wong@intel.com> References: <20201029093228.1741-1-vee.khee.wong@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 29 Oct 2020 17:32:28 +0800 Wong Vee Khee wrote: > The commit "stmmac: intel: Adding ref clock 1us tic for LPI cntr" > introduced a regression which leads to the kernel panic duing loading > of the dwmac_intel module. > > Move the code block after pci resources is obtained. > > Fixes: b4c5f83ae3f3 ("stmmac: intel: Adding ref clock 1us tic for LPI cntr") > Cc: Voon Weifeng > Signed-off-by: Wong Vee Khee Applied, thanks!