Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp974311lqs; Wed, 6 Mar 2024 02:26:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV0bUATOYgloCymB3ZPnBmksIOpWLLVNAVuIgCMdvebBkT/za1rSLKNheXreCAwI24DdDx2eJkCPrXDhbHsU12Rx1x1tCGQoSKRm2Oz5A== X-Google-Smtp-Source: AGHT+IHqJIzIk+DOV/oLQBnxQp9/zc/yhCt1qMdXJGpN+3QPCjs1cGGRsWH2lC6bdH5uLCi0zC44 X-Received: by 2002:a17:906:4909:b0:a45:8ded:9a48 with SMTP id b9-20020a170906490900b00a458ded9a48mr3505881ejq.77.1709720779909; Wed, 06 Mar 2024 02:26:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709720779; cv=pass; d=google.com; s=arc-20160816; b=ZBakMvRVSk8eW05RvYBIYcnicXWGGmY7XExO4WwEtDuXCjfAjP76RC6+qv9oUCMnYW CAaZj1Xu+l67rNuqLYs5fEx8NxS0FVaKB1dJsqV+6OWduTExNyxppr0P9dk4UomKBm/W kEwleDa/MQypOL4+hVF/sy05KL/uHgKrj6r8f2sJswdzBBvAslLBrRW236xHi7wmOwUz YXo0AyWVUZUfGyNRzvI3Asl53Ffu7o27VChfttP2cSabQwYeIi7TX/x1wyfg1zZ+lUIK oSVD+lJRSO+iR5yFdLI19GJ9f18scUV7kFH48ZmKehR9tuMz+nZ2OT7wu1hog4NrTgoL eUjQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=XGXxcRXiSFSlEVDs0wpig5xEkbMMXVzGjVpdKv2fDjM=; fh=lQ2M4e1FRnWVc02SlCLk2j1DdH8ys+lfLCZTieMVhWc=; b=aX8Vq9bW4BQ2aJSP3VP85VgNs83WldQDO7bZDrsG47tl7u6nzv5XAOhnV+3IpUIme5 NOFWrSaAaWfpkkKL+lGd2ltNLfmcn81XnVhoVyurCCRQKrwWAwrSAlgxDg6lbyv5rJc6 79oLUrQbfzM9Ool4oNP3R0a2EcZ/VFl5Mh3yjoB16ysYdmgS18P0up90MaeCa8PiabD+ GSN42jVABE2wMR2bza080z6GCFOPm72O0YxOgWG0Zw0JgOBvxsf3qWFxoEQDlTyw7PaW F5gzYaqNI5nCet3kA4x78rWwPlcT5IA9zGdpozhcmkU2Sl82NpDdEUUlQA6ODcyDEzmU wyNg==; 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-93748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93748-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id nb14-20020a1709071c8e00b00a452187d4a5si3217828ejc.654.2024.03.06.02.26.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 02:26:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-93748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93748-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 9924E1F2B21C for ; Wed, 6 Mar 2024 10:26:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0F44604A5; Wed, 6 Mar 2024 10:25:12 +0000 (UTC) Received: from out187-18.us.a.mail.aliyun.com (out187-18.us.a.mail.aliyun.com [47.90.187.18]) (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 E732E5FDC8 for ; Wed, 6 Mar 2024 10:25:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=47.90.187.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709720712; cv=none; b=ruzISdTa0IcHsIYHFq1rj4N47PcWtFQSkfX3MObcQMiX0yv/xXnB2OBijFEszS93w9E9IUx2PT9WWZLbtvrajq/LfsG+8u81Hkepf48If6NZNCmnTeFrT2uCj70IlTiYv68xq1EHUUAy/d+mXlSDZCYDVZ/2SJXZhSoLYsn1Je0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709720712; c=relaxed/simple; bh=oOu1pkOWoktHS4cvFVRB8OTOFr1IdzINy46KO6Q5sFo=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=M4Elo8Z0JnLQIAGhbteLiSv+QoJBdOSuCemX3y9X0uB4mu9axMmKnn/sKnUjVjsrKKhibzG5w2130Zx0G2PeKkcgPZDD0L6tedm63MopeT3Nfh32EUhV0ww1rZs6zSuVp0MQuNfEJ7kcpsxxfxmAy2WJiuZuPAFE3myfIoSBOwc= 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=47.90.187.18 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=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018047205;MF=tiwei.btw@antgroup.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---.Wgbn-I5_1709720375; Received: from ubuntu..(mailfrom:tiwei.btw@antgroup.com fp:SMTPD_---.Wgbn-I5_1709720375) by smtp.aliyun-inc.com; Wed, 06 Mar 2024 18:19:40 +0800 From: "Tiwei Bie" To: richard@nod.at, anton.ivanov@cambridgegreys.com, johannes@sipsolutions.net Cc: , , , , "Tiwei Bie" Subject: [PATCH v3 0/9] um: Minor fixes and cleanups Date: Wed, 06 Mar 2024 18:19:16 +0800 Message-Id: <20240306101925.1088870-1-tiwei.btw@antgroup.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) -- 2.34.1