Received: by 10.223.185.116 with SMTP id b49csp279732wrg; Thu, 8 Mar 2018 17:29:32 -0800 (PST) X-Google-Smtp-Source: AG47ELuC68Gj0BbWqM4H5dKeFTiwYO6wSrgOjx6JniVKS3nK9upY3rOwJTnwKWkqsOap6Ph4Mmz0 X-Received: by 2002:a17:902:2b84:: with SMTP id l4-v6mr25964141plb.338.1520558972387; Thu, 08 Mar 2018 17:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520558972; cv=none; d=google.com; s=arc-20160816; b=fWPTtso83aC6rk9mNNnnx4jhRMqQVNSUPu2QATXUjFkO6EdIi76W4m6UMVEz0gre7n DeHOrxgUHtv38Bl8BOAl5kU9QOvhkvr6JajV7FY1aLz2E7+JdDziatohNQJDC5KBGD4A aUotQyYSB9lDetal28qAQfyaudngYLmtZ5FZe75LdWwQqH5uxRE7XSTl7hulbgMbBTAw 5+PWJLesw5abFnY4uiQoqtN8iAuuukox5beOc2IfviE0bJuWrxDW0cFWt1OjLALXQeaG 2z7A+sR5bxKGLBz+kMWJcyTcXBF19J9s8jFCRA9/jXpKTd9YzSsJWVp49xmK4RWHyrlX OeCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:mime-version:user-agent:date:message-id :cc:to:subject:from:arc-authentication-results; bh=j8KIyc/faDNNxQS6NbVD/1EP4XYrrcLAeSOU/W4Ji4M=; b=KDRx5WI3SnYk0oUR+TJCEWtHu3+RT9jwB8l6yyJhH27DYBh7Sab4z3zQi7f1zSH6Nz Mwc7bzQ5PgZZGDPuO7euFsZOsibJsS9BLHehPj/jtMuXt14KGjuqWiOEXUAqDyofUYiS CSytIA6pgI/3Vkof8FN9hAIBahH8OLDP08US0eTRZ96+Ca4nLpkVU7fPJeFomFqbCps2 sMXrs/ISIbVGaGsvCtqomV4oGhNCzgWbwtXKrZfH6pwm0E4R7PJ22NEkW1qpjsCSpvVT RtKamaGhIBSnurEJN5VGkkiSiTXQ0PmmSwXerkdLtfiLgTfAwvZ1Ig892Z9ZNSTfYuVQ ENLg== 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 p27-v6si15768268pli.328.2018.03.08.17.29.18; Thu, 08 Mar 2018 17:29:32 -0800 (PST) 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 S1751822AbeCIB2Y (ORCPT + 99 others); Thu, 8 Mar 2018 20:28:24 -0500 Received: from mga01.intel.com ([192.55.52.88]:57638 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbeCIB2X (ORCPT ); Thu, 8 Mar 2018 20:28:23 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 17:28:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,443,1515484800"; d="scan'208";a="181179966" Received: from lizhijix-mobl1.ccr.corp.intel.com (HELO [10.255.30.174]) ([10.255.30.174]) by orsmga004.jf.intel.com with ESMTP; 08 Mar 2018 17:28:21 -0800 From: Li Zhijian Subject: kernel_selftests.x86.mpx-mini-test_32.fail on skylake platform To: "linux-kselftest@vger.kernel.org" , "shuah@kernel.org" , dave.hansen@linux.intel.com Cc: "Li, Philip" , Chen Rong , "linux-kernel@vger.kernel.org" , "Li, Zhijian" Message-ID: <4edaa677-bd38-2428-960b-124615be85a6@intel.com> Date: Fri, 9 Mar 2018 09:28:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all 0Day noticed that kernel_selftests.x86.mpx-mini-test_32.fail at recent upstream kernel a. v4.11 Good b. v4.12 and later: Bad And the 64bit application kernel_selftests.x86.mpx-mini-test_64 is always good. 0Day robot tried to bisect the FBC, but it failed at last. But anyway i want to let you know we had this issue. below is the testing log at v4.12 ----------------------- 2018-03-02 23:12:08 make run_tests -C x86 make: Entering directory '/usr/src/linux-selftests-x86_64-rhel-7.2_mpx-6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c/tools/testing/selftests/x86' #BR status == 2, missing bounds table,kernel should have handled!! XSAVE is supported by HW & OS XSAVE processor supported state mask: 0x2ff XSAVE OS supported state mask: 0x2ff BNDREGS: size: 64 user: 1 supervisor: 0 aligned: 0 BNDCSR: size: 64 user: 1 supervisor: 0 aligned: 0 executing unmaptest mpx dig ( 1) complete, SUCCESS ( 0 / 0) selftests: mpx-mini-test_32 [FAIL] ----------------------- 0Day Environment OS: Debian 9 kernel: v4.12 model: Skylake nr_cpu: 104 memory: 64G brand: Intel(R) Xeon(R) Platinum 8170 CPU @ 2.10GHz ------------------------- as a comparison, paste the log at v4.11 as following XSAVE is supported by HW & OS XSAVE processor supported state mask: 0x2ff XSAVE OS supported state mask: 0x2ff BNDREGS: size: 64 user: 1 supervisor: 0 aligned: 0 BNDCSR: size: 64 user: 1 supervisor: 0 aligned: 0 executing unmaptest mpx dig ( 1) complete, SUCCESS ( 0 / 0) iteration 1 complete, OK so far mpx dig ( 2) complete, SUCCESS ( 8836 / 5554) mpx dig ( 3) complete, SUCCESS ( 2761 / 1760) mpx dig ( 4) complete, SUCCESS ( 4494 / 2828) mpx dig ( 5) complete, SUCCESS ( 531 / 337) mpx dig ( 6) complete, SUCCESS ( 145 / 92) mpx dig ( 7) complete, SUCCESS ( 0 / 0) mpx dig ( 8) complete, SUCCESS ( 0 / 0) mpx dig ( 9) complete, SUCCESS ( 0 / 0) mpx dig ( 10) complete, SUCCESS ( 0 / 0) mpx dig ( 11) complete, SUCCESS ( 0 / 0) mpx dig ( 12) complete, SUCCESS ( 0 / 0) mpx dig ( 13) complete, SUCCESS ( 0 / 0) mpx dig ( 14) complete, SUCCESS ( 0 / 0) mpx dig ( 15) complete, SUCCESS ( 0 / 0) mpx dig ( 16) complete, SUCCESS ( 0 / 0) iteration 1566 complete, OK so far mpx dig ( 17) complete, SUCCESS ( 0 / 0) mpx dig ( 18) complete, SUCCESS ( 0 / 0) mpx dig ( 19) complete, SUCCESS ( 0 / 0) mpx dig ( 20) complete, SUCCESS ( 0 / 0) mpx dig ( 21) complete, SUCCESS ( 0 / 0) mpx dig ( 22) complete, SUCCESS ( 0 / 0) mpx dig ( 23) complete, SUCCESS ( 0 / 0) mpx dig ( 24) complete, SUCCESS ( 0 / 0) mpx dig ( 25) complete, SUCCESS ( 0 / 0) mpx dig ( 26) complete, SUCCESS ( 0 / 0) mpx dig ( 27) complete, SUCCESS ( 0 / 0) mpx dig ( 28) complete, SUCCESS ( 0 / 0) mpx dig ( 29) complete, SUCCESS ( 0 / 0) mpx dig ( 30) complete, SUCCESS ( 0 / 0) mpx dig ( 31) complete, SUCCESS ( 0 / 0) mpx dig ( 32) complete, SUCCESS ( 0 / 0) mpx dig ( 33) complete, SUCCESS ( 0 / 0) mpx dig ( 34) complete, SUCCESS ( 0 / 0) mpx dig ( 35) complete, SUCCESS ( 0 / 0) mpx dig ( 36) complete, SUCCESS ( 0 / 0) mpx dig ( 37) complete, SUCCESS ( 0 / 0) mpx dig ( 38) complete, SUCCESS ( 0 / 0) mpx dig ( 39) complete, SUCCESS ( 0 / 0) mpx dig ( 40) complete, SUCCESS ( 0 / 0) iteration 3325 complete, OK so far done with malloc() fun starting mpx bounds table test iteration 4574 complete, OK so far iteration 9157 complete, OK so far done with mpx bounds table test ./mpx-mini-test_32 completed successfully selftests: mpx-mini-test_32 [PASS] Thanks