All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Han, Huaitong" <huaitong.han@intel.com>
To: "kernellwp@gmail.com" <kernellwp@gmail.com>
Cc: "tglx@linutronix.de" <tglx@linutronix.de>,
	"hpa@zytor.com" <hpa@zytor.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"mingo@redhat.com" <mingo@redhat.com>,
	"x86@kernel.org" <x86@kernel.org>
Subject: Re: [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer
Date: Fri, 12 Aug 2016 05:59:25 +0000	[thread overview]
Message-ID: <1470981565.3077.1.camel@intel.com> (raw)
In-Reply-To: <CANRm+CyCe5s-eMTtGFbxR1uH-Vbg42pQhE_Fci43ePz70vyH8Q@mail.gmail.com>

On Fri, 2016-08-12 at 13:50 +0800, Wanpeng Li wrote:
> 2016-08-12 13:30 GMT+08:00 Huaitong Han <huaitong.han@intel.com>:
> > percpu cpus_in_cluster is a pointer with CONFIG_CPUMASK_OFFSTACK, cpu_in_cluster
> > is not alloced memory before x2apic_prepare_cpu is invoked, so cpumask_set_cpu
> > would get a NULL pointer bug:
> >  BUG: unable to handle kernel NULL pointer dereference at (null)
> >  IP: [<ffffffff8105ac25>] x2apic_cluster_probe+0x35/0x70
> 
> Could you try this? https://lkml.org/lkml/2016/8/4/345
Get, it has been fixed,
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=d52c0569bab4edc888832df44dc7ac28517134f6
> 
> Regards,
> Wanpeng Li

      reply	other threads:[~2016-08-12  6:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12  5:30 [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer Huaitong Han
2016-08-12  5:50 ` Wanpeng Li
2016-08-12  5:59   ` Han, Huaitong [this message]

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=1470981565.3077.1.camel@intel.com \
    --to=huaitong.han@intel.com \
    --cc=hpa@zytor.com \
    --cc=kernellwp@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.