Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp3071115rdb; Mon, 4 Dec 2023 16:21:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IETtkjU2V+Y/NMsDGFgobu1xGF1JeySHjNOg9Vk+c2jgtdKOV4nQ3Crqy4z8s4IVttsIgF+ X-Received: by 2002:a05:6358:592a:b0:170:30db:1188 with SMTP id g42-20020a056358592a00b0017030db1188mr2118458rwf.24.1701735694479; Mon, 04 Dec 2023 16:21:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701735694; cv=none; d=google.com; s=arc-20160816; b=0kCwQlchfE6yobZfRkauRLTNFIffxvWcn+z8zf9N8XMdJpJRhmdO/8oBRdWqDYv/k1 X8dV21VHCOe73XnhVY1Nwrf9/zyqQYWXHd6fepEOw4oCcSHj6tuS5y4/Q6GWQfE2rgiq CJ4hJiBftixi89UEr1x/UNdqK866hTl/lzr98TvxD1Buw40T7NuSv5pZbtiBB5XakPTJ uefjHwvXKj17zbnO4CwZVRrwo5/gT5tblve663noX3iveMpRbNdBiD/MpUAi6V4PbbkP r44JdUZUwc0MixSDRXz7Hg0lVxCiHaC5tp8B77Z774+6uZK1M5MVsuU0pYq8kI/An/DG i7Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WLC67jYq1zrTa9b74MVVKlqFqmV1Kih6WvNWfIs1/Ao=; fh=gsQHWT+DafVaBPqI6HgC8A855gULkvB9zACH2PCeee4=; b=aAfgJOal3FMheZeh67nT7hbVMlwnrXak0dXKvpkCAC252CIw8GlGOXyctJgPA64I6A mXka2uVMaiMeJDUEgymbGorHy1t7QcTT2PQPiTuXZXlg4p3RxQbhGVoXMw3taDVYwgww /XtHIuOhvN9UU+c4+c/P6GxK47w2UIkrdVOB4z+TRlGsQtqLzd/Qte8pLWLmtuQfIIEZ 20E9C6xNknPRcKi3Sw4Raf3kC7nfa2yVT8yVWEwYiKyi0AGf+Wwm5NZZBy9ySFdTLHr3 QC/Z+keqfkLhRmCb442A4QUjSeGFfVlAqXdNUWzXHdEWoqxlWSf1Y4WOj2EBrBNuwLPU P1mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="YX/ermrc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id c8-20020a17090ab28800b00285b7529e7asi8742121pjr.103.2023.12.04.16.21.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 16:21:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="YX/ermrc"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 83ED48080E18; Mon, 4 Dec 2023 16:21:19 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343628AbjLEAVC (ORCPT + 99 others); Mon, 4 Dec 2023 19:21:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbjLEAVB (ORCPT ); Mon, 4 Dec 2023 19:21:01 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA2A10F for ; Mon, 4 Dec 2023 16:21:07 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a00f67f120aso672409066b.2 for ; Mon, 04 Dec 2023 16:21:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701735666; x=1702340466; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WLC67jYq1zrTa9b74MVVKlqFqmV1Kih6WvNWfIs1/Ao=; b=YX/ermrcQfMYsHj/2iUiImNNAd44wJvFzQCSiKBLAqi7xdYabyCDawANL9tr+rIQ3i IuTTSpc3Bz/H1lfQrRmnclaU8I5Nns7bbJn/yoGaxNMIUsoce6qSvwBxRhdc+EE0R1lM oxFYDKaHhuon2H/gFMHoO+Q7ciF5UnfonvlK+wYMD2dPvFYdT9FpGOtXxgXYfKP69X82 +Uw72Xa0cNg+i22sxv4KYBhnZb2buAaHrW9pi3NWtA8iKJUNWAzHKDoDqAfmLfwhub93 pGfJiYSJmSSCwVsn8DxhXXvdho1M2wKJBzbUDWRO5L1PzolSegOjnb8tHehPApD67z++ Fgeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701735666; x=1702340466; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WLC67jYq1zrTa9b74MVVKlqFqmV1Kih6WvNWfIs1/Ao=; b=r67+D9BobOU+Tce3cJ5ITJDuT1NCVZl7avRNMJemXJrmSueniRUn+PfHOsHK32thTq bI3GFHfQSC9CsXlE8nPTPGfq+hMpKFQefMBrxHe8fgqVNMVnCthb0850Vobj3vx2RDx1 XmAeKIUccfO71ONRjYNtcJ80XekfNfWPrzWhFQeme14+0zbK3pK/77AYYkHGPTqDXog2 oC7X7FE7QHjan5D//YfQ6Y11BAqKc4XAm/gWOMZWQ9KI/2XMV3aYdpwZGzAx0cNKvoj7 TxrcVIwRGo0s4c5xmGWh1CJMNWPCoyuJT0zKEPF6k6+nVnv6ZuMw4oNcRH8t3J5xm+X7 ZDNg== X-Gm-Message-State: AOJu0YzDebnLEpsp/FpYhpL5bZz1e/PEbrgZw3ScQQeZ6bxCRpsRb1z9 kjS9Q42wJZ28LP1I7051JuQ= X-Received: by 2002:a17:906:5649:b0:a19:6d13:885e with SMTP id v9-20020a170906564900b00a196d13885emr3487299ejr.75.1701735666165; Mon, 04 Dec 2023 16:21:06 -0800 (PST) Received: from mail ([87.66.46.106]) by smtp.gmail.com with ESMTPSA id f20-20020a1709067f9400b009fd7bcd9054sm5928522ejr.147.2023.12.04.16.21.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 16:21:05 -0800 (PST) Date: Tue, 5 Dec 2023 01:21:04 +0100 From: Luc Van Oostenryck To: Uros Bizjak Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kernel test robot , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" Subject: Re: [PATCH -tip v3 3/3] x86/percpu: Avoid sparse warning with cast to named address space Message-ID: References: <20231204210320.114429-1-ubizjak@gmail.com> <20231204210320.114429-3-ubizjak@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204210320.114429-3-ubizjak@gmail.com> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 16:21:19 -0800 (PST) On Mon, Dec 04, 2023 at 10:02:31PM +0100, Uros Bizjak wrote: > Teach sparse about __seg_fs and __seg_gs named address space > qualifiers to to avoid warnings about unexpected keyword at > the end of cast operator. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202310080853.UhMe5iWa-lkp@intel.com/ > Cc: Luc Van Oostenryck > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Dave Hansen > Cc: "H. Peter Anvin" > Signed-off-by: Uros Bizjak Acked-by: Luc Van Oostenryck