Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2090531rdd; Thu, 11 Jan 2024 21:15:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNzmV/mKfrFMkN9dprdtk1GTAyLDj8dCxLn52LNUPvcJmJWAyfYY3/9SvWwg7Ety+7LOJR X-Received: by 2002:a17:903:120d:b0:1d4:96d2:1079 with SMTP id l13-20020a170903120d00b001d496d21079mr378432plh.15.1705036552229; Thu, 11 Jan 2024 21:15:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705036552; cv=none; d=google.com; s=arc-20160816; b=XKLix0EXCp2gb9AgVY4ov4U0R4X1kSckfQf0/QjHJi/8a05+AQmstmGvQJ8Nj/9QUH jwYsgilHAPB17FgVxdKCuI7SGu13zFU6D9sgv21qKX7ZuRHkGWlCir5nC7a6j8YUbQvg ten7R0X2/nzoB9tHiaH8zar724tdkVRoi5ge3KVMQmpU6wu1otXTalawW2glz0BhQAYz 3z2oY2zH0QkS98T+U0ZjVKikP8E/5RvgWKJ5YxrKSIK4qYZcF29X26qS4ZkpVsRb0R0/ XcDVqxhSwpMFn2coQykuRarHZ0DvWR1QSu00DtOjb5nZr2n4NVX2PkMGElCYSbIkG4Td ixOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=IgIz5Jw3xaCiRypp9t/7nFofZKzAWe2AVuDOEAahvJw=; fh=t/kGI9NOyfzFIdkeQt7DGGbHyYsvRWue0X1102iLzTQ=; b=vjFyRXeN+CshQWYKM3+MKhRet8AoXdIqHJALeDGZEi7wQkNw1vFjSseNk5C97MZn8C fh46GVB+QmhpR4RPrntkZBwpwjuHNn5ESj8zjsfcI2JQsQzk896S31gCK/LMfadUSCJT bKAXKz2S17rxm+YvTbcGnuaxWz2vCkuGl0X5MJpNxsXHpipTznAwmDOwshYaeEjVYpcw jA9Qmzin2gL9ABgnQrgghrYomsK+baFkbXvRFn4UOmuJM9lgZv0LzW4RmGVgarUQGXz8 6zuYfqUbleEGfMN7AsYJWDXVMjwk6+ADICImqCkAIm1kuoHa54MD+ogI2yLxQwlp63+O VtDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vGC/Nqe5"; spf=pass (google.com: domain of linux-kernel+bounces-24307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mp5-20020a170902fd0500b001d5a61ff494si380085plb.418.2024.01.11.21.15.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 21:15:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="vGC/Nqe5"; spf=pass (google.com: domain of linux-kernel+bounces-24307-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24307-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3DFC5286BAD for ; Fri, 12 Jan 2024 05:15:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 838875B5C0; Fri, 12 Jan 2024 05:15:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vGC/Nqe5" Received: from mail-vk1-f171.google.com (mail-vk1-f171.google.com [209.85.221.171]) (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 002AF5B5BD for ; Fri, 12 Jan 2024 05:15:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-vk1-f171.google.com with SMTP id 71dfb90a1353d-4b7e4a2808bso1860420e0c.1 for ; Thu, 11 Jan 2024 21:15:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705036519; x=1705641319; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=IgIz5Jw3xaCiRypp9t/7nFofZKzAWe2AVuDOEAahvJw=; b=vGC/Nqe5b8zoxuNTMT11BGceNiK9EAD5XFiS/mTY0E1eMw59b+LhSBeef1jUAfErXI 1SQ4BQqFIUi6DeC7geoI6u/PBiredB38f7PMOnAtkEaU5MphhQ2gubUsVyduWHQ0y6D/ 3XnvZsgZc/DDZq+LCr2pLvamFrG4ZyCB5K/9tiNGWWR7cg7JVnWMhcEcVC3hvYb9nsBw 6J934nTWv516j2WiWias9tp6pye+rmpOWy3mneQwC9c4YV8RxBYFIUOLHYBhVFIPE2V1 X0G3woKW6RSoZzpPIPjWHXftdBob+L2YCkrT2izX1yW1WLO8WdZYD8TjR0Rn6jMXeMpX DaXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705036519; x=1705641319; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=IgIz5Jw3xaCiRypp9t/7nFofZKzAWe2AVuDOEAahvJw=; b=aQD1Hv2vGfAj/8hO/KQfOqXhthvWVo8GZNq0ueE95pVn1vZFfVEXLE4JNv9iom0lXe MkCifyD+3OLjiDKdG38+UCFo2J1GOaY4nu8Po3YKyWnX44c2Ah3svF8fftBxioMs+OXE wtfYdj7EfOeY0P1o7d9OHQ4VPhVNnE+QOC2d3aZW7nX05YHDxxTMU6J5oCSeRdB2rDUN fJ8uU3P6E953OzvWAh68RCQlpZA54WYZj5WnCpEsc8dcyZXQzwZ+W9ePmwDC2AqTHTeJ jt5tpFFGP1Ik6QF4MobB0Oko/eRBAkHvcGI5WExZ4QY5F/QVUmPai4cAoq6NlOiODV2d YO7g== X-Gm-Message-State: AOJu0YwvtGpWGEGxQbFIKP8+udOsXT/QqxJg6KOQo3T3bR+0uCCGCkLF yZ/trKjkqg+r7eOZlwJHLG8/zW2tC7ckETExMCppZNxqLtUUyA== X-Received: by 2002:a05:6122:4d0e:b0:4b7:a95b:7b3 with SMTP id fi14-20020a0561224d0e00b004b7a95b07b3mr706190vkb.26.1705036518758; Thu, 11 Jan 2024 21:15:18 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Fri, 12 Jan 2024 10:45:08 +0530 Message-ID: Subject: Re: scsi: block: ioprio: Clean up interface definition - ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work To: linux-block , LTP List , Linux Regressions , lkft-triage@lists.linaro.org, open list Cc: Anders Roxell , Dan Carpenter , chrubis , Petr Vorel , Damien Le Moal , Hannes Reinecke , Christoph Hellwig , Niklas Cassel , "Martin K. Petersen" , Jens Axboe Content-Type: text/plain; charset="UTF-8" The LTP test 'iopri_set03' fails on all the devices. It fails on linux kernel >= v6.5. ( on Debian rootfs ). Test fail confirmed on LTP release 20230929 and 20230516. Test failed log: ------------ tst_test.c:1690: TINFO: LTP version: 20230929 tst_test.c:1574: TINFO: Timeout per run is 0h 05m 00s ioprio_set03.c:40: TFAIL: ioprio_set IOPRIO_CLASS_BE prio 8 should not work ioprio_set03.c:48: TINFO: tested illegal priority with class NONE ioprio_set03.c:51: TPASS: returned correct error for wrong prio: EINVAL (22) Investigation: ---------- Bisecting this test between kernel v6.4 and v6.5 shows patch eca2040972b4 ("scsi: block: ioprio: Clean up interface definition") as the first faulty commit. Reported-by: Linux Kernel Functional Testing Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240109/testrun/22021120/suite/ltp-syscalls/test/ioprio_set03/details/ - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240110/testrun/22034175/suite/ltp-syscalls/test/ioprio_set03/history/ Steps to reproduce: --------------- This is how you can reproduce it easily: Install podman or docker, tuxmake and tuxrun, if docker please change the --runtime below to docker. cd into the kernel you want to build: $ tuxmake --runtime podman --target-arch arm64 --toolchain gcc-13 --kconfig defconfig --results-hook 'tuxrun --runtime podman --device qemu-arm64 --boot-args rw --tuxmake ./ --rootfs https://storage.tuxboot.com/debian/bookworm/arm64/rootfs.ext4.xz --parameters SKIPFILE=skipfile-lkft.yaml --timeouts boot=30 --overlay https://storage.tuxboot.com/overlays/debian/bookworm/arm64/ltp/20230929/ltp.tar.xz / --save-outputs --log-file - -- "cd /opt/ltp && ./runltp -s ioprio_set03"' Bisection log: ------------ # bad: [2dde18cd1d8fac735875f2e4987f11817cc0bc2c] Linux 6.5 # good: [6995e2de6891c724bfeb2db33d7b87775f913ad1] Linux 6.4 git bisect start 'v6.5' 'v6.4' # good: [b775d6c5859affe00527cbe74263de05cfe6b9f9] Merge tag 'mips_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux git bisect good b775d6c5859affe00527cbe74263de05cfe6b9f9 # bad: [56cbceab928d7ac3702de172ff8dcc1da2a6aaeb] Merge tag 'usb-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb git bisect bad 56cbceab928d7ac3702de172ff8dcc1da2a6aaeb # good: [b30d7a77c53ec04a6d94683d7680ec406b7f3ac8] Merge tag 'perf-tools-for-v6.5-1-2023-06-28' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools-next git bisect good b30d7a77c53ec04a6d94683d7680ec406b7f3ac8 # bad: [dfab92f27c600fea3cadc6e2cb39f092024e1fef] Merge tag 'nfs-for-6.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs git bisect bad dfab92f27c600fea3cadc6e2cb39f092024e1fef # bad: [28968f384be3c064d66954aac4c534a5e76bf973] Merge tag 'pinctrl-v6.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl git bisect bad 28968f384be3c064d66954aac4c534a5e76bf973 # bad: [af92c02fb2090692f4920ea4b74870940260cf49] Merge patch series "scsi: fixes for targets with many LUNs, and scsi_target_block rework" git bisect bad af92c02fb2090692f4920ea4b74870940260cf49 # bad: [2e2fe5ac695a00ab03cab4db1f4d6be07168ed9d] scsi: 3w-xxxx: Add error handling for initialization failure in tw_probe() git bisect bad 2e2fe5ac695a00ab03cab4db1f4d6be07168ed9d # good: [8759924ddb93498bd5777f0b05b6bc9cacf4ffe3] Merge patch series "scsi: hisi_sas: Some misc changes" git bisect good 8759924ddb93498bd5777f0b05b6bc9cacf4ffe3 # good: [7907ad748bdba8ac9ca47f0a650cc2e5d2ad6e24] Merge patch series "Use block pr_ops in LIO" git bisect good 7907ad748bdba8ac9ca47f0a650cc2e5d2ad6e24 # bad: [390e2d1a587405a522dc6b433d45648f895a352c] scsi: sd: Handle read/write CDL timeout failures git bisect bad 390e2d1a587405a522dc6b433d45648f895a352c # bad: [734326937b65cec7ffd00bfbbce0f791ac4aac84] scsi: core: Rename and move get_scsi_ml_byte() git bisect bad 734326937b65cec7ffd00bfbbce0f791ac4aac84 # bad: [6c913257226a25879bfd6226e0ee265e98904ce6] scsi: block: Introduce ioprio hints git bisect bad 6c913257226a25879bfd6226e0ee265e98904ce6 # bad: [eca2040972b411ec27483bf75dc8b84e730e88ff] scsi: block: ioprio: Clean up interface definition git bisect bad eca2040972b411ec27483bf75dc8b84e730e88ff # first bad commit: [eca2040972b411ec27483bf75dc8b84e730e88ff] scsi: block: ioprio: Clean up interface definition -- Linaro LKFT https://lkft.linaro.org