Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp254218imm; Thu, 10 May 2018 19:57:45 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqP4lxk2SN7cb+nO9TpUvFFwxi4weN2vd6ao3/jd/a2r0mjNuXm+HlQEZ5ZRXLvFnrrcMnw X-Received: by 2002:a63:6706:: with SMTP id b6-v6mr3033240pgc.214.1526007465336; Thu, 10 May 2018 19:57:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526007465; cv=none; d=google.com; s=arc-20160816; b=XoZwC5+gkqpz4K0mVyACAJGWUmCwd7VN8B5gCT3/OxkWKqDPbLqMYr+EHOjA4XuPac YXuWRk2IwJ9yn5jALvvlBzeU1387QJvgVVGeCrCm59rVgsNjo9L9Pskq3N+8jNXfm5sv UULef+pj1GPcUIR9H3RNODhXPH1B7XHPVmj+U/40OTkezF8QxLyZia+NzKD+wJwlHfwO /kFkr6klXcegSoHgImOr1tnADJKgdbvBX/TR2+waylKVQzdlyROdbkrUFlnd/har2n5K exoQ/R5QRHm7/FJTwaB5BLrRj2dJ6wte8ovugzVGIAeEunlsHvRj9pBUI6ltZ1dYaPva WERQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=7BqpBalePY/UdFIx07O43/QEQNIFsMBGafVlLYhtIe8=; b=qF7dTHjPk60WVfXA1Qko/64rhOPed2fpXvqNcxq40+3LM3QpRsOrF2TR0XbjdGnYNO RRK/1Z2EKBD9R+L/7sZZQmqHLYKmRcRS1L/s2Lrf89kgRH+cXtggKIjKLqAFu475vNTB cMCOMkGZF1695lSomwzVlnFWsJasVC2NDWTl6tmSJZeD21zvaC88YMADh3wpJFvXXl9P jut2Li7NeIi5pwA4Ei51zBiEG1QGHOHaxUTe/IPjFmDJKWThNsHoaxPuGBmeNJ37EZkQ 1/gM9tmuHEOH702wOd2ZxQp9S7CbdMh9ovz8drShJiy5VwLXNyXxOgtu6hwGiaqElWpl Y/gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9-v6si2126392plt.232.2018.05.10.19.57.29; Thu, 10 May 2018 19:57:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbeEKC4O (ORCPT + 99 others); Thu, 10 May 2018 22:56:14 -0400 Received: from mga01.intel.com ([192.55.52.88]:41658 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751983AbeEKC4N (ORCPT ); Thu, 10 May 2018 22:56:13 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 19:56:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,387,1520924400"; d="scan'208";a="40899853" Received: from yexl-desktop.sh.intel.com (HELO localhost) ([10.239.159.124]) by orsmga006.jf.intel.com with ESMTP; 10 May 2018 19:56:11 -0700 Date: Fri, 11 May 2018 10:53:24 +0800 From: Ye Xiaolong To: Joe Lawrence Cc: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Philip Li Subject: Re: [PATCH v4 0/1] Add livepatch kselftests Message-ID: <20180511025324.GA17456@yexl-desktop> References: <1524680930-28168-1-git-send-email-joe.lawrence@redhat.com> <148c3baf-ab6f-c1f2-2911-79e5c8b361bd@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <148c3baf-ab6f-c1f2-2911-79e5c8b361bd@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Joe Sorry for the late response. On 04/26, Joe Lawrence wrote: >>On 04/25/2018 02:28 PM, Joe Lawrence wrote: > >> [ ... snip ... ] >> >> base-commit: 0adb32858b0bddf4ada5f364a84ed60b196dbcda >> prerequisite-patch-id: 5ed747c1a89a5dc4bba08186e21f927d7f3bf049 >> prerequisite-patch-id: e9800288b71a9f339ea066e58d9ef70dece67083 >> prerequisite-patch-id: 415f2e190b1b50142c78f2940c7b8dd39b5321a0 >> prerequisite-patch-id: d229d9cf08af087e0a758d9df1da467103c2c200 >> prerequisite-patch-id: b8c7ef99b13c6b321cba5e8919ed0b3e29f213e9 >> prerequisite-patch-id: 4e10c0d08f151b18310fe0b1e5013d62db94cfeb >> prerequisite-patch-id: 33046b190c114d202f3a52e0e274dbb2b1907a4c >> prerequisite-patch-id: 6978944a725756317dd4e005d479b6101784aaf0 >> prerequisite-patch-id: cce9d3c7e1ae8887f387ca9e072552dc63479749 >> prerequisite-patch-id: c44ccc5dd7b1be6fe2b1f32ca6abde1da73fae79 >> > >Hi kbuild test robot folks, > >I attempted to use the --base option with git format-patch as suggested >by Philip, but the bot still sent me mail (addressed only to myself and >cc'd kbuild-all@01.org) about build test ERRORs against the wrong base: > >> [auto build test ERROR on v4.16] >> [also build test ERROR on next-20180424] >> [cannot apply to linus/master jikos-livepatching/for-next] I noticed this error report was for [PATCH v3] selftests/livepatch: introduce tests which doesn't include the base commit info. > >I'm assuming operator error :( Here's a summary of my workflow: > >* Save an .mbox of the entire base patchset, as posted to the >live-patching list: > > https://lkml.org/lkml/2018/3/23/665 > >* Create a "base" branch and apply the mbox: > > % git checkout -b test_base v4.16 > Switched to a new branch 'test_base' > > % git am /tmp/pm.mbox > Applying: livepatch: Use lists to manage patches, objects and functions > Applying: livepatch: Free only structures with initialized kobject > Applying: livepatch: Add atomic replace > Applying: livepatch: Add an extra flag to distinguish registered patches > Applying: livepatch: Remove replaced patches from the stack > Applying: livepatch: Remove Nop structures when unused > Applying: livepatch: Allow to replace even disabled patches > Applying: livepatch: Atomic replace and cumulative patches documentation > >* Create a new dev branch from the base, make a trivial change and commit: > > % git checkout -b test_branch test_base > % sed -i 's/^EXTRAVERSION =/EXTRAVERSION = .test/' Makefile > % git commit Makefile -m 'test commit' > >* Create .patch files with --base: > > % git format-patch --base=v4.16 -1 --cover-letter > % grep -e '^base-commit' -e 'prereq' 0000-cover-letter.patch > base-commit: 0adb32858b0bddf4ada5f364a84ed60b196dbcda > prerequisite-patch-id: 5ed747c1a89a5dc4bba08186e21f927d7f3bf049 > prerequisite-patch-id: e9800288b71a9f339ea066e58d9ef70dece67083 > prerequisite-patch-id: 415f2e190b1b50142c78f2940c7b8dd39b5321a0 > prerequisite-patch-id: d229d9cf08af087e0a758d9df1da467103c2c200 > prerequisite-patch-id: b8c7ef99b13c6b321cba5e8919ed0b3e29f213e9 > prerequisite-patch-id: 4e10c0d08f151b18310fe0b1e5013d62db94cfeb > prerequisite-patch-id: 33046b190c114d202f3a52e0e274dbb2b1907a4c > prerequisite-patch-id: 6978944a725756317dd4e005d479b6101784aaf0 > >I notice that these patch-ids are only added to the cover-letter... do I >need to force them each individual patch as well? /confused I think the work flow you described above is ok, you can just send them with git send-email after doing that, and base commit/prerequisite patch info in cover-letter is fine, the question here is I can't find the patch emails of your patchset except the cover letter in 0day's mail archive, do you send them as a whole series, could you tell the subjects of them so I can take a look in 0day's log. Thanks, Xiaolong > >Thanks, > >-- Joe