Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1193879imm; Tue, 15 May 2018 15:30:03 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp81+qwL2JBQkyJPoi2nRsv3Xpv/oCYnwF5ZO65jr31LcueTj7oVnAwgEb2zL5hJJ+Fpbxh X-Received: by 2002:a62:f20d:: with SMTP id m13-v6mr17100877pfh.170.1526423403409; Tue, 15 May 2018 15:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526423403; cv=none; d=google.com; s=arc-20160816; b=xjP8Hcme1Mfl2ILhNzlQ1Le+KA49Enkem4IchbvPxlcqZaMRaRxOwzneGTDa/qHkpC XM+Pbg5wZSgk2SRuWn8O9TEplu5ciquyHlCwzY3+GCLGtqiyReivzeSalSweYmAGRP+u SskXALpGlp3SJImyiqys/Y+lpSXP+/LuyoBXqJYUGCnl+XYkxiRODnzSxmEla5IulX7E RNJbyfpygD7xlBCsPIF6gxVJ5+RyhSxXI1c8JOsaxYka/fPXVj4NvHs7KlDrxQUr46SD +1C9Wpf6gXkCcbpqitbU4rE7GAzsK+i10eOCYekd8Q+0h1382nEGiE7Wzn21kXIjVLAq esMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=YSimO4DPdwBXTUnt0/eg4kYCgd/yHVMBgU6nKjdWET8=; b=KLx5M9wku3lFpOPFdbFC972/MQoZTlS1ay6USqNszxq0mm7lpv2+OUb+q181OsAblX nKN2ve5ZLAEMtdROhB7oIPiI0CfsbfrvQizdQW2jhI2Bq2sDq2dZ4DXYaQYjhTfaBe0I ofh5SaNuIzGv+cWsF0k71pTv3U83TGjBTfgew3gQQ9MfdLlM+0FWUngWRRJ270b0xaZX beBHRwvbGYZ7z6ocnmVh5TRVUBZUUPy5XdMNA1NAI8dlaQ6LzFVB5cLVdQdel6TBMh9K z/IR60/G4tFgRwjlnrio7O67zPGpbMKxlQlgGp9sYwv+/CwzRPnk9Nez4KkH+9DungX1 jk2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x1ANbeUj; 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=pass (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 s7-v6si1014623pfm.85.2018.05.15.15.29.49; Tue, 15 May 2018 15:30:03 -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=pass header.i=@kernel.org header.s=default header.b=x1ANbeUj; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752234AbeEOW31 (ORCPT + 99 others); Tue, 15 May 2018 18:29:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:51582 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbeEOW30 (ORCPT ); Tue, 15 May 2018 18:29:26 -0400 Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 92DB520830 for ; Tue, 15 May 2018 22:29:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1526423365; bh=Z1DhmPqKBF+v17X0VrWRQnSnNZfvQ/WlVkEjdCVRThI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=x1ANbeUjZBRtNGb/bBUy+RTQT3Vl0kvIHXHSahd6mVq80/mStAbsKKc+gfNfKp+iq C9lY/cChGPAUXpf5mkra4VxMGMTg6uSN/ZBaQ177UmlER3+ZRxRtGcYA7pIDSH2BXz 3CbfvBK5OSV2SKbD7c3193LCDpNLbP+P0rU2+me8= Received: by mail-wm0-f45.google.com with SMTP id f8-v6so3955926wmc.4 for ; Tue, 15 May 2018 15:29:25 -0700 (PDT) X-Gm-Message-State: ALKqPwcJYDHJ4hc7WyXlyC4DjnPRdIin6r8SLsytcwks4Saf4vJFC/BM mDrVbnmlIqfGI838SgaeIj3OKPkX2tgtXlDd9NZN7g== X-Received: by 2002:a1c:a906:: with SMTP id s6-v6mr8368944wme.116.1526423363698; Tue, 15 May 2018 15:29:23 -0700 (PDT) MIME-Version: 1.0 References: <20180515080033.GA7714@yexl-desktop> <20180515210757.GA12225@avx2> <20180515214337.GA18021@avx2> In-Reply-To: From: Andy Lutomirski Date: Tue, 15 May 2018 15:29:12 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [lkp-robot] [x86/asm] 51bad67ffb: int3:#[##] To: Thomas Gleixner Cc: Alexey Dobriyan , "H. Peter Anvin" , kernel test robot , Ingo Molnar , Andrew Lutomirski , Borislav Petkov , Brian Gerst , Denys Vlasenko , Josh Poimboeuf , Linus Torvalds , Peter Zijlstra , LKML , "H. Peter Anvin" , tipbuild@zytor.com, LKP Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 15, 2018 at 3:25 PM Thomas Gleixner wrote: > On Wed, 16 May 2018, Alexey Dobriyan wrote: > --- a/arch/x86/entry/entry_32.S > +++ b/arch/x86/entry/entry_32.S > @@ -338,6 +338,11 @@ END(ret_from_fork) > cmpl $USER_RPL, %eax > jb resume_kernel # not returning to v8086 or userspace > + /* > + * Jump over the alignment padding which is filled with int3 instructions > + */ > + jmp resume_userspace > + > ENTRY(resume_userspace) The problem is already solved, but NAK to this concept. If we're going to make ENTRY supply int3 alignment, then we need to avoid using ENTRY if we fall through. Jumping over the alignment is just silly. The macro we should use is GLOBAL.