Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3029883imm; Sun, 30 Sep 2018 10:08:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60ru0dUcSwWG8QKRpE2Re1I0K85f7v3GlY2KB/gxYKM1DrWFmZBXzcow3esQQetry16NScl X-Received: by 2002:a17:902:62:: with SMTP id 89-v6mr8073079pla.298.1538327320839; Sun, 30 Sep 2018 10:08:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538327320; cv=none; d=google.com; s=arc-20160816; b=uRUbV0moT2FMlMkC/0DEor4tJIUGP+JFrPgWXU4TwKgJfcZpeMrxZ8T7Bxt5DqlHh3 NK6Wv5fgjl5vxMxFjLjLxi7WANV/vh8MILSejIG1PgqF3piav7j3styhI0vRh2EQryje LFSO/DzI9dZo+E3RwA1TPFBSueN8yajTa+al28HyCGA7krtfHTnK5m5coREZf35zf6qd j9WkBEp8877fPDhgb+p8OvD7drHfvg1ubTNcyQBtyqMb7EmdT4SjUSPs4a70BmZ1TMWc WqXpIkIbjLPLbHDTti+T2GnHvoGpVd0p2h6C5KpW76tbMUhQEav8rAGtU3+GItCA01TS UJBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=bYLo1+WKKDCAf3A+9jD/YWEBJOcAFIzOp5NhTCDhvIc=; b=e5cJcHjUjwE4oUwdOzP8b5ahh1MW8f+qr+tqv0n+C/XRnR3F6MTuZGesA3ZHRQeH6E 2tULoy8+tMUNynuOSG7IVf7r90geBPdtLbcXOwnEDOS7AR+PSTTGzjw6MUgKYd3h2U1T fR27EJhCfhAYV+U54dECDl7Q0XrWxYy+hC7objNA7skhK3iUEZKDubRJeGvyRIOYTO6m ev2b3XHBmmpEFHdMVmrvN1Dx1b2GSv1CkQhqiwsUBcQJ15mu/xe5vLkDRGDcEOKZfvqY OtTImy0SSdM7MqqnmSdjEjXtyTWEVhuchozE91vCJ//6y7f498IbV1zyJhJnFp4oLi1v 4vYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=c1Z5aQnW; 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 v190-v6si9997132pgd.658.2018.09.30.10.08.23; Sun, 30 Sep 2018 10:08:40 -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=c1Z5aQnW; 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 S1728554AbeI3XmJ (ORCPT + 99 others); Sun, 30 Sep 2018 19:42:09 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37136 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728453AbeI3XmI (ORCPT ); Sun, 30 Sep 2018 19:42:08 -0400 Received: by mail-pg1-f196.google.com with SMTP id c10-v6so7790157pgq.4; Sun, 30 Sep 2018 10:08:19 -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:mime-version :content-disposition:user-agent; bh=bYLo1+WKKDCAf3A+9jD/YWEBJOcAFIzOp5NhTCDhvIc=; b=c1Z5aQnWt6VBDJiPvhnB/7Q2bVqZoe1xHBQwsgfjPCMzh5eIIAC7qXeuv9dp+kLdPk kWW9RurCZjGBQLQZ4rVfnb3y0S9VhhnVj1OiUUbb7tq2W9QPMDveljxg+1obM4EjQCXn lN3soFr4hNtBF+x5A4059/Xa3mIeAHb47OfYazMIdzrMX+SdXk0fspWMgCNGi/JtVebn 69IV+q8p3QuCyGMreFsva+7EcQuuf0xWrAqHLgOWGNm4vkOmYzXTnVgN1xAqH1egZiGM Pcf0fWqb3RZF0BkD1JgSYKhy1jV56EK8xY/m/icMswaDM0nxtmjT/1efFCU7n2mTSxnH 7VVA== 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 :mime-version:content-disposition:user-agent; bh=bYLo1+WKKDCAf3A+9jD/YWEBJOcAFIzOp5NhTCDhvIc=; b=hhzcRO6k80vszM8HOoQyodHkTR0D9LM5Ws2Yf6Fb3YiEGci1wXJgfA+N+0rfgcpIi2 iQqouLjhY/k/oJWA+NYERvbS/2GGM3KyCv+4tL4lnDRUyZJXsqykMnp80B475VvtRVwe NFxG4fP4tZax29gxb4XtJoV/0YAjtnnGQGj2zvLyl/9WGUeOVD5ORxVU0H72z97FKDfg ONQGl6ocDEDfabBu1I3PTj1fsNWt/edV2Zauhl2tkuL7LsqfWqna5fnJosBMko/YpkDK 3Vpz0jx1gMN3/bYgBm5f/T+PZngim4SFsI2DYvF3un4tmwmc13D6w/jgFu0NN1vGtXhi 3Fpw== X-Gm-Message-State: ABuFfogl+R+WSkp1rfY6cydaPm/8ALY0Pk9IRiw6KiTkOmWW4xP7q7ea 3hfZG7It4QGAlQ75OdNWqak= X-Received: by 2002:a17:902:d890:: with SMTP id b16-v6mr2382541plz.140.1538327298835; Sun, 30 Sep 2018 10:08:18 -0700 (PDT) Received: from localhost (108-223-40-66.lightspeed.sntcca.sbcglobal.net. [108.223.40.66]) by smtp.gmail.com with ESMTPSA id v8-v6sm14675485pfl.6.2018.09.30.10.08.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 10:08:17 -0700 (PDT) Date: Sun, 30 Sep 2018 10:08:16 -0700 From: Guenter Roeck To: Ard Biesheuvel Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Heiko Carstens , Kees Cook , Thomas Gleixner , Ingo Molnar , Martin Schwidefsky , Jessica Yu , Peter Zijlstra Subject: Re: [PATCH] s390: vmlinux.lds: move JUMP_TABLE_DATA into output section Message-ID: <20180930170816.GA26630@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 30, 2018 at 06:49:50PM +0200, Ard Biesheuvel wrote: > Commit e872267b8bcbb179 ("jump_table: move entries into ro_after_init > region") moved the __jump_table input section into the __ro_after_init > output section, but inadvertently put the macro in the wrong place in > the s390 linker script. Let's fix that. > > Fixes: e872267b8bcbb179 ("jump_table: move entries into ro_after_init region") > Reported-by: Guenter Roeck > Cc: Heiko Carstens > Cc: Kees Cook > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Martin Schwidefsky > Cc: Jessica Yu > Cc: Peter Zijlstra > Signed-off-by: Ard Biesheuvel Tested-by: Guenter Roeck > --- > arch/s390/kernel/vmlinux.lds.S | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/s390/kernel/vmlinux.lds.S b/arch/s390/kernel/vmlinux.lds.S > index 4042bbf3f9ad..457713f48734 100644 > --- a/arch/s390/kernel/vmlinux.lds.S > +++ b/arch/s390/kernel/vmlinux.lds.S > @@ -64,9 +64,9 @@ SECTIONS > __start_ro_after_init = .; > .data..ro_after_init : { > *(.data..ro_after_init) > + JUMP_TABLE_DATA > } > EXCEPTION_TABLE(16) > - JUMP_TABLE_DATA > . = ALIGN(PAGE_SIZE); > __end_ro_after_init = .; > > -- > 2.17.1 >