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=-2.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT 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 1FA4EC072B5 for ; Fri, 24 May 2019 07:37:33 +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 8DB4C217F9 for ; Fri, 24 May 2019 07:37:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8DB4C217F9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=iki.fi 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 459J9k4jszzDqjQ for ; Fri, 24 May 2019 17:37:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=neutral (mailfrom) smtp.mailfrom=iki.fi (client-ip=62.142.5.110; helo=emh04.mail.saunalahti.fi; envelope-from=aaro.koskinen@iki.fi; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=fail (p=none dis=none) header.from=iki.fi Received: from emh04.mail.saunalahti.fi (emh04.mail.saunalahti.fi [62.142.5.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 459J8T294LzDqZF for ; Fri, 24 May 2019 17:36:21 +1000 (AEST) Received: from darkstar.musicnaut.iki.fi (85-76-86-221-nat.elisa-mobile.fi [85.76.86.221]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id E5CB1300C5; Fri, 24 May 2019 10:36:15 +0300 (EEST) Date: Fri, 24 May 2019 10:36:15 +0300 From: Aaro Koskinen To: Christophe Leroy Subject: Re: [BISECTED] kexec regression on PowerBook G4 Message-ID: <20190524073615.GD5234@darkstar.musicnaut.iki.fi> References: <20190522201310.GB456@darkstar.musicnaut.iki.fi> <20190522223335.Horde.JIF8kbX8AwL8wErArEvEcg1@messagerie.si.c-s.fr> <20190522211724.GC456@darkstar.musicnaut.iki.fi> <20190523172717.GA5234@darkstar.musicnaut.iki.fi> <20190523222344.GC5234@darkstar.musicnaut.iki.fi> <334b0aca-3731-5754-bd26-af147991345d@c-s.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) 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: , Cc: linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Hi, On Fri, May 24, 2019 at 08:08:36AM +0200, Christophe Leroy wrote: > >Le 24/05/2019 à 00:23, Aaro Koskinen a écrit : > >>Unfortunately still no luck... The crash is pretty much the same with > >>both > >>changes. > > > >Right. In fact change_page_attr() does nothing because this part of RAM is > >mapped by DBATs so v_block_mapped() returns not NULL. > > > >So, we have to set an IBAT for this area. I'll try and send you a new > >patch for that before noon (CET). > > > > patch sent out. In the patch I have also added a printk to print the buffer > address, so if the problem still occurs, we'll know if the problem is really > at the address of the buffer or if we are wrong from the beginning. Reboot code buffer at ef0c3000 Bye! BUG: Unable to handle kernel instruction fetch Faulting instruction address: 0xef0c3000 A.