From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B2E230C62D for ; Thu, 16 Apr 2026 18:18:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776363522; cv=none; b=vDCFI7dHCub5S2FcryuVhbaSPxpG3nPNG65rwUCsuL+vuj7A9VbpbBnd53EpUzT/ndwIb48pbu3ARsWPU1OsKLXfFyRGCEiyucEUVJ4TZnN8ts9IVepQIEkkYENeL8h6AXSz2ToJaTLvjJPmKQRDNZfp5Z0yy5x+/vR6lsJMF0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776363522; c=relaxed/simple; bh=/JP5B3xtS7Ie5nsMHxaQ37bFOgQhEf6+4x6V9drX/IE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=t8eVIXzZuezAK7UuT2GumtAPIKHQgWfq7hhe9a1kYdD6AY37sn9GtkkMZK0lT6pVR+9MluHVdNlhsLBclED3aE5zYXTXKEiZkgf4ddp4DSrQCtXHxjVVwJh+w5Bo9krJ4WAxSfDa4ahFNWhkTaABtFF0SuVUeRzErZxdA9YS4b4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=AKICb4Ne; arc=none smtp.client-ip=209.85.128.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="AKICb4Ne" Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-48374014a77so108514955e9.3 for ; Thu, 16 Apr 2026 11:18:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1776363520; x=1776968320; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:from:to :cc:subject:date:message-id:reply-to; bh=/JP5B3xtS7Ie5nsMHxaQ37bFOgQhEf6+4x6V9drX/IE=; b=AKICb4NeIlUjYIYB34rNop23COOcSRiz1aUfMNPYhg+1Zk9HJKOVR7sV+7uSWCbIae 3m3DE8M6FLYylJ4rk8ztFJI0gW3bWYsu/Ag//xw3F7D183VvIn639imispsMh4u05SN2 K26aRMBnQb5ZAZRp0slKKinLEGUpWVGODK+2mK0HO12Zzgw6k/0V/1S1iZVQSKYO62dB rZ8sbn5Q4GiwLFGTke52Zp0usLnuxHhlY7ebjZpPfUTPqF51wU7+1ogDS1xbagDN7UB5 bAMQJIfRs+9ebEh1d6MoxrTWIkm6raHeL52I9mFjVbkBqjkFlJJEImcRjo0K74Wy/LHD acsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776363520; x=1776968320; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/JP5B3xtS7Ie5nsMHxaQ37bFOgQhEf6+4x6V9drX/IE=; b=qIEB7itgZ1MonPwtZmGfM7sQeBBg8Jw7mYSfuP9rMjDA9BnaybV3bU2k6kasx+lHl6 FWpRwmT0gYYBQ9RAbndrpkpkpZgaV9mzuUy2DFvhu6CE1Vj78lSBorQ+75gJSL/2FYH0 8+am1/rJ9l6PCdB/by7FnQQBAslv11IlVSdNCUwSVHU65pTPXGEg+TRr85y/z0KYD4Rq hSu1KNo7h1bceY98gDZHtPW6/o0ASqz2jTtA/vcv9ZeQoF5GzCbY5Cw/taLzQwCtMGux oO5u4SP+7OOc40S2iiaatCo12l9ktEr+H7Ygy8rGtz/Vgh5SL8rLwQJKue8EsA3mHKuo pYsQ== X-Forwarded-Encrypted: i=1; AFNElJ/qFNtPKGH39TosioSgRMqInPjywqncoYyKbBKd667i89nS+9futRfSzNQTGq7N2nlT5RDEY5vJjfTBvLw=@vger.kernel.org X-Gm-Message-State: AOJu0YxxDfS2Y3Nw8uWbSfncJLnsYz2CZzC4DYFIcM8SDtyfsYlRT6SJ 6/WRyRgsXP/28+BP+aT5QYDprgbuou64c23+Z5gxIIU5j7tVFEOdh45zn+zHZx/Ur5s= X-Gm-Gg: AeBDietu5gloJ3UvRI+25jVnCdyq5+qGVHhYl5rfVR821Edfkbu0cgp3IQTDpX3uQiw lG7AJ28v7GO5FWbZTvF2Jh+Ew6IEs4OccLvzEEPkgPI91qU+dgr9z8ASi9aUukh37jihBsiYcoX dlIFWmoRTWxySaky7+DDJUD9wGIDMJziJg/eoCRK2zZiGak1L/fokelatBFYM7K/c2O7vMfCTbL ipxusCgYQsdgOw817ArerlluzYKXOV9QP/Gg54GV6joeUvvin0T12FkkIQR62SwqE3Z4CvMokRA 5jxgOL4mtH1ibxJ5l4Dz+D6kEBuhbvWLBn1496UwAF5j4CPszvCJ0gI4TEJEPMcAJgqovzCNUqL Nvnn0CEyjZLpfGTSgD1bm8qINgX91v+rctJNJE/UGvXjBFETcCAQdBY4oAZzv4CDaG0cFynAxfG 6qcxq/0rxzJTrJfk0TwmKJOxtoH+rVh28/EJKPAGuKqZ6ar1oYa6lUmzfiaN2ayZ59HijYOCtY+ 9i6TA== X-Received: by 2002:a05:600d:6:b0:487:1fc:14f9 with SMTP id 5b1f17b1804b1-488fb27d7dfmr93845e9.15.1776363519720; Thu, 16 Apr 2026 11:18:39 -0700 (PDT) Received: from ?IPv6:2804:1bc4:224:7800:585c:db3a:fcb:e21f? ([2804:1bc4:224:7800:585c:db3a:fcb:e21f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488f57da2aesm118706255e9.0.2026.04.16.11.18.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2026 11:18:39 -0700 (PDT) Message-ID: <5fb3ecf5a13bdf459019f6f011f3507593498875.camel@suse.com> Subject: Re: [PATCH v2 0/6] kselftests: livepatch: Adapt tests to be executed on 4.12 kernels From: Marcos Paulo de Souza To: Josh Poimboeuf Cc: Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Shuah Khan , live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 16 Apr 2026 15:18:33 -0300 In-Reply-To: References: <20260413-lp-tests-old-fixes-v2-0-367c7cb5006f@suse.com> Autocrypt: addr=mpdesouza@suse.com; prefer-encrypt=mutual; keydata=mDMEZ/0YqhYJKwYBBAHaRw8BAQdA4JZz0FED+JD5eKlhkNyjDrp6lAGmgR3LPTduPYGPT Km0Kk1hcmNvcyBQYXVsbyBkZSBTb3V6YSA8bXBkZXNvdXphQHN1c2UuY29tPoiTBBMWCgA7FiEE2g gC66iLbhUsCBoBemssEuRpLLUFAmf9GKoCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgk QemssEuRpLLWGxwD/S1I0bjp462FlKb81DikrOfWbeJ0FOJP44eRzmn20HmEBALBZIMrfIH2dJ5eM GO8seNG8sYiP6JfRjl7Hyqca6YsE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.0 (by Flathub.org) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2026-04-16 at 10:07 -0700, Josh Poimboeuf wrote: > On Mon, Apr 13, 2026 at 02:26:11PM -0300, Marcos Paulo de Souza > wrote: > > A new version of the patchset, with fewer patches now. Please take > > a look! > >=20 > > Original cover-letter: > > These patches don't really change how the patches are run, just > > skip > > some tests on kernels that don't support a feature (like kprobe and > > livepatched living together) or when a livepatch sysfs attribute is > > missing. > >=20 > > The last patch slightly adjusts check_result function to skip dmesg > > messages on SLE kernels when a livepatch is removed. >=20 > Why are we adding complexity to support Linux 4.12 in mainline?=C2=A0 > Isn't > that what enterprise distros are for? These changes do not add any new complex code, just checks to enable the tests to run on older kernels. I believe that it would be good for all enterprises distros if they could run more tests in maintenance updates of their kernels using the upstream tests. The changes are not really that big. Some patches were removed from v1 because there were adding checks for out-of-tree messages (like the last paragraph of the v2 erroneously shows), and another one was to check if kprobes could live alongside livepatches, which fails for 4.12 kernels. The patches for this versions introduce only checks to avoid testing sysfs attributes for kernels that don't supports them.