Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp229512lqh; Thu, 30 May 2024 22:13:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGz04gehMmV1GWh26ndCRgbaZvyAJMGuI5eV6LUWlKsdbnfm7WCh/7lg8/bAj53kcPQsXXz/FtVMqwJqwfyq8Hcy27g5e9E3EZMNPhbw== X-Google-Smtp-Source: AGHT+IHfMEjYt4zLEbATafd4kueCke3+a0Yc2nuYBPlQGeQ9ZcDHQet0HrYwH1dLNmtoqVCaJmX4 X-Received: by 2002:a05:6a20:12ce:b0:1a7:5fe0:1c96 with SMTP id adf61e73a8af0-1b26f139493mr1066784637.23.1717132399332; Thu, 30 May 2024 22:13:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717132399; cv=pass; d=google.com; s=arc-20160816; b=Fud0ZOoiLtLoGeGmNlBZHVBhThnxnc3AEeTdaeml4arbgMv7P1G3VFGa2KX0zebZ1Y Ung0qrwKCbMaSDEogC+sEZkTAIL/z8RQ+//RIT2JCUKylJc3ZrWgN1FbmLMuGZKA9qOi hfPS7kb/n/+nNm0V295f/l+H3tVk6MZrXcyVd63K0bdIPnJvISgy/jFypG3jUIgyTH3S 9j0aCayEmUDxUYkjFSJQ7q4wKE7pVVnQ28MmNndpUI+Hp6Jo9pw94ljJZNLuX6n4M92i jfKscNdNsw/Lp5dKwFCbGDXP0VE7EVTFxg9gkwAK6GJRXW98q/kFLfemI3apz5YjRYHC SgCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=3LgIsVLJ2CkB8Cigqsf5906dYPsTa68w3iaQBqe0IrQ=; fh=iHqN+yXckJ/E7sqY2mV5f1L4c34QYwR1+wzLmDWBSQE=; b=ya5pTSDVPUS+tNfw5JrKUhmy6fonWD7I7IfcqvyEf5pRD2V+oWAo3fcSZCrDPBHs60 tU5zIfnKR41Xmw5hcz4+8pzLI3qQ7kgkyj8O5U0YQW+d6pb5x7pc1pZMb7C/nY+kFzKL ZzQ5y43gAoM2acSL815Ai1SOjalsHCNjMI9TST/bxA+CCxs0bF4k1xFOxb0EuVcCpHrs bWtXozKnNfg2V8k46rmTbhX+fj3O3Caj+8pzW9O0/XclmeZyRXk270Zsdv3hSZh/EOeW FAv1KBDv/BLPnnvTUYhZtSDKZaDq9jSfhN9c945iCiP52vHMJgOSJ7wvlQCzUIvGrXsI Qqaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Qly1+aQX; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-196287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1c27cb238si909943a91.52.2024.05.30.22.13.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 22:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-196287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Qly1+aQX; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-196287-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-196287-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DD85B286BFE for ; Fri, 31 May 2024 05:13:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 954D07B3FA; Fri, 31 May 2024 05:13:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Qly1+aQX" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FD3F381BD; Fri, 31 May 2024 05:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717132392; cv=none; b=iXamH+lDr8H79E3hklKcRBVQ/N8WUDvB0ZASxwJZOXWVu6p2AkvHXU2gaLYDd8+Y3BmjnKKaJEGoIkuB444+GntdN1C8Tbz8FgL+7CelCAEUOQ1/9vSaGcvnvlu4t5I6HOzdsAr7KCT/gh6w/6vfF/VaZ0ksq+quiRdfovR1gvM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717132392; c=relaxed/simple; bh=b5oTgEHypoLU04Soul9aD7/hN3gfq8N62zQkzfMozmA=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=mWtOPcj5s4m/T2wgkwP+P6zorpvt7X7+pa6IW55f0nPAMrJzaN90W8hJTeKzqMb5DxQ+CPPpnf2rY1AdN0WMvoj5n0CiGiUtAfevYNymnMdYR8pVWm7b2xqVzi4hLcvPHvOorPzhLAVchTwgKyZ8k5LO9L0tFIOvs+EaF0XY/9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Qly1+aQX; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1717132384; bh=b5oTgEHypoLU04Soul9aD7/hN3gfq8N62zQkzfMozmA=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=Qly1+aQXX+Q9QgvNB6YeqqXdk4JqGbpD0uuhzzy05r9DOHW8wPXb7/Sv2ntceoBoM FRZn63gay2StC0J25Fj6TYYBeArWWgBWAGuXzf/TTfiGAym/cd5S8aefJ9FIKjh5au onKX4mHg5NGZbM3MNeChtdrknXfVjlRBZVnuUoQEkLWjJHq0tpp65DQ7Ue9C0o6Li/ zbo5st5AAGtdkRsTUVnKsqKpU2bILqVz78Q/jgJkU/QPmi/I8jmzAs3WFAHnUiLTNe o+4EKaP8U6PnVBIHqBR3dOWh/yDk8E7AGYTanKScQqJUHrks7KVKmKRZJ9lM0BlEOI 2pXht4AEkkerg== Received: from [100.113.15.66] (ec2-34-240-57-77.eu-west-1.compute.amazonaws.com [34.240.57.77]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 40D4D378148F; Fri, 31 May 2024 05:12:56 +0000 (UTC) Message-ID: <046d2d1d-3583-426b-b745-59f3696fb418@collabora.com> Date: Fri, 31 May 2024 10:12:26 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , angquan yu , "Kirill A . Shutemov" , Ingo Molnar , Binbin Wu , Alexey Dobriyan , Rick Edgecombe , Sohil Mehta , Yu-cheng Yu , Dave Hansen , Valentin Obst , linux-kselftest@vger.kernel.org, LKML , llvm@lists.linux.dev, x86@kernel.org Subject: Re: [PATCH v2 0/6] selftests/x86: fix build errors and warnings found via clang To: John Hubbard , Dave Hansen , Shuah Khan References: <20240527210042.220315-1-jhubbard@nvidia.com> <4d2c93e8-5ab0-4b28-af24-c00d57f359fe@intel.com> <44428518-4d21-4de7-8587-04eceefb330d@nvidia.com> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: <44428518-4d21-4de7-8587-04eceefb330d@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 5/31/24 1:00 AM, John Hubbard wrote: > On 5/30/24 12:46 PM, Dave Hansen wrote: >> On 5/27/24 14:00, John Hubbard wrote: >>> John Hubbard (6): >>>    selftests/x86: build test_FISTTP.c with clang >>>    selftests/x86: build fsgsbase_restore.c with clang >>>    selftests/x86: build sysret_rip.c with clang >>>    selftests/x86: avoid -no-pie warnings from clang during compilation >>>    selftests/x86: remove (or use) unused variables and functions >>>    selftests/x86: fix printk warnings reported by clang >> >> John, could you and Muhammad have a chat and perhaps settle on a series >> series that gets acks from both of you? >> >>> https://lore.kernel.org/all/20240501122918.3831734-1-usama.anjum@collabora.com/ >> >> I had Muhammad's in my queue and didn't realize we had two overlapping >> series' bouncing around until now. > > Aha OK. Muhummad, after looking through this, I see that our > test_FISTTP.c fix is identical, and that's about it. My series goes > a bit deeper IMHO and completely fixes all the errors; the tradeoff > is that it is more intrusive. Which I think is appropriate. > > Would you be OK with my posting v3 that uses your patch for > test_FISTTP.c [1], and the rest of my patches for the rest? Yeah, sure go ahead. I'll test/review the v3 series. > > > [1] > https://lore.kernel.org/all/20240501122918.3831734-7-usama.anjum@collabora.com/ > > thanks, -- BR, Muhammad Usama Anjum