Received: by 10.192.165.148 with SMTP id m20csp2152165imm; Thu, 26 Apr 2018 06:47:29 -0700 (PDT) X-Google-Smtp-Source: AIpwx49vpw2Ag6terfsOATyfvdXfia6smyVrBNbmRuSVNK//F86JRkpb0jc4MMY0USQwmYwL9Xok X-Received: by 10.99.124.20 with SMTP id x20mr27871390pgc.161.1524750449518; Thu, 26 Apr 2018 06:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524750449; cv=none; d=google.com; s=arc-20160816; b=BZ8FOpyZWSDxJi7lHn61ULjmhXbZ2KgeiGK00aex8N+ODbhgGxczy9N0C3hPCeOSBd 38eEb20SnaCxaISC+dMN7oooD5LbW+Xpu4EZk459Md5Q/2egpahHMVTe+bfcGlUj3WL7 nyuiIgb/4BKUzoLzsSYi4rzTViGcD3NuCZkLOgjHKdRGFuwLuzD+SQntm7Segoh8aREv cXdaqQxAi3N2tORB0ATfUsJGX9uxcPHOTl8fYNetY3+iFoiGGFxBp5BKPtzjjGjDPjlu XLFRC9S3RmmTWA2ylAMlmuS+rnPNY5KqGk8als/JhoMuyxFEoNU6P1UZBcWXDhZB4xJK JwZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:from:subject :arc-authentication-results; bh=60QFt4iIWWuHiN5IRx1vDIciyYutv4NwrHLP/uNNsTo=; b=Q3OQg9p+O605e7LW31tIWQGVap0Zdu2LZqH57UA2rfOI2rXZbTEkGiQh26bChhqiUJ BnTCFSeynfUDZpu4EnVzMc/GFowPXjndYQuAcJUDQOvz/tctkDQwke8BVjbHBo+CRgCv CLyIsOs/t24rZ30sEN0eAHRmS1yNc3Tu39YBz3B+pTVuzkzWFnbDG49Ci7ocCJpcxMFI hhWhzHowMHA/3+YqDkBErKWbAnxd1Ah0PisqRndQ4hsS9xHdY62jBbANegYmYvPY+jWA o8pFolVKUQSQCh1X9Qo5eO5wJ1DFeO0IZjJo5zlcp4SqiJzjn1fzRPMYeGMgU4KbSDyl 7zlw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v2-v6si19190667plo.138.2018.04.26.06.47.14; Thu, 26 Apr 2018 06:47:29 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932124AbeDZNpJ (ORCPT + 99 others); Thu, 26 Apr 2018 09:45:09 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:51954 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932091AbeDZNpE (ORCPT ); Thu, 26 Apr 2018 09:45:04 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DD470406E8B9; Thu, 26 Apr 2018 13:45:03 +0000 (UTC) Received: from jlaw-desktop.bos.csb (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7229215CDC8; Thu, 26 Apr 2018 13:45:03 +0000 (UTC) Subject: Re: [PATCH v4 0/1] Add livepatch kselftests From: Joe Lawrence To: live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ye Xiaolong , Philip Li References: <1524680930-28168-1-git-send-email-joe.lawrence@redhat.com> Organization: Red Hat Message-ID: <148c3baf-ab6f-c1f2-2911-79e5c8b361bd@redhat.com> Date: Thu, 26 Apr 2018 09:45:03 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <1524680930-28168-1-git-send-email-joe.lawrence@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 26 Apr 2018 13:45:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 26 Apr 2018 13:45:03 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'joe.lawrence@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >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'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 Thanks, -- Joe