Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp7039366imm; Tue, 24 Jul 2018 07:27:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcKUE0S8gKOszVbuzvb9XWcDPrUtkMlSeX7dZewj/yxWpQ0c0wZglMd67BQAsm8ed4Aswc8 X-Received: by 2002:a63:5b51:: with SMTP id l17-v6mr16238860pgm.165.1532442477273; Tue, 24 Jul 2018 07:27:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532442477; cv=none; d=google.com; s=arc-20160816; b=mWjN7Y5PzsIDwoG4yGV9HlWqNBB8ngpIEUqdQ6dQt4mrHYTMZVVDw7CKhgh0YARK7i 2oRNPBiyMOw6nJd+vXsyO0z1cyhvnndQJye9/sJUjUO7/M3fiWr/4XhqpKTnWFTTbTBs E3ZbgXnys+NuCnKsNz/teGEFHAQXH31F4DvFDcbnzxhxYVnrdiAEo7IioLAGqQS0Z0vY RvVLZT3VFyN+r1L9VLLZhrDZ2+mVkkoNjo7uw9uzRVGeTjkHW0TJbR/KoRQvAeFLK9N5 e3HGQybyhtA+LlCtT8DZWMWc0i4slab3LIde/CLFA+nYCA0qeE9rGqTIWR8oWGMjBCkk LRiA== 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:dkim-signature:arc-authentication-results; bh=wV1gHw6KfqBzIJ8qKv0zVGYe+EEOwsi9aJrnnFubXLI=; b=Qy31g07PsbVYi9LPdgsBTnMZmN5BuldKDngtoLJOIk/FKaH+ahwojObuldwmudqDD+ 7lO2OV746zSLQbzd7+rJoWtylIwPlDG+NUfKcj9Alf9bnQumbqKeEPMM8tayozZK3gaD PlucOsVtCub/IRi+TbkLIaTiVMR0vMJBu7yg2vo+jZ4Sb6zjqUsax2ekeDSEPcqwKCb+ L+fFDzjoGaGM9JaHZHUq5uZgt9q1zXXcxRY7j86c2JuU03aydHLGbI6Vp9ITTkBw1X2R 5E9u4AeF0HnvOh6/i5bJtYfWPmSAs7TLA1szIk8zqUApMUWcPisqSFwaEfZRe2WySMHQ xy/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=F73A2YM7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21-v6si11064659pgh.664.2018.07.24.07.27.42; Tue, 24 Jul 2018 07:27:57 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=F73A2YM7; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388564AbeGXPdg (ORCPT + 99 others); Tue, 24 Jul 2018 11:33:36 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40523 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388460AbeGXPdf (ORCPT ); Tue, 24 Jul 2018 11:33:35 -0400 Received: by mail-wr1-f68.google.com with SMTP id t6-v6so4350014wrn.7 for ; Tue, 24 Jul 2018 07:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wV1gHw6KfqBzIJ8qKv0zVGYe+EEOwsi9aJrnnFubXLI=; b=F73A2YM7ze6mn5OuyBpSuZIV+q2m9aJxgIxA8kLNdH2IkOX4oYJ6my3QYBFc1Hk3+M hpKGH0shjOdJ2NjgyFt9mZ/sSGILsJjo4qnQtO1oOzAuwe2+2DmyZWsLUUh5mZrNT52Y w44dU8rrhnB7yl/aVfDcETniWFhP99nbbC5Cg++DeIyYZHUHSZz5Ns/7QQGWPrCPg35V zOPG1PY49pmWP1leaxG24niK86PffU3VaeeQApReaUnxmWDHeYQq3d6HNfxZJH9eM+Mn pS13hzfxO6nYyjfHbpSoPN5eyiVtZoNbO/SyLybhx4I69WpJlcl4l5Lkut/rGXBiIn1u +89w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=wV1gHw6KfqBzIJ8qKv0zVGYe+EEOwsi9aJrnnFubXLI=; b=GHjBMjkj6nd2hqZrNHNCLSsts+2ab16NeV7cfNJMXTNKYUJyrWm2muOlw2t7J2mbEa vvcMD/9+7FZx1IVBdlpNYQ1YeCt24RXZfCt+QZOQK7jo3PDYqXTAZshM/PvdkPIs17/q 1yu+6+cIPTNZsj04pg6SOUbkmUmB7mDxVaoSyppQl6aRvT2rTHmYNwT5gaxtm7NKnXN0 dNomXNrcvfy8zHC7wGdmRl0nccPwD5tW+U6ZIXpCVVvFb5BDajT49vcoIK2kBYFA9Gkz tOGUi6muwCqqVS6m4lVbkApC6tSp9jn+jv7+n5xCaNbvtVGuptyhfPFdyl/cdrmNClBn cb3Q== X-Gm-Message-State: AOUpUlFV/x33Vjo9/tGZvqQ7oiVHvr15sSlty3mr98jz8jAg9xKoKcCv l9hwqv9Ts6jb8Znq5oW2Pfs= X-Received: by 2002:a5d:494c:: with SMTP id r12-v6mr11806527wrs.66.1532442410311; Tue, 24 Jul 2018 07:26:50 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id w4-v6sm10565305wrt.40.2018.07.24.07.26.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Jul 2018 07:26:49 -0700 (PDT) Date: Tue, 24 Jul 2018 16:26:47 +0200 From: Ingo Molnar To: Nadav Amit Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Greg Kroah-Hartman , Kate Stewart , Philippe Ombredanne Subject: Re: [PATCH v6 9/9] x86: jump-labels: use macros instead of inline assembly Message-ID: <20180724142647.GA31700@gmail.com> References: <20180622172212.199633-1-namit@vmware.com> <20180622172212.199633-10-namit@vmware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180622172212.199633-10-namit@vmware.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Nadav Amit wrote: > Use assembly macros for jump-labels and call them from inline assembly. > This not only makes the code more readable, but also improves > compilation decision, specifically inline decisions which GCC base on > the number of new lines in inline assembly. > > As a result the code size is slightly increased. > > text data bss dec hex filename > 18163528 10226300 2957312 31347140 1de51c4 ./vmlinux before > 18163608 10227348 2957312 31348268 1de562c ./vmlinux after (+1128) > > And functions such as intel_pstate_adjust_policy_max(), > kvm_cpu_accept_dm_intr(), kvm_register_readl() are inlined. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: x86@kernel.org > Cc: Greg Kroah-Hartman > Cc: Kate Stewart > Cc: Philippe Ombredanne > Acked-by: Peter Zijlstra (Intel) > Signed-off-by: Nadav Amit > --- > arch/x86/entry/calling.h | 2 +- > arch/x86/include/asm/jump_label.h | 77 +++++++++++-------------------- > arch/x86/kernel/macros.S | 1 + > 3 files changed, 30 insertions(+), 50 deletions(-) So I tried the series, and this patch causes a silent hard hang on bootup, with no (early-)console messages visible. I've attached the config that triggers the problem, built with: gcc version 5.3.1 20160406 (Red Hat 5.3.1-6) (GCC) it's 100% reproducible on both Intel and AMD test systems. I'll continue to test the series with this patch left out. So both the xtensa build failure and this boot failure needs to be fixed before I can apply this series. Thanks, Ingo