From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Mon, 4 Apr 2016 11:09:21 -0600 Subject: [U-Boot] [U-Boot,v4,15/21] spmi: Add sandbox test driver In-Reply-To: <57029410.3060502@gmail.com> References: <1459458754-29559-16-git-send-email-mateusz.kulikowski@gmail.com> <20160402020404.GJ23166@bill-the-cat> <57028CF2.8080001@wwwdotorg.org> <57029410.3060502@gmail.com> Message-ID: <57029FC1.8000409@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/04/2016 10:19 AM, Mateusz Kulikowski wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi, > > On 04.04.2016 17:49, Stephen Warren wrote: >> On 04/01/2016 08:04 PM, Tom Rini wrote: >>> On Thu, Mar 31, 2016 at 11:12:28PM +0200, Mateusz Kulikowski wrote: >>> >>>> This patch adds emulated spmi bus controller with part of >>>> pm8916 pmic on it to sandbox and tests validating SPMI uclass. >>>> >>>> Signed-off-by: Mateusz Kulikowski >>>> Reviewed-by: Simon Glass >>> >>> Applied to u-boot/master, thanks! >>> >>> ... but note that the tests fail currently, please fix :) >> >> Yup, my automated build/test systems all started failing due to this. You can easily reproduce this by running: > > Working on it. > Weird thing is - it works on sandbox.dtb, and segfaults on test.dtb even if entries are exactly the same :0 I wonder if there's some kind of memory corruption going on; IIRC I checked out the committed version of this patch in u-boot/master's history, and 3 tests failed, but by the time you reach the current u-boot/master, only 2 tests fail, and I don't think there were any more spmi-related commits between the two. That would indicate some kind of outside interference, which would also be consistent with your unusual findings.