linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Phileas Fogg <phileas-fogg@mail.ru>
To: Phileas Fogg <phileas-fogg@mail.ru>
Cc: linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: PS3: Strange issue with kexec and FreeBSD loader
Date: Wed, 20 Feb 2013 21:43:04 +0100	[thread overview]
Message-ID: <51253558.1070407@mail.ru> (raw)
In-Reply-To: <5123D864.4060503@mail.ru>

Phileas Fogg wrote:
> Phileas Fogg wrote:
>> I could finally find the commit which broke FreeBSD booting in linux-stable.git
>> repository.
>> The Linux 3.4-rc1 seems to have this problem already.
>>
>> --------------
>> commit 5375871d432ae9fc581014ac117b96aaee3cd0c7
>> Merge: b57cb72 dfbc2d7
>> Author: Linus Torvalds <torvalds@linux-foundation.org>
>> Date:   Wed Mar 21 18:55:10 2012 -0700
>>
>>      Merge branch 'next' of
>> git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
>>
>>      Pull powerpc merge from Benjamin Herrenschmidt:
>>       "Here's the powerpc batch for this merge window.  It is going to be a
>>        bit more nasty than usual as in touching things outside of
>>        arch/powerpc mostly due to the big iSeriesectomy :-) We finally got
>>        rid of the bugger (legacy iSeries support) which was a PITA to
>>        maintain and that nobody really used anymore.
>>
>>        Here are some of the highlights:
>>
>>         - Legacy iSeries is gone.  Thanks Stephen ! There's still some bits
>>           and pieces remaining if you do a grep -ir series arch/powerpc but
>>           they are harmless and will be removed in the next few weeks
>>           hopefully.
>>
>>         - The 'fadump' functionality (Firmware Assisted Dump) replaces the
>>           previous (equivalent) "pHyp assisted dump"...  it's a rewrite of a
>>           mechanism to get the hypervisor to do crash dumps on pSeries, the
>>           new implementation hopefully being much more reliable.  Thanks
>>           Mahesh Salgaonkar.
>>
>>         - The "EEH" code (pSeries PCI error handling & recovery) got a big
>>           spring cleaning, motivated by the need to be able to implement a
>>           new backend for it on top of some new different type of firwmare.
>>
>>           The work isn't complete yet, but a good chunk of the cleanups is
>>           there.  Note that this adds a field to struct device_node which is
>>           not very nice and which Grant objects to.  I will have a patch soon
>>           that moves that to a powerpc private data structure (hopefully
>>           before rc1) and we'll improve things further later on (hopefully
>>           getting rid of the need for that pointer completely).  Thanks Gavin
>>           Shan.
>>
>>         - I dug into our exception & interrupt handling code to improve the
>>           way we do lazy interrupt handling (and make it work properly with
>>           "edge" triggered interrupt sources), and while at it found & fixed
>>           a wagon of issues in those areas, including adding support for page
>>           fault retry & fatal signals on page faults.
>>
>>         - Your usual random batch of small fixes & updates, including a bunch
>>           of new embedded boards, both Freescale and APM based ones, etc..."
>>
>>      I fixed up some conflicts with the generalized irq-domain changes from
>>      Grant Likely, hopefully correctly.
>>
>>      * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
>> (141 commits)
>>        powerpc/ps3: Do not adjust the wrapper load address
>>        powerpc: Remove the rest of the legacy iSeries include files
>>        powerpc: Remove the remaining CONFIG_PPC_ISERIES pieces
>>        init: Remove CONFIG_PPC_ISERIES
>>        powerpc: Remove FW_FEATURE ISERIES from arch code
>>        tty/hvc_vio: FW_FEATURE_ISERIES is no longer selectable
>>        powerpc/spufs: Fix double unlocks
>>        powerpc/5200: convert mpc5200 to use of_platform_populate()
>>        powerpc/mpc5200: add options to mpc5200_defconfig
>>        powerpc/mpc52xx: add a4m072 board support
>>        powerpc/mpc5200: update mpc5200_defconfig to fit for charon board
>>        Documentation/powerpc/mpc52xx.txt: Checkpatch cleanup
>>        powerpc/44x: Add additional device support for APM821xx SoC and Bluestone
>> board
>>        powerpc/44x: Add support PCI-E for APM821xx SoC and Bluestone board
>>        MAINTAINERS: Update PowerPC 4xx tree
>>        powerpc/44x: The bug fixed support for APM821xx SoC and Bluestone board
>>        powerpc: document the FSL MPIC message register binding
>>        powerpc: add support for MPIC message register API
>>        powerpc/fsl: Added aliased MSIIR register address to MSI node in dts
>>        powerpc/85xx: mpc8548cds - add 36-bit dts
>>        ...
>>
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>
> Reverting this commit fixes the problem with SHA256 checkusm in the purgatory
> code too. I'm trying to find out which commit exactly caused the problem.
>
> regards
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev





I found the single commit which brakes kexec stuff for FreeBSD loader or other 
custom ELF kernels on the PS3 console.


 From 7230c5644188cd9e3fb380cc97dde00c464a3ba7 Mon Sep 17 00:00:00 2001
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Tue, 6 Mar 2012 18:27:59 +1100
Subject: [PATCH] powerpc: Rework lazy-interrupt handling



regards

  reply	other threads:[~2013-02-20 19:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-08 23:10 PS3: Strange issue with kexec and FreeBSD loader Phileas Fogg
2013-02-16 10:53 ` Phileas Fogg
2013-02-16 22:14   ` Phileas Fogg
2013-02-16 23:12   ` Phileas Fogg
2013-02-17  8:53     ` Geert Uytterhoeven
2013-02-17 12:40       ` Phileas Fogg
2013-02-21  0:14     ` Geoff Levand
2013-02-16 18:51 ` Phileas Fogg
2013-02-19 18:40 ` Phileas Fogg
2013-02-19 19:54   ` Phileas Fogg
2013-02-20 20:43     ` Phileas Fogg [this message]
2013-02-21  0:32       ` Benjamin Herrenschmidt
2013-02-21 20:38         ` Phileas Fogg
2013-02-21 20:35           ` Benjamin Herrenschmidt
2013-02-21 21:44             ` Phileas Fogg
2013-02-21 23:46               ` Benjamin Herrenschmidt
2013-02-22 20:49                 ` Phileas Fogg
2013-02-22 19:52                   ` Benjamin Herrenschmidt
2013-02-22 23:41                     ` Phileas Fogg
2013-02-22 22:45                       ` Benjamin Herrenschmidt
2013-02-22 23:53                         ` Phileas Fogg
2013-02-21 22:06             ` Phileas Fogg
2013-02-21 23:47               ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51253558.1070407@mail.ru \
    --to=phileas-fogg@mail.ru \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).