From patchwork Fri Mar 29 20:19:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 784643 Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) (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 7D6A613B58D for ; Fri, 29 Mar 2024 20:19:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711743596; cv=none; b=ZhbA8i1R4pv7hm7ir4NaMxo66tMHL575OXGT4QmsVA1Hi0Kfc8MXYuWCDxo9FZvbgzHvd33QJLilkzj1jnSX01A8hhZVI6G9SZpFvWGZFO5LKgWTeXHUh1XN6DfdBUi0cTWDGwphBMntkBmTEHzx560m0k/rjjO2UzM4ick1w8c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711743596; c=relaxed/simple; bh=vl+i70ZMCodkAigSW5hho0Ztj2SmfeRNq80IcW3/8ZA=; h=Content-Type:Message-ID:Date:MIME-Version:To:Cc:From:Subject; b=b2DdYvZp/vBGDvimbrTo+NvLtPhtNdfytPSQEHcmseHx7meAtEFTwCbEgujUjhK4etRTqosNN1eBQSFF83BbeGOo1SkWrS9OO8R+momHo3is44f7z/D2lSqC6gt8bI6FII4vn4S7ZdsmCPBUsyDXbCWaiAnks3wa381CzYbqrDc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZPh41XLi; arc=none smtp.client-ip=209.85.166.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ZPh41XLi" Received: by mail-il1-f177.google.com with SMTP id e9e14a558f8ab-368539ef3dfso1934015ab.0 for ; Fri, 29 Mar 2024 13:19:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1711743593; x=1712348393; darn=vger.kernel.org; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=An2c+m0EBVjUyZtfRNWkkg/EmLKM6ADwwn2qcGZufac=; b=ZPh41XLino/bd3mlpbAEOsdQJv+egyl50n0re4XEsscXA7SPDK2mFuWIv3BG2IxFnd 56B7cYDnc4yNaBG48usAjUOzjB0YXpz8OZ1QrnGbkS1BL2G491HFspO5RAwYzJDhp0NY fRqNOdFVHYpInmIE8kJpcfXQIEHWwkM/YQIEo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711743593; x=1712348393; h=subject:from:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=An2c+m0EBVjUyZtfRNWkkg/EmLKM6ADwwn2qcGZufac=; b=himP3RenBIvkAo23f6irO60Tl4WRG3PILzJqCa10w11pY5ACX/EgPBVySG9HKfVGI6 JDirb22aKFt8tYaZhespI7UADGvBink4WU3xs5NBKJZ8AHaOeZ/wzrd5jwk2Qf8svUpz lE2Tx+RktVIms8fevwox2aqYATXu0xxxST+GcvGNYIp8buTb8LrF9Q0fnCR8GOOsMMwI NaeGmFScwnffO+3Oa1iOqKVeYvgy4vJOR8zv4lrhLHFftUmgJFeaF0ThOZMc4hXRB1Z1 ZB4bevb4/mI34V+E9HwCgYuRUxXaQ7KammtcpNor6/JmZD2/unWCZvQoEZa3m9x5BLY4 jMjQ== X-Forwarded-Encrypted: i=1; AJvYcCVEhWY5RWJ9C/+JX8kC9JeqTExNNL6HtYX7mpoL8JDD14ErElMLnXZj9CiyjU2UYWw6gkuVjQWWOgj+i0S81BHP7XIQatwC8rlj7W71earp X-Gm-Message-State: AOJu0YxcthTDvHivjfMiYiNzgFs7EJ1WBdbFmI4/nMq0pg5IoTadrFEI XzhBtS6UefuP6gBBgiHOJ4aOhf+MZOpJNrh7x00Jus0Rx81XgxqjzaO6wcLW9Jw= X-Google-Smtp-Source: AGHT+IFUE0Sf7NoL7vX8ci6ITd6PYpGYErdQvzC4eTqLCCaNA/qbYj/Mkoud1o2JaL29+504kfmRNg== X-Received: by 2002:a5e:da04:0:b0:7d0:32b0:5764 with SMTP id x4-20020a5eda04000000b007d032b05764mr3331372ioj.0.1711743593467; Fri, 29 Mar 2024 13:19:53 -0700 (PDT) Received: from [192.168.1.128] ([38.175.170.29]) by smtp.gmail.com with ESMTPSA id p23-20020a6bfa17000000b007cbf94d8698sm1223132ioh.4.2024.03.29.13.19.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Mar 2024 13:19:53 -0700 (PDT) Message-ID: Date: Fri, 29 Mar 2024 14:19:52 -0600 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Linus Torvalds Cc: shuah , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org From: Shuah Khan Subject: [GIT PULL] Kselftest fixes update for Linux 6.9-rc2 Hi Linus, Please pull the following kselftest fixes update for Linux 6.9rc2. This kselftest fixes update for Linux 6.9-rc2 consists of fixes to seccomp and ftrace tests and a change to add config file for dmabuf-heap test to increase coverage. diff is attached. thanks, -- Shuah ---------------------------------------------------------------- The following changes since commit 4cece764965020c22cff7665b18a012006359095: Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.9-rc2 for you to fetch changes up to 224fe424c356cb5c8f451eca4127f32099a6f764: selftests: dmabuf-heap: add config file for the test (2024-03-29 13:57:14 -0600) ---------------------------------------------------------------- linux_kselftest-fixes-6.9-rc2 This kselftest fixes update for Linux 6.9-rc2 consists of fixes to seccomp and ftrace tests and a change to add config file for dmabuf-heap test to increase coverage. ---------------------------------------------------------------- Mark Brown (1): selftests/seccomp: Try to fit runtime of benchmark into timeout Mark Rutland (1): selftests/ftrace: Fix event filter target_func selection Muhammad Usama Anjum (1): selftests: dmabuf-heap: add config file for the test tools/testing/selftests/dmabuf-heaps/config | 3 +++ tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc | 2 +- tools/testing/selftests/seccomp/settings | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 tools/testing/selftests/dmabuf-heaps/config ---------------------------------------------------------------- diff --git a/tools/testing/selftests/dmabuf-heaps/config b/tools/testing/selftests/dmabuf-heaps/config new file mode 100644 index 000000000000..be091f1cdfa0 --- /dev/null +++ b/tools/testing/selftests/dmabuf-heaps/config @@ -0,0 +1,3 @@ +CONFIG_DMABUF_HEAPS=y +CONFIG_DMABUF_HEAPS_SYSTEM=y +CONFIG_DRM_VGEM=y diff --git a/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc b/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc index 2de7c61d1ae3..3f74c09c56b6 100644 --- a/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc +++ b/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc @@ -24,7 +24,7 @@ echo 0 > events/enable echo "Get the most frequently calling function" sample_events -target_func=`cut -d: -f3 trace | sed 's/call_site=\([^+]*\)+0x.*/\1/' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` +target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` if [ -z "$target_func" ]; then exit_fail fi diff --git a/tools/testing/selftests/seccomp/settings b/tools/testing/selftests/seccomp/settings index 6091b45d226b..a953c96aa16e 100644 --- a/tools/testing/selftests/seccomp/settings +++ b/tools/testing/selftests/seccomp/settings @@ -1 +1 @@ -timeout=120 +timeout=180