Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4298987pxj; Tue, 25 May 2021 05:04:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFfBVaRRUJZ/pu6TUAZ3WJJom4yMOYQtBweNzKTsgWVY6zTqnvmNv7ddZPb6BFIeHUM8Gs X-Received: by 2002:a92:d38d:: with SMTP id o13mr18367088ilo.45.1621944258099; Tue, 25 May 2021 05:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621944258; cv=none; d=google.com; s=arc-20160816; b=hnDFlwMwElEcVDWKlFgQ7Nwa3WNIiFuI1MMugEmJ7ozO5IZSLC9BImRptWl3s8rlYQ xAs7Sn6GYyqotevNv7u6vYyDwepz86gtRiTNTk2nKmKNH5nBUAu31RngnCrg4j/EyXxj Ny+nwHhp/MJGzUNQmenTHJLuAq5VNT8OmiLaCdSVs5oApA8vArCCMfrJhTNtSsUXDyGi 6Vg9OsesGhjJ0HO9LWuWf8YTxPL3s1HpwRVng/imeGxeUkv/q+zZfL34xJbAPTw0mD0i rmdJbmu13UtPJyuz0Xu2jOL4/tyzjBK/Upk7uhzSNbmQT73Wo1s6mBmifeuPF7L1Nmed Z81g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=tvWj8zc1KaZx8oneFEp/D8SkmcxSTtuo3lyEiiqE9JE=; b=a7bXpjThQLFlsyyYgvy5ZJO9Q6b7w+J6oeYPqUegC5K9FATZVrgTZI284Qcn0jMAvo zrCNty3ICKf8E3JipQD4+cUn7K8afLfrUTne4e4nwWj1WWSxYU2lFpOd0LEcnrM6gTpn 4mVZvCUX6t4iw2xlzofmMd7LIZOIZkRFoLvmTs7mCpnPdDBunHQ9kpyUd6q/igNqufwO XD68Ds+tENCvUObVDcfrKvpstwDwPFh3D99a5QtBo80UQYkNkp9peP8GUFzCmqWWQv8J UcgiFKT7HTWdpL0J7qhDgWcYj1atA9tlb4odgvKnYFPtg1wKdFh1vka0SEsoLobM8upX Aa0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zyx9nOCP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l17si17301937jaj.81.2021.05.25.05.04.04; Tue, 25 May 2021 05:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=zyx9nOCP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232183AbhEYMEQ (ORCPT + 99 others); Tue, 25 May 2021 08:04:16 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:42649 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231912AbhEYMEO (ORCPT ); Tue, 25 May 2021 08:04:14 -0400 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 14PC2V55002350 for ; Tue, 25 May 2021 21:02:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 14PC2V55002350 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1621944151; bh=tvWj8zc1KaZx8oneFEp/D8SkmcxSTtuo3lyEiiqE9JE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zyx9nOCPE7dO2bwtRfTp5gQSVF8gOl8vN32FmyO1z9Toi9mizoyFOQ/WvJxu+5+NI mbHw5MVBOEWSgDdtLURzaWgZiAuN8trmS4lxcSxaTAIfHu4x6BHA0czk9vw/FFtW1a begG705RYJOlcm/DtoRmiXVvqgDwgtJ0bmAhGP9Qkzzo88bEWjLhuPUDM5C//FaC+I 9AYJ6W0f3oWtdP5KT/pMp9cVgrIlL6SBhv5sqAXLNKWo0MgYplQW93NZO0lXR8kcHG d/fv1p2ucz6Jh+L1/dlSysuj9ArXJx5IAeaxM407MiteLlcVypWZnAzjiwh/Nx753T JNOU3ZF1Puxcg== X-Nifty-SrcIP: [209.85.215.180] Received: by mail-pg1-f180.google.com with SMTP id 29so11451836pgu.11 for ; Tue, 25 May 2021 05:02:31 -0700 (PDT) X-Gm-Message-State: AOAM5321H4dMGB3JzVT8ZzSJMuGc/j2owzlfOPExDGR+fucN5zHaKZwA fX1lKGhBUTDklRLc87ZWyAodsxtavdTR/QlEzFM= X-Received: by 2002:a05:6a00:158d:b029:2e0:6ae2:17b1 with SMTP id u13-20020a056a00158db02902e06ae217b1mr28842988pfk.76.1621944150806; Tue, 25 May 2021 05:02:30 -0700 (PDT) MIME-Version: 1.0 References: <20210524181707.132844-1-brgerst@gmail.com> <20210524181707.132844-4-brgerst@gmail.com> In-Reply-To: <20210524181707.132844-4-brgerst@gmail.com> From: Masahiro Yamada Date: Tue, 25 May 2021 21:01:53 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] x86/syscalls: Don't sdjust CFLAGS for syscall tables To: Brian Gerst Cc: Linux Kernel Mailing List , X86 ML , Andy Lutomirski , Borislav Petkov , Thomas Gleixner , Peter Zijlstra Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 25, 2021 at 3:17 AM Brian Gerst wrote: > > The syscall_*.c files only contain data (the syscall tables). There > is no need to adjust CFLAGS for tracing and stack protector since they > contain no code. > > Signed-off-by: Brian Gerst > --- Reviewed-by: Masahiro Yamada > arch/x86/entry/Makefile | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/arch/x86/entry/Makefile b/arch/x86/entry/Makefile > index 94d2843ce80c..7fec5dcf6438 100644 > --- a/arch/x86/entry/Makefile > +++ b/arch/x86/entry/Makefile > @@ -8,14 +8,8 @@ UBSAN_SANITIZE := n > KCOV_INSTRUMENT := n > > CFLAGS_REMOVE_common.o = $(CC_FLAGS_FTRACE) > -CFLAGS_REMOVE_syscall_64.o = $(CC_FLAGS_FTRACE) > -CFLAGS_REMOVE_syscall_32.o = $(CC_FLAGS_FTRACE) > -CFLAGS_REMOVE_syscall_x32.o = $(CC_FLAGS_FTRACE) > > CFLAGS_common.o += -fno-stack-protector > -CFLAGS_syscall_64.o += -fno-stack-protector > -CFLAGS_syscall_32.o += -fno-stack-protector > -CFLAGS_syscall_x32.o += -fno-stack-protector > > obj-y := entry_$(BITS).o thunk_$(BITS).o syscall_$(BITS).o > obj-y += common.o > -- > 2.31.1 > -- Best Regards Masahiro Yamada