Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp464469lqs; Thu, 13 Jun 2024 16:05:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2EYtAKMdVzhuNC5pdxjjoj8HxuED7+KIqlSVSYSIOuzfFM+49H8MjL/8LovjBVJMxxbaHLPIXEF21mys5ei/VF7yW3cq4xtn2pB4KrA== X-Google-Smtp-Source: AGHT+IFP3MVuQ+yF9BtYi7V/hgMgonOgmSNq4Sytc6N/6Gfjm3i4JH0h0NUlbkIOIq1qw6IxE2vv X-Received: by 2002:a2e:3c11:0:b0:2ec:528:6a16 with SMTP id 38308e7fff4ca-2ec0e47b5f6mr6017901fa.24.1718319942269; Thu, 13 Jun 2024 16:05:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718319942; cv=pass; d=google.com; s=arc-20160816; b=a3Q5+eWHvKFdepiqN/XTSCceMkdKB1B2Mb1SWMwGrApNQLuuhY9cjc0K/fv+OytQhm z9h0pi2ORmGzwjIXLb6zJB0hwc3vvnRV2EiPzf3Qm8/lpnobhwuR/1y9qI3hcoTYajhS OVJPef9uNb2GMy9ewlSiLqd2fJ47ehlrjcFn51vfSCqqadL0jpeXJbEaJyFMJzgot0mg BGkbc10moPE+toGAL2aMKEKmZIXLT8BUdPLnl6mKaK5L8g4/Lv6fA7bAfrJapFR/kUJb h+BI0Od8vx0Zabpdl9ipmS0ttwv4zgF0qoCouQPnALkv/OauvQAGGbBbXtJLz95HCMTg lSlQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Q7AAgLnmEYeIARDGD3RrKwEsOEZdNlWKsPjJWgH9uw8=; fh=t99o9pR63Tn9E7k9DRMmE+fX/TIWMh68eEvmTqalFOE=; b=eqY4km2W+b1QCoQO0yBX+WfnkcKnY1hVdRKaxlvRklTt4ry2V8OmOPKPc8nKIBs/kK 9a/V35hYrblyXrqfgXdY7hMilnwhLJC/o12tWu4rqWemtqXXiHKo8ycJ7NhE2+4wBtK4 Ku2J+04hq+2cK4SRttIIMg+7xXIFQguVhYKZAIpC9ClA3H7g3xydN5TIPd6lUsddFV+Q 9qX11TQXr/aMViUzcHP5dkoyEMkdHtqC9hrXAJKViBeoJBlNoTQFonO1ChA52tgxcFfC L1EGouMbNPMVzR1I6GjU3o2xqz6kzizdhqJlMaZvn8wKChI9Q1j1a39rTFrH7N9V3JpX Sw7Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LDtYgCaf; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-214083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57cb7447c30si1113202a12.448.2024.06.13.16.05.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 16:05:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214083-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; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=LDtYgCaf; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-214083-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214083-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 C7D841F239CC for ; Thu, 13 Jun 2024 23:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B528814E2E7; Thu, 13 Jun 2024 23:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="LDtYgCaf" Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 9934B1369AF; Thu, 13 Jun 2024 23:05:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718319929; cv=none; b=HTfeNLD31SbJDt0KZGUaRTXeVv4SHUSPIaxRD3IbFWw4R2DDrGcXu3pfjMmTg3AnmJ3AUfE/TH9wTgEVYlPBJtj+wMDvlDLo2NAzqwCtrA1Ghtpl0n5XahefXD77fZ/5eq4fb3OPOywGLNGIxgW0ka7jTCIAZuiwGYKQTk50EZ4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718319929; c=relaxed/simple; bh=J2V4BQsgrzwCnPPCNckcZfloaWh80A4wC9VQfx+cwKs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=N0jSMoUbcAHRviczC2hB1Mik87Ff3/5FDA87fFH/G2AWrAkBrwaSwKKqnEU16AyNPlx//OzBimwy+a+Ev6rUizg+//1N6IACdmRSiwon6wS3+i905jQ8xduiLvpB+MHF+U/9hyJ6ZUGyt/crUBBjirEfa1PRcFepqOBqCge1Ggc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=LDtYgCaf; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1718319924; bh=Q7AAgLnmEYeIARDGD3RrKwEsOEZdNlWKsPjJWgH9uw8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=LDtYgCaf0+p/6i0REe6j6O4J7U2GgdgzcswV6v7ZwLS3x7LzrZrE5p8T59XeAhy7t LjsmPVYqI8jGKXwftDJIkFys3uSpyYYmlx3AZI9erlbvmpO2Gy3gW2AkiIzIjElSZK g6Vt2E/rPfTgfposwNmP4/Zz3aCS4o4Be5gvgc6SDNJzAIObemvQnNZ4hzd4/LKRVa vdAVXGPPn2p8bNBQG2OKInkOan6n1iziPZtZe66MpLUugcXWl5BS0e/TnfM0LGsfmN 5rr4PnfjrfnR7ZJtK482O8z3MBnbpzz12OCLsviZFHPqjmv8R8wYAISp5sWNPPxO2o MXOVldAk1te+Q== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4W0dKv6FpBz4wcp; Fri, 14 Jun 2024 09:05:23 +1000 (AEST) Date: Fri, 14 Jun 2024 09:05:23 +1000 From: Stephen Rothwell To: Jiri Olsa Cc: Steven Rostedt , Masami Hiramatsu , Christian Brauner , Christian =?UTF-8?B?R8O2dHRzY2hl?= , Linux Kernel Mailing List , Linux Next Mailing List , Michael Ellerman , Mark Brown Subject: Re: linux-next: manual merge of the ftrace tree with the vfs-brauner tree Message-ID: <20240614090523.246f48e4@canb.auug.org.au> In-Reply-To: References: <20240613114243.2a50059b@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/pqlA1vpx455Q_K6YVmokT2X"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/pqlA1vpx455Q_K6YVmokT2X Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Jiri, [Cc'd Mark Brown and Michael Ellerman just in case they decide to do linux-next releases whil I am away.] On Thu, 13 Jun 2024 09:07:54 +0200 Jiri Olsa wrote: > > On Thu, Jun 13, 2024 at 11:42:43AM +1000, Stephen Rothwell wrote: > > Hi all, > >=20 > > Today's linux-next merge of the ftrace tree got conflicts in: > >=20 > > arch/x86/entry/syscalls/syscall_64.tbl > > include/uapi/asm-generic/unistd.h > >=20 > > between commit: > >=20 > > e6873349f700 ("fs/xattr: add *at family syscalls") > >=20 > > from the vfs-brauner tree and commit: > >=20 > > 190fec72df4a ("uprobe: Wire up uretprobe system call") > >=20 > > from the ftrace tree. > >=20 > > I fixed it up (see below) and can carry the fix as necessary. This > > is now fixed as far as linux-next is concerned, but any non trivial > > conflicts should be mentioned to your upstream maintainer when your tree > > is submitted for merging. You may also want to consider cooperating > > with the maintainer of the conflicting tree to minimise any particularly > > complex conflicts. > >=20 > > --=20 > > Cheers, > > Stephen Rothwell > >=20 > > diff --cc arch/x86/entry/syscalls/syscall_64.tbl > > index 26af003921d2,6452c2ec469a..000000000000 > > --- a/arch/x86/entry/syscalls/syscall_64.tbl > > +++ b/arch/x86/entry/syscalls/syscall_64.tbl > > @@@ -385,10 -384,7 +385,11 @@@ > > 460 common lsm_set_self_attr sys_lsm_set_self_attr > > 461 common lsm_list_modules sys_lsm_list_modules > > 462 common mseal sys_mseal > > -463 64 uretprobe sys_uretprobe > > +463 common setxattrat sys_setxattrat > > +464 common getxattrat sys_getxattrat > > +465 common listxattrat sys_listxattrat > > +466 common removexattrat sys_removexattrat > > ++467 64 uretprobe sys_uretprobe > > =20 > > # > > # Due to a historical design error, certain syscalls are numbered dif= ferently > > diff --cc include/uapi/asm-generic/unistd.h > > index 5b8dab0b934e,2378f88d5ad4..000000000000 > > --- a/include/uapi/asm-generic/unistd.h > > +++ b/include/uapi/asm-generic/unistd.h > > @@@ -845,17 -845,11 +845,20 @@@ __SYSCALL(__NR_lsm_list_modules, sys_ls > > #define __NR_mseal 462 > > __SYSCALL(__NR_mseal, sys_mseal) > > =20 > > -#define __NR_uretprobe 463 > > +#define __NR_setxattrat 463 > > +__SYSCALL(__NR_setxattrat, sys_setxattrat) > > +#define __NR_getxattrat 464 > > +__SYSCALL(__NR_getxattrat, sys_getxattrat) > > +#define __NR_listxattrat 465 > > +__SYSCALL(__NR_listxattrat, sys_listxattrat) > > +#define __NR_removexattrat 466 > > +__SYSCALL(__NR_removexattrat, sys_removexattrat) > > + > > ++#define __NR_uretprobe 467 > > + __SYSCALL(__NR_uretprobe, sys_uretprobe) =20 >=20 > hi, > we need one more change in tests (below), otherwise lgtm > I can send formal patch for you if needed, plz let me know >=20 > thanks, > jirka >=20 >=20 > --- > diff --git a/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c b/to= ols/testing/selftests/bpf/prog_tests/uprobe_syscall.c > index c8517c8f5313..bd8c75b620c2 100644 > --- a/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c > +++ b/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c > @@ -216,7 +216,7 @@ static void test_uretprobe_regs_change(void) > } > =20 > #ifndef __NR_uretprobe > -#define __NR_uretprobe 463 > +#define __NR_uretprobe 467 > #endif > =20 > __naked unsigned long uretprobe_syscall_call_1(void) Or you could change __NR_uretprobe in the patch set to 467, then this will become just a conflict and not a renumbering. --=20 Cheers, Stephen Rothwell --Sig_/pqlA1vpx455Q_K6YVmokT2X Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmZrezMACgkQAVBC80lX 0GzrUQgAi6RKxet5+upQje0Zmi+rxYK24YRJoiBJYS4FOhJjmVrfV30PhS4A0iRY 6rJLbmNQDJch+fanjTk9vgBnwWQyF7UM6u0llgJNJG1CIj9B+hzrly8vwlDQVrMb V9omSFNzdEPuACyBQxesJbT0WSSh7FhADWdgAs0fJbJ4bV+JJrUJjMUUk/gCH9yL jhT1Edundp6wSc8MMBTDDSh/qEJ7TZ+QaE3qy33hS5xtZ6IbbffTE0jIWmfqXpMM fy8XmSBqEb7aiODMsOGQQ40bkt445ZD/ov+YkdFmOQ+l17pd4nF8TGgY6homlbzc 02zfq8b8CoN+4Otx2GEyoQwX19fwVw== =dszQ -----END PGP SIGNATURE----- --Sig_/pqlA1vpx455Q_K6YVmokT2X--