Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2576487imm; Thu, 16 Aug 2018 11:47:31 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxXORJkUPoi2OuoIvgAFeL/Pr4bbUM0fweNfak0RpFmaW5YA7LlMaQ5e7oiCCXf10kJLKj+ X-Received: by 2002:a62:1e81:: with SMTP id e123-v6mr33795806pfe.24.1534445251218; Thu, 16 Aug 2018 11:47:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534445251; cv=none; d=google.com; s=arc-20160816; b=uTaRT/JJD9muS5+MIOWsZN4gJExT2fS71ZWoGpCJXsUp0wFGrRhQZD4PoMWthRGfvL pgDd7PSaBVzOt9JH+XW03eSGM2rJQKCn9PFEbCnf/Nr89CAWt3VitZX2uQNCuGj8gfAS nn5BnW2l3ZrD5+npiXVaeYqyIMm2GqP0qA3xFE44wj2CGBA/N35sMKGrqAm8TtnVeGgd o5c7nbxFRl1TSoaxVB1if1bxI90BupR/FfncsSFuCBUAvLWarUjUsHl037ro1r7WoQyI uwXOYuBEEi5ErAsyYTGuG6XQMj3Vwo2uJ787/kNZK0wBBuSJ7Eq0koNWVS6oCMGpGxjT 9a8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Wft/wfVwWVDobYT6I4XfgoFX64P0tasQq+uVkXg/HcQ=; b=vCKyqXetmlSkxbd2+gmfK81jV8SkYKQ+PlR80MnqbrDq+6DnJdiLxEMa27Orb4Zf5A gC/SGQ924VXw7CBBY7T1iz+zg5KfE5+Nr9SUmeebMi5Q80fk3nOkxHd7gDLT4n2D8zMX Mb0HdWn356Q8cTE2bKYcN5DsMepry4rZWAQZERnSL+al11hb9iQhuWJjwtbRNrf3aFcT e0K3VHZ07AeKdLhQdLBzfNX2u1MDvD1JOrI8pOjJr8T6rHXtK0q+Z26P2dACepybJhvr 2Omh+JgzYsm/LCHXm3hUD+ahYKiqpxv1FDNF5BYMb/fKw0fj6+u8hYhux92a5shTAeyC kNHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i24-v6si44984pgj.228.2018.08.16.11.47.14; Thu, 16 Aug 2018 11:47:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392499AbeHPTjO (ORCPT + 99 others); Thu, 16 Aug 2018 15:39:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:34698 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbeHPTjO (ORCPT ); Thu, 16 Aug 2018 15:39:14 -0400 Received: from localhost (unknown [194.244.16.108]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 62C53CB5; Thu, 16 Aug 2018 16:39:39 +0000 (UTC) Date: Thu, 16 Aug 2018 18:39:37 +0200 From: Greg Kroah-Hartman To: Jinpu Wang Cc: Thomas Gleixner , stable , linux-kernel@vger.kernel.org, Ingo Molnar , konrad.wilk@oracle.com Subject: Re: [BUG]smt sysfs dir missing on 4.4.148 and 4.14.63 Message-ID: <20180816163937.GA5105@kroah.com> References: <20180816155126.GA18296@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 16, 2018 at 06:28:59PM +0200, Jinpu Wang wrote: > On Thu, Aug 16, 2018 at 5:51 PM Greg Kroah-Hartman > wrote: > > > > On Thu, Aug 16, 2018 at 05:43:23PM +0200, Jinpu Wang wrote: > > > Hi Greg, hi Thomas, > > > > > > I noticed /sys/devices/system/cpu/smt dir is missing on 4.4.148 and > > > 4.14.63, default setting. > > > > For 4.4, I would be amazed if anything was there, the backport was done > > only to handle the local user issue, not the "full" protection. So > > please try 4.9 or 4.14. > Thanks for quick reply. Right, just checked. the patch for create the > sysfs entry is missing. What patch is that? What is the git commit id that we missed? > > How about 4.17 and 4.18, do those trees work properly for you? > I guess it's the same. > > > > > Tried stable/master branch 31130a16d459 ("Merge tag > > > 'for-linus-4.19-rc1-tag' of > > > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip") > > > It's the same there. > > > > Ah, so we are bug compatible, good :) > I will try test stable master a bit more to gather the full log. > > > > > When boot with 'nosmt' kernel paramter kernel 4.14.63 panic during > > > boot, 4.4.148 boot fine. > > > The call trace seem irq related, is it known bug? > > > > You are not giving us much to go on here sorry. We need full details, > > and also please cc: lkml and the other developers who worked on this. > > THomas is on vacation this week. > Now, add more developers to cc, also lkml. > > I have the config and boot dmesg attached for default setting. I see no error in your boot log, what exactly are you worried about? confused, greg k-h