Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3400327lqp; Tue, 26 Mar 2024 08:12:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWdc/Ck7v+KCCjIpl1AiAGx3Igb9IRJVQGboML8wuKWTqLTt86gne2CdxyDYYE6ojLMg1gQyyXLiSQZFy7XK2x5oBW6xQ4OVOjnmKh7WQ== X-Google-Smtp-Source: AGHT+IEwo62SB2lzPku6grSjuO0YwUOjde7TkXgq0VBnPGo5D4+JmD/S9FATjjSTn98PrF05/YB8 X-Received: by 2002:a17:907:2d9f:b0:a4a:20df:e032 with SMTP id gt31-20020a1709072d9f00b00a4a20dfe032mr5338448ejc.66.1711465966614; Tue, 26 Mar 2024 08:12:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711465966; cv=pass; d=google.com; s=arc-20160816; b=blxb3ZWVCxT9XBaQtH+t3Ie2Q7r/HGqTlZv8qhItsn1/RLjuKuXCWqe3BcfeZaiHhw 25Vyj/vihQPDkiRVpzgjJc1Kk1IpQuEDaMqusSN/YlxGFxt6CzRBGBgwgtnAX5FQh3x/ E/TJoXkJ+TADMicJlea9eKdRJ1VxOaZv++5qOSlnqrdfs4wadO0jcRBQGnyj5aImzdJo +Op6j/FObH1F6A74Obhfs2JbEixWDCh1PGNr9CwelNy6HIclBq1BHaQRzQ7pSTfhv1nF aXiReBHDIo1rKZ7AG7cMBe5aNATPTvz6D+G0myr6bcdVnutC5NSMf2KxKX7cVl1V+60/ 3Cyw== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=40q98yBWD7xSonO0NjX37rwqaQ+PXA3Wuqyv7TRfrXM=; fh=j+ed9K/inH08CN8vMh3Zi6MofKh/4f9agGNmvEnlPFs=; b=CDCoAMsrMpTfmS3lLbqqTrzSyfjVvINVTbu916uP+tN7JAPdSsqGn+4o10D8QOG6hu N1GH7rbwTSRvPJTMuuT+lP0IVGl0LUH47davS0Vz068UsmmVs+fnK0+K1dee1gt203e0 qGt70sJjVCUDPdmwMkzwOdEGrl5YGOvg/+wThr6Cx0XhL3YrsM0G9UMpMypejYE6+qyq eNiiCCLrXK8j4Isa/2tUd98yIfk9VCZof2q9QoI94rcIGjR2JMhcyfqKOQseD3XNnvtj HAvdI1HYF0cyAhRx7h3H/TtFqMaNBBmnETc97mV1XWAJtYqy6bjiw96DBq1l/jLb3KVt /K3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-119271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id fy24-20020a170906b7d800b00a46652a8325si3601778ejb.149.2024.03.26.08.12.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 08:12:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-119271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=antgroup.com dmarc=pass fromdomain=antgroup.com); spf=pass (google.com: domain of linux-kernel+bounces-119271-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-119271-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=antgroup.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 30EC31F2DCC0 for ; Tue, 26 Mar 2024 15:12:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A70B713C69A; Tue, 26 Mar 2024 15:12:38 +0000 (UTC) Received: from out0-206.mail.aliyun.com (out0-206.mail.aliyun.com [140.205.0.206]) (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 8F8BB1CAA5 for ; Tue, 26 Mar 2024 15:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=140.205.0.206 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711465958; cv=none; b=H7eWbG0/Z8vxsoOZFAnu9Wpws9UM27phr+bOO4iQynkXpgNpyx7M2FNfLgCAkpSGtxVfCxoOvwDoaPehI5tlsvsV1Uffy2Sf3rzc++wiCplaOK3+WZgkOtahWcPfxDg3dTqp2GFLxRHMiPNh93R/1KNWlnxzDhtueynQAJhzVgU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711465958; c=relaxed/simple; bh=MYV9TzwGRyjDceakpJ5Cs2ISDl1dg5au4U578vK7RFc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=IIs2Ohzh+vzFh3JjMnWJFhiOEZ7gYimgRoMe8lHQD8bu5yIO+bwGzwnX+HSD17BFJmEuK7XMa30imx6RWmzuOSpkgLAgloCsycz4YpNNnYwnOtO0lwPhGlDLlK8iqEZKQC0Y76quhB3P2KYX/k9Aaz7qxkFp8CNe8qcaE3ybRVE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com; spf=pass smtp.mailfrom=antgroup.com; arc=none smtp.client-ip=140.205.0.206 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=antgroup.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=antgroup.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R911e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047209;MF=tiwei.btw@antgroup.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---.WwaCo0l_1711465551; Received: from 30.39.128.129(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.WwaCo0l_1711465551) by smtp.aliyun-inc.com; Tue, 26 Mar 2024 23:07:11 +0800 Message-ID: <9e396277-f742-41d7-be82-290c0b2368d2@antgroup.com> Date: Tue, 26 Mar 2024 23:07:11 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 0/9] um: Minor fixes and cleanups Content-Language: en-US To: Lucas De Marchi Cc: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net, jani.nikula@intel.com, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org References: <20240306101925.1088870-1-tiwei.btw@antgroup.com> From: "Tiwei Bie" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 3/26/24 10:16 PM, Lucas De Marchi wrote: > On Tue, Mar 26, 2024 at 08:27:25PM +0800, Tiwei Bie wrote: >> Hi, >> >> Gentle ping.. Please take a look at this series if possible. The changes >> in this series are very straightforward, so it shouldn't require much effort >> to review. But they cover a wide area, making them prone to conflicts >> with other patches :/, e.g. >> >> https://lore.kernel.org/linux-um/20240326073750.726636-1-surenb@google.com/T/#u >> >> Sorry to be impatient, but pinging this. This series was originally posted >> two months ago, and hasn't received a review yet. Just want to make sure that >> this series is not lost.. >> >> PS. I have tested this series on both of 64bit and 32bit platforms manually. >> There is also a CI test report from patchwork@emeril.freedesktop.org: >> >> https://lore.kernel.org/all/87bk7rzj70.fsf@intel.com/ > > > yeah, it's a clear improvement. > > For patches 1-5 and 7, feel free to add my Reviewed-by: Lucas De Marchi > I commented on patch 8 as I'm not sure it's the right approach and same > thing applies to patch 9.  Patch 6 I'm just not sure as it's the first > time I see that file, so I will leave it to others. Thanks for the review! I do appreciate it. :) Regards, Tiwei > > thanks > Lucas De Marchi > >> >> Thanks, >> Tiwei >> >> On 3/6/24 6:19 PM, Tiwei Bie wrote: >>> A series of minor fixes and cleanups for UML. >>> >>> Most changes in this series are very straightforward. Please consider >>> picking this series for v6.9. >>> >>> There are still some remaining -Wmissing-prototypes warnings. I plan to >>> send a followup RFC series first to fix those warnings. >>> >>> Feedbacks on this series would be appreciated. Thanks! >>> >>> Changes since v2: >>> https://lore.kernel.org/lkml/20240205114708.25235-1-tiwei.btw@antgroup.com/ >>> - Add "um: Move declarations to proper headers"; >>> - Add "um: Fix -Wmissing-prototypes warnings for text_poke*"; >>> - Add "um: Fix -Wmissing-prototypes warnings for __warp_* and foo"; >>> - Make do_set_thread_area() static; >>> - Add the missing header for calibrate_delay_is_known; >>> >>> Tiwei Bie (9): >>>   um: Make local functions and variables static >>>   um: Fix the declaration of vfree >>>   um: Remove unused functions >>>   um: Fix the return type of __switch_to >>>   um: Add missing headers >>>   um: Stop tracking host PID in cpu_tasks >>>   um: Move declarations to proper headers >>>   um: Fix -Wmissing-prototypes warnings for text_poke* >>>   um: Fix -Wmissing-prototypes warnings for __warp_* and foo >>> >>>  arch/um/drivers/pcap_kern.c                |  4 +- >>>  arch/um/drivers/ubd_user.c                 |  2 +- >>>  arch/um/include/asm/ptrace-generic.h       |  3 ++ >>>  arch/um/include/shared/as-layout.h         |  1 - >>>  arch/um/include/shared/kern_util.h         |  1 + >>>  arch/um/include/shared/um_malloc.h         |  2 +- >>>  arch/um/kernel/kmsg_dump.c                 |  2 +- >>>  arch/um/kernel/mem.c                       |  2 + >>>  arch/um/kernel/physmem.c                   |  3 +- >>>  arch/um/kernel/process.c                   | 48 +++++----------------- >>>  arch/um/kernel/ptrace.c                    |  3 -- >>>  arch/um/kernel/reboot.c                    |  1 + >>>  arch/um/kernel/skas/mmu.c                  |  1 + >>>  arch/um/kernel/skas/process.c              |  5 +-- >>>  arch/um/kernel/time.c                      |  7 ++-- >>>  arch/um/kernel/tlb.c                       |  7 +--- >>>  arch/um/kernel/um_arch.c                   |  1 + >>>  arch/um/kernel/um_arch.h                   |  2 + >>>  arch/um/os-Linux/drivers/ethertap_kern.c   |  2 +- >>>  arch/um/os-Linux/drivers/tuntap_kern.c     |  2 +- >>>  arch/um/os-Linux/main.c                    |  5 +++ >>>  arch/um/os-Linux/signal.c                  |  4 +- >>>  arch/um/os-Linux/start_up.c                |  1 + >>>  arch/x86/um/asm/ptrace.h                   |  6 +++ >>>  arch/x86/um/bugs_32.c                      |  1 + >>>  arch/x86/um/bugs_64.c                      |  1 + >>>  arch/x86/um/elfcore.c                      |  1 + >>>  arch/x86/um/fault.c                        |  1 + >>>  arch/x86/um/os-Linux/mcontext.c            |  1 + >>>  arch/x86/um/os-Linux/registers.c           |  2 +- >>>  arch/x86/um/os-Linux/tls.c                 |  1 + >>>  arch/x86/um/ptrace_32.c                    |  2 - >>>  arch/x86/um/shared/sysdep/kernel-offsets.h |  3 ++ >>>  arch/x86/um/tls_32.c                       |  2 +- >>>  arch/x86/um/user-offsets.c                 |  3 ++ >>>  35 files changed, 63 insertions(+), 70 deletions(-) >>> >>