Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2534460rwi; Tue, 11 Oct 2022 09:55:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5A+q105TLaPpqbJYC3ayGJX8HmXK02ZJlT4OWP0s/AJ1uH16mGComJwid8+h5HgwIuGk2d X-Received: by 2002:a17:906:4786:b0:78d:c3c0:1508 with SMTP id cw6-20020a170906478600b0078dc3c01508mr6374152ejc.211.1665507306324; Tue, 11 Oct 2022 09:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665507306; cv=none; d=google.com; s=arc-20160816; b=NRNsik5aTAa7sucXK4Flvfa764uk7m7S064lhUJ2A4A2J+urjCSdmk3/hgCRxQOtcS rwXlpULGhZXotLlAuFtLePUwDWWntNUgEBqG4u4B5Acqb7+HBkv3G4N/0PLy19sXegkB 2VJIT3M4z/HKFlSDEfmp1qvECjJlGdrDxc3SdIHgnvafXv1nZ5sc/0REzdY+S9uSe+sL iLv/kIDF9zsbJZoZtG/Knw90gA9X8iDdv9HayptxJiNAOqhKVXareQHNUVS++VtRd2w2 prS9YX8p2cbFy1qxUPfNESrB93UYy9tOv0Ooq/JzMgTYrmgH3GBlg2lIbe4FBWTr6DC8 lH8g== 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; bh=4cQLsLHBibKCXET80IomNLXe7aKtZBxMhsEFPZH1Ilw=; b=gsieCk/R6rww0o5QddQMXesH7Cp9jgEib1x2eCp70zTQjh1bpcQJmJTfIiZD8tXk3c /TXZ6d7NzQb7SQc8pOvU0JYp7/zpzvkDreQI4EmxQh4CnjZHcaWPn1dxnywuAZo2NfYF CbwiGCk8/Fz/zOutc1IeusLQiuwRWGrbRJyW0ZnmG3rz9zG6+l6ciNtvbQ8BCLIvTiuT qe3NDv9QiC5SYcP6RbLw9q7GOM2qHd5cKKq22Wa2e6jRQ5DwYXwifVw2lSLE45U861Dv tWHxeMDHioakcVMeB1LnlbbNUZClPpD5SndvfW2O3cXbWyUfaRU6+WrIone/hfCbs2ir GH/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NbElJqk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga25-20020a1709070c1900b0077fd6028710si14095068ejc.670.2022.10.11.09.54.38; Tue, 11 Oct 2022 09:55:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=NbElJqk8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229734AbiJKQnx (ORCPT + 99 others); Tue, 11 Oct 2022 12:43:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229508AbiJKQnv (ORCPT ); Tue, 11 Oct 2022 12:43:51 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B80A6A2235 for ; Tue, 11 Oct 2022 09:43:50 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id h13so12595733pfr.7 for ; Tue, 11 Oct 2022 09:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4cQLsLHBibKCXET80IomNLXe7aKtZBxMhsEFPZH1Ilw=; b=NbElJqk8KLlSeynJnSBpTuSUqK+dlJYSfjhESozbJipfngxmf7ra2Ycw3zm/u4nHA6 6vCmS1QuGcgLscl9XWSAOOAwqpHu/sLmhW/XVhKgvzGBGCZ/qhUBgWEvOkoBPtK0lkaY TMu10prmH3kqlnb2mx2V7ssj2qI05plyUVofdlecVN79yA09z/4j3zgJcZzp6D9Hr0dI rUsUQb27ndeQNA1LLQbIerUw2VZwNwoNuYbuV0t3igIjp6CvQF3wICa0zY+8b3t2v294 7w9WckZyZtFM/7TCDHn64q6XmEv9WMw7LtNZaQjYoBUCG2PPyTAhNC8AgCrhRQWhI1Ok U1dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4cQLsLHBibKCXET80IomNLXe7aKtZBxMhsEFPZH1Ilw=; b=CJEg1iZ3axcZl8pBZ6TLPMMTN3siMurL2UUTh3Fz0/NUKU9Ay90A7vBv9RkTYmoyvE VknY9lajBaxkVMPVLd9aNywoSP64K3k7TWJPzkwZRO4Ce1YR+pucvqf53XDjqoCwRniY AZ1NpMPt/z/muca/1PLxv3HNbNM8adY9gWmWZlvhtE9TRZAMDUXLvhib3PHxaAPEvBBH 3JeFMgFqs41tFg1VlhyDPS5M0t7w+Bu2x20XBlsHkJwGdeJ8LHpU03Cqt5hRHDNJZ7NF VbF74wLIKISqOseXDvFK0pxNCEoJ2g7W4tBjuPR4KPFVQTbnpaJxab8ySYlCFvjyl1yM 3+7g== X-Gm-Message-State: ACrzQf3m13iyeZ6pZVSv2FIB9BU0jkLzAI4VW+JDWIwRcq+j6xGpv3lv iBk8dqKdNTd3zexhBCySUStbIgEyEY+jZNOZl/9P4A== X-Received: by 2002:a05:6a00:1748:b0:563:8346:12ea with SMTP id j8-20020a056a00174800b00563834612eamr8498810pfc.23.1665506629981; Tue, 11 Oct 2022 09:43:49 -0700 (PDT) MIME-Version: 1.0 References: <20221011031843.960217-1-masahiroy@kernel.org> <08db7754-ecd8-4425-875b-4f2b44497f6b@app.fastmail.com> In-Reply-To: <08db7754-ecd8-4425-875b-4f2b44497f6b@app.fastmail.com> From: Nick Desaulniers Date: Tue, 11 Oct 2022 09:43:38 -0700 Message-ID: Subject: Re: [RFC PATCH] Remove Intel compiler support To: Arnd Bergmann , Masahiro Yamada Cc: Linus Torvalds , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Greg Kroah-Hartman , linux-ia64@vger.kernel.org, Miguel Ojeda , Len Brown , Nathan Chancellor , Nick Terrell , "Rafael J. Wysocki" , Robert Moore , Tom Rix , devel@acpica.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 11, 2022 at 8:18 AM Arnd Bergmann wrote: > > On Tue, Oct 11, 2022, at 5:18 AM, Masahiro Yamada wrote: > > include/linux/compiler-intel.h had no update in the past 3 years. > > > > We often forget about the third C compiler to build the kernel. > > > > For example, commit a0a12c3ed057 ("asm goto: eradicate CC_HAS_ASM_GOTO") > > only mentioned GCC and Clang. > > > > init/Kconfig defines CC_IS_GCC and CC_IS_CLANG but not CC_IS_ICC, > > and nobody has reported any issue. > > > > I guess the Intel Compiler support is broken, and nobody is caring > > about it. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > I am sending this to Linus and the x86 maintainers with RFC. > > If somebody is still using ICC, please speak up! > > Acked-by: Arnd Bergmann > > > I had the same thought a while back and tried to show that it as > already broken, but I never managed to actually download the compiler > at the time. > > It appears that in the meantime, Intel have completely dropped their > old codebase and moved to using LLVM[1], so my guess is that with the > current releases it will behave the same as clang. It might help > to verify that this is indeed the case if you want to add that > to the changelog text. This is my thought, too. I'm happy to help folks working on icx to get icx up and running for kernel builds, if there's interest. Change LGTM; there's probably some refactoring we might be able to do as a result of this; we might be able to move more common definitions out of include/linux/compiler-gcc.h and include/linux/compiler-clang.h into include/linux/compiler_types.h, but that can wait until after this change. Reviewed-by: Nick Desaulniers > > Arnd > > [1] https://www.intel.com/content/www/us/en/developer/articles/technical/adoption-of-llvm-complete-icx.html -- Thanks, ~Nick Desaulniers