Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1949549lqz; Tue, 2 Apr 2024 02:40:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWU50yeGLtmefnjxVpqR62umBSJiP4DsemcvYscFjv2+RJfXjXQI9RiDlbMdFLNS3UhwLLqJl2M+KnN2GEq1oZIW54+JTpNJYlgUdVY7Q== X-Google-Smtp-Source: AGHT+IFeAZ4ejNTdKYxignDia8on+538IyF0RbTtJr7A91CuKZmXoPLWYzap0n75JfpmCbiGy/wA X-Received: by 2002:a17:902:f551:b0:1e0:cd8a:581 with SMTP id h17-20020a170902f55100b001e0cd8a0581mr13791773plf.23.1712050813723; Tue, 02 Apr 2024 02:40:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712050813; cv=pass; d=google.com; s=arc-20160816; b=lx9nJY+L7Er2eKuztFXqaoYdHiDunK2Sop8hEUrbbSDDGjZRWzRhrYU0jOGBrdzvSs ACMSMOgbE8Nex/INifoIR1zByLdsqv3QJhRA4iRj+eDfA5I8ADlpmLH9NDJFORZicUXz /5kBvGJKfh6bmDEDUCI2eK/39ANGfPVpZ4Y+yXtshLi31UHgMKhf1o9A77Q/6hKGw4pW bnDJnrMfk/iWbeO4NSCTKKjt/1o01LQYZHHf3YxOt1+7kGBOqwDCia3w6SRvkVShFY6k fTKBP4Iy1i57IcPXG10JPujwshoanZJvdL/gLVxb97VbmvAhY9tBH4er9beZ/fcgmvTW mJCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Q0/xMG/vZR/3A0eW39V5o6jJuzfrUuTNZVL7doHpsBQ=; fh=Dg0TNrprt8ypHiRqjJUOz+L0rMSZXFRnob6bd1Rgu4E=; b=YjKvW8iT1AKLUG+BieO2+P7PzZ8Mt4D6L+zbEFO1rUrEbaDXWSafVb8SnQoXNLcgGO SWbanDLWaqAtyOf2qnWR/kkzC2p+PZTY4Rj/0eTAaqmhV7l2ZzcTdaM7mbIMLLm+JwrG 12r45gpyw8KajhWJHT30De5gs3gUw1qCmGQxxBm/Z3jimtyWhFg6tTAw1vTs3r+e7nAR 29ZA7gWJbcslA+rWzbjLO3KrUH8OwZ75D08eBwRNDjOP+WTT0coNxcJzF/7jv3NeRClW AQBZsucGc8RzvdnwVOhLYcLS3hjnT/eiBmLyvlmE4pzEby1/o7+QooOV+F1AWb/twxzu Pt5w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u/RGbcsL"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127641-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l6-20020a170903244600b001e26151fa03si1789449pls.51.2024.04.02.02.40.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 02:40:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="u/RGbcsL"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-127641-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127641-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C0B11B21755 for ; Tue, 2 Apr 2024 09:36:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E31FB58231; Tue, 2 Apr 2024 09:35:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u/RGbcsL" Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) (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 72E8F58AB9 for ; Tue, 2 Apr 2024 09:35:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712050546; cv=none; b=u+6Q2O8YV3iUbqpXlp8+MZn06jtWiN73YBa+sE5wrMdawUDd+YG6jXPKndNqwU1ojbr4PWdaEtvALr0Chs7AiYGAhnwfZSbzKd85sp3wgjzrrXO9kd/9rHn8rPBINeuquZZVOu+jyHczyhdKpDIStYcAljY45pUUJcanj3FuND0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712050546; c=relaxed/simple; bh=dO7oowceia5z6uD/euKMmYBfbNPXV2/gty88RnnYLZ4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=lvCCHUMA9FfaEKp1tri9/h13Cu+rqINQJCs68hKP2AznOcLWySMSIQySZ8B5rC3J7Gx/gBeagYtjKm6PrSnYuM3muiONuhttqRu1S3rCKG4bclJequB5RMpoHS4qPWn1j4akviW6H+H3L1kDYdw6qyx6JZ6HY+ROHzowFvNEQZw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=u/RGbcsL; arc=none smtp.client-ip=209.85.210.182 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-pf1-f182.google.com with SMTP id d2e1a72fcca58-6e6b6f86975so3248967b3a.1 for ; Tue, 02 Apr 2024 02:35:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712050544; x=1712655344; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q0/xMG/vZR/3A0eW39V5o6jJuzfrUuTNZVL7doHpsBQ=; b=u/RGbcsLosf6/yapuzs5ej+JmyKGsLX7K/IHK4KCnf3HuzlWTd+EDuK7Z3ZN52jCuZ C+XZvEoy6zRIEa9ZKwwCgyjLi7csgDmtwMXv8plJpmJXV0MLbiQp3heAd0oigI23dXfI TvO0BnhlTpvtcXaGqBtejuy+rgoByKLKzNE7vB1dO1qA7FEF7+ujP0mKJWivT6691u5n NvBePC4qyiDXogU9Q5euQ8ULoVv4iXtZFmMMKTQfUReJDDk+pGfuKp788FSNozJN1YFE oFj7Qogfk6lmcxBIMuIKIivk8bw0epfXA4zqvwFF5zWYBMYRI5UoAGOGy3tXj6sqgv+K ChAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712050544; x=1712655344; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q0/xMG/vZR/3A0eW39V5o6jJuzfrUuTNZVL7doHpsBQ=; b=IGOAFxT9Zgt05Hf+R8zzJ8zlHmpqNXHRH8p5YI8SyfLCTgF8GgXfIJHgCImmN8BQUy Qw+G7xEyNdDDsnft0cU16iZQc+kPmUR17rboSZAKhf0dwQIyahIQ4X8QO95DtrJlzupi zUTEQQaXAFKiPnSi8SCEgPfyUiy1lSTgDv959Qa9brsjYOE1/6Mxj/RtjFOPEa+8a7y6 /HHh02MZYicV/PbI9CbVapnMX/TuVZ85ILks+xYHMwHYf9IxtKbqVFHbqumAwGNdvfHP WyrpyrkdiSrEy9k2b1RtrV4Y8aw95UzdgS74v9NNNQu6o5yOHEVg+3BmOdtlre4JVziZ 2Kcg== X-Forwarded-Encrypted: i=1; AJvYcCU97KvVRU7EnEB9zybBPdJ4WGp2UD5dhxJlB2MgxZUROFrCerqcukXCIrLt18idG3EOCgA7U/cE04xVhqOsmQ5IRsKDWP4iiDqK+mlk X-Gm-Message-State: AOJu0YxXqYXuXaCSTjlYAaUh+2sjm0oTQvDOXwzId4EfqS9uU+2PaLLc F1UmiZXYVW91nAg599SHni5EvUAGFSD4onskCN+/WlFIXO075IVzpL3OyjwS22I= X-Received: by 2002:a05:6a00:1703:b0:6ea:d17f:ae9e with SMTP id h3-20020a056a00170300b006ead17fae9emr15924261pfc.4.1712050543742; Tue, 02 Apr 2024 02:35:43 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c00c:2308:970:8782:f539:c9c7]) by smtp.gmail.com with ESMTPSA id h25-20020a62b419000000b006e5597994c8sm9389303pfn.5.2024.04.02.02.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 02:35:43 -0700 (PDT) From: Naresh Kamboju To: linus.walleij@linaro.org Cc: adobriyan@gmail.com, bartosz.golaszewski@linaro.org, brgl@bgdev.pl, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, wahrenst@gmx.net, warthog618@gmail.com, lkft-triage@lists.linaro.org, anders.roxell@linaro.org, Linux Kernel Functional Testing Subject: Re: [PATCH v3] gpio: cdev: sanitize the label before requesting the interrupt Date: Tue, 2 Apr 2024 15:05:34 +0530 Message-Id: <20240402093534.212283-1-naresh.kamboju@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=yes Content-Transfer-Encoding: 8bit Results from Linaro’s test farm. Regressions on arm64, arm, x86_64, and i386 with libgpiod tests. libgpiod test regressions noticed on Linux stable-rc 6.8, 6.7 and 6.6 and Linux next and mainline master v6.9-rc2. Anders bisected and found this first bad commit, gpio: cdev: sanitize the label before requesting the interrupt commit b34490879baa847d16fc529c8ea6e6d34f004b38 upstream. Reported-by: Linux Kernel Functional Testing LKFT is running libgpiod test suite version v2.0.1-0-gae275c3 (and also tested v2.1) libgpiod - _gpiod_edge-event_edge_event_wait_timeout - _gpiod_edge-event_event_copy - _gpiod_edge-event_null_buffer - _gpiod_edge-event_read_both_events - _gpiod_edge-event_read_both_events_blocking - _gpiod_edge-event_read_falling_edge_event - _gpiod_edge-event_read_rising_edge_event - _gpiod_edge-event_read_rising_edge_event_polled - _gpiod_edge-event_reading_more_events_than_the_queue_contains_doesnt_block - _gpiod_edge-event_seqno - _gpiod_line-info_edge_detection_settings Test log: ------- ok 16 /gpiod/edge-event/edge_event_buffer_max_capacity ** gpiod-test:ERROR:tests-edge-event.c:52:_gpiod_test_func_edge_event_wait_timeout: '_request' should not be NULL # gpiod-test:ERROR:tests-edge-event.c:52:_gpiod_test_func_edge_event_wait_timeout: '_request' should not be NULL not ok 17 /gpiod/edge-event/edge_event_wait_timeout ok 18 /gpiod/edge-event/cannot_request_lines_in_output_mode_with_edge_detection ** gpiod-test:ERROR:tests-edge-event.c:125:_gpiod_test_func_read_both_events: '_request' should not be NULL # gpiod-test:ERROR:tests-edge-event.c:125:_gpiod_test_func_read_both_events: '_request' should not be NULL not ok 19 /gpiod/edge-event/read_both_events Steps to reproduce: ----- https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eUlyN8HN4R1u0RyLwN6hx7IV0I/reproducer Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240402/testrun/23265184/suite/libgpiod/tests/ - https://qa-reports.linaro.org/lkft/linux-mainline-master/build/v6.9-rc2/testrun/23244617/suite/libgpiod/tests/ - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2eUlyN8HN4R1u0RyLwN6hx7IV0I - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.2-400-gbffeaccf18b5/testrun/23252337/suite/libgpiod/tests/ - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.7.y/build/v6.7.11-433-gb15156435f06/testrun/23252698/suite/libgpiod/tests/ - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.6.y/build/v6.6.23-397-g75a2533b74d0/testrun/23254910/suite/libgpiod/tests/ -- Linaro LKFT https://lkft.linaro.org