Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbbKWLjU (ORCPT ); Mon, 23 Nov 2015 06:39:20 -0500 Received: from pandora.arm.linux.org.uk ([78.32.30.218]:49632 "EHLO pandora.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbbKWLjT (ORCPT ); Mon, 23 Nov 2015 06:39:19 -0500 Date: Mon, 23 Nov 2015 11:39:02 +0000 From: Russell King - ARM Linux To: Jisheng Zhang Cc: Sekhar Nori , Bjorn Helgaas , linux-pci@vger.kernel.org, Murali Karicheri , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] PCI: keystone: fix crash with deferred probe Message-ID: <20151123113902.GM8644@n2100.arm.linux.org.uk> References: <866b2f1544f9d55fa932aa9f9cb5e7d523a23d05.1448017883.git.nsekhar@ti.com> <20151123192209.38e2c101@xhacker> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151123192209.38e2c101@xhacker> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 21 On Mon, Nov 23, 2015 at 07:22:09PM +0800, Jisheng Zhang wrote: > when trying to add berlin pcie support and came up one patch > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-November/384575.html > > when build testing, I also realized this issue, but keystone relies on > hook_fault_code() which is will be freed after boot, so your patch isn't > completed. hook_fault_code() is intentionally not callable after boot. It's unsafe to try to change the fault handling for a running system. It's even more unsafe to try to remove a fault handler which is located in module code. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/