From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 672DEC43381 for ; Fri, 15 Feb 2019 11:29:35 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BAA592177B for ; Fri, 15 Feb 2019 11:29:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BAA592177B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=emerson.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4419yh6956zDqhF for ; Fri, 15 Feb 2019 22:29:32 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4419wt6D5LzDqbW for ; Fri, 15 Feb 2019 22:27:58 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=emerson.com Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4419wt4wMgz8sxp for ; Fri, 15 Feb 2019 22:27:58 +1100 (AEDT) Received: by ozlabs.org (Postfix) id 4419wt4B1Kz9s7h; Fri, 15 Feb 2019 22:27:58 +1100 (AEDT) Authentication-Results: ozlabs.org; spf=softfail (mailfrom) smtp.mailfrom=emerson.com (client-ip=162.253.133.57; helo=n7.nabble.com; envelope-from=sachin.gosavi@emerson.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=emerson.com Received: from n7.nabble.com (n7.nabble.com [162.253.133.57]) by ozlabs.org (Postfix) with ESMTP id 4419wt0GQ8z9s7T for ; Fri, 15 Feb 2019 22:27:56 +1100 (AEDT) Received: from n7.nabble.com (localhost [127.0.0.1]) by n7.nabble.com (Postfix) with ESMTP id D6DE59C0F9EC for ; Fri, 15 Feb 2019 04:27:53 -0700 (MST) Date: Fri, 15 Feb 2019 04:27:53 -0700 (MST) From: sgosavi1 To: linuxppc-dev@ozlabs.org Message-ID: <1550230073842-0.post@n7.nabble.com> In-Reply-To: <20190214191443.5f64bb56@kitsune.suse.cz> References: <1550055691105-0.post@n7.nabble.com> <7c695098-8b2b-5af0-c961-f25457459f8e@c-s.fr> <1550060685213-0.post@n7.nabble.com> <558c15bc-75d0-d02a-8a78-8155838b8809@c-s.fr> <1550062386389-0.post@n7.nabble.com> <173559f3-7b2b-735b-acc7-66ccbdc7905d@c-s.fr> <1550132231035-0.post@n7.nabble.com> <20190214191443.5f64bb56@kitsune.suse.cz> Subject: Re: Kernel panic when loading the IDE controller driver MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi, > Hopefully there are examples of passing these values through ACPI. Are you suggesting here to look at the ide-acpi.c sourc file available as part of the driver code? In my original post I mentioned that I have modified the ide-generic.c source file to use the IO port addresses and IRQ number that we used in the older kernel. Also, added code in the kernel under arch/PowerPC/mm/init_32.c source to configure the addresses required by the driver as IO ports. But the error I am getting still continues to suggest that probably the required address range is still setup by the kernel as IO ports. How can we configure a set of virtual address as IO ports in the kernel version 4.15.13? Sachin -- Sent from: http://linuxppc.10917.n7.nabble.com/linuxppc-dev-f3.html