From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751759AbdJBVbP (ORCPT ); Mon, 2 Oct 2017 17:31:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52968 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750869AbdJBVbL (ORCPT ); Mon, 2 Oct 2017 17:31:11 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 4C20D83F40 Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=jpoimboe@redhat.com Date: Mon, 2 Oct 2017 16:31:09 -0500 From: Josh Poimboeuf To: Linus Torvalds Cc: kernel test robot , LKP , linux-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, dma , linux-samsung-soc@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , USB list , Vinod Koul , LKML , wfg@linux.intel.com Subject: Re: 4879b7ae05 ("Merge tag 'dmaengine-4.12-rc1' of .."): WARNING: kernel stack regs at bd92bc2e in 01-cpu-hotplug:3811 has bad 'bp' value 000001be Message-ID: <20171002213109.5n3skzy76edhwkvf@treble> References: <59d177a7.vsiddgOxdHRIlRvy%fengguang.wu@intel.com> <20171002212654.rsm4uj3hfioddldd@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20171002212654.rsm4uj3hfioddldd@treble> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 02 Oct 2017 21:31:11 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 02, 2017 at 04:26:54PM -0500, Josh Poimboeuf wrote: > Fengguang, assuming it's reliably recreatable, any chance you could > recreate with the following patch? Sorry, here's a version which actually compiles. diff --git a/arch/x86/kernel/unwind_frame.c b/arch/x86/kernel/unwind_frame.c index d145a0b1f529..00234fa5a33a 100644 --- a/arch/x86/kernel/unwind_frame.c +++ b/arch/x86/kernel/unwind_frame.c @@ -44,7 +44,8 @@ static void unwind_dump(struct unwind_state *state) state->stack_info.type, state->stack_info.next_sp, state->stack_mask, state->graph_idx); - for (sp = state->orig_sp; sp; sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { + for (sp = PTR_ALIGN(state->orig_sp, sizeof(long)); sp; + sp = PTR_ALIGN(stack_info.next_sp, sizeof(long))) { if (get_stack_info(sp, state->task, &stack_info, &visit_mask)) break;