Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9582600rwd; Wed, 21 Jun 2023 09:08:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ItsCrYbPt1xmIvA0RRplSTWhtKfmK/EfJ0dBgVYRULv+4oBvrznzb7wzeInAzHdkAx6o/ X-Received: by 2002:a17:90b:3581:b0:25e:bac2:314c with SMTP id mm1-20020a17090b358100b0025ebac2314cmr6193700pjb.23.1687363682483; Wed, 21 Jun 2023 09:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687363682; cv=none; d=google.com; s=arc-20160816; b=FSMl7VtI4Sheoq3F+HestLSWLMDL3CBnCFfGrYRgGq1FoNGvzBKoXPMhVn18Ocjx9E 3Vm9NZz2wnCBCqbSUxsiTF2Uva1aFRPWlEPjH1g7yY3pBqPfDgwXKu8fhovML7+kOzW7 Dpz58lMYL0ZewBRbSwveodhNaw71jjKI6sbLLyExTsNNx+rvFkciGfl9kvuH7sxj/OKU 9iuQRywNVmFwPf1C9+sGGFAjhoKtT/gk3V3CCEkbfPeDJMitz2VeVhVqosSQraRRo6vm UBJ+FFwtZESODoThvDhRn5D4BbMT5FXonZzXiIEEU9ACaVMg7ZyUt1DDuDnJMEK58Xas 6fBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=fymXXyxZYmQyKaFgp/LoGJ6eZ4fUULkmu1z6px6pdeo=; b=NdjK4TWbCWVM8/nLKywbJDxpl/zCMCLwYVepksL8oSFvA+DjEfoRQ8mkuaW8NOOBjm uTO6he83XTuBA1TN4p4I6niYzI0JpId/2/btvrThWYhC64ZCl9D48lf7GinkJF+EOvl4 kN8K7sOy/TDOpLuVD1n+2m295EbF6cnwRc0eLwgAUdsvbDU9U+g7A1uIT0kDKiHLATq4 0KVfdckX7i2x+o/Sm96IqW9itTHzFIEiCjFMpWiiOvGIlnbv/2v8sidrqCJ/HzcEtZbE r3GGCTXKveBclg6xe+UAkoRzz2YJCI2V10rLnwN2rjsksI6TQuNs0cxJHVwbtTJwjL8H IPXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=ebP5sXGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a17090a648800b002533ea2ad58si12375497pjj.140.2023.06.21.09.07.50; Wed, 21 Jun 2023 09:08:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=ebP5sXGM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233454AbjFUPcZ (ORCPT + 99 others); Wed, 21 Jun 2023 11:32:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233455AbjFUPcB (ORCPT ); Wed, 21 Jun 2023 11:32:01 -0400 Received: from smtpdh19-1.aruba.it (smtpdh19-1.aruba.it [62.149.155.148]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFBDD19B7 for ; Wed, 21 Jun 2023 08:31:43 -0700 (PDT) Received: from [192.168.1.56] ([79.0.204.227]) by Aruba Outgoing Smtp with ESMTPSA id Bzo4qqTmVBn0GBzo4qL3PU; Wed, 21 Jun 2023 17:31:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1687361500; bh=Kr9uQUwuYYRfz/jvnZbpKuJ6zBBw4mD5BU/o+Z6TmUg=; h=Content-Type:Date:MIME-Version:Subject:To:From; b=ebP5sXGMQVyUtR9A7ncleYpn++S9IfHI1A/MgcPqW8hBf5ZGPsK4aJEoUuWNh789h m1hRd5XJuNwuPR9ii2U6RrjEP9cGECGjz/D+F3mjwK5Ll/MuFnV+wehBLNPbiFljlR onaeZiG5fcWSL2VlOhbcG06qwDk/H2JIKqKyRmJMmKNZlfR2m/GreZ06YSryvsHP79 dy3F6y952MWtViwYsk/LWgAe7FxG3j1RVi/PUpNrqS6mcZFT+dFcFz0pOGSsPRq6V9 CsJmryjLuf6nVpnS/htZdhSx7k+QbSOja53DmDaedvPAs2kKoNkxPMPrq5gYJblAMX xmGvs468LCSeg== Content-Type: multipart/mixed; boundary="------------K8FqYMzZ0uMINnuLmani0Jzv" Message-ID: Date: Wed, 21 Jun 2023 17:31:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [RFC PATCH] pps: Increase PPS_MAX_SOURCES value. Content-Language: en-US To: Charlie Johnston Cc: linux-kernel@vger.kernel.org, brenda.streiff@ni.com References: <20230605203147.694716-1-charlie.johnston@ni.com> <70ce864c-ca13-4fc4-fcb5-9b7f91579a90@enneenne.com> <38f38f66-0fd5-4e6c-4839-8272cef77046@ni.com> <5aff32cf-74ea-b632-9d4d-a01ca0d31821@enneenne.com> <41affdf0-edba-6202-4e76-fd969da6497b@ni.com> From: Rodolfo Giometti In-Reply-To: <41affdf0-edba-6202-4e76-fd969da6497b@ni.com> X-CMAE-Envelope: MS4xfH/Xdblr6XkoFrvyzCTEp7+KWc0O+QFMNl8GIcEI6WGEkmekZrqJ2ESbiTamGSS/zEaz44ugxz5n8+t2JPj2UwzF5sesn6zRPpwEdD17C5D1zWWteW3f FZZQKd20j10tmkldTh54K2WeAQAEIcX2ZQ/6AdWQ+AucBVJ88jak6RsGtJT2Debu7T9hl5ySSiLzP5DbpnQlcAmTYXbeWdFIWx/5qmHTLZFDrdV7bMod6dlp hgHoPmFrN47U1Y5o40t8fMfljmNH943u8gGhhGVH6i8= X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------K8FqYMzZ0uMINnuLmani0Jzv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20/06/23 22:42, Charlie Johnston wrote: > I've resubmitted the patch with just PPS_MAX_SOURCES = MINORMASK. The system which hits the limit and causes the problem is currently available for testing. > > Is there anything you'd like me to try running? Or just confirm the limit change works? Sorry for the delay (i was very busy in these days)! Please, test the attached two patches. Ciao, Rodolfo -- GNU/Linux Solutions e-mail: giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti --------------K8FqYMzZ0uMINnuLmani0Jzv Content-Type: text/x-patch; charset=UTF-8; name="0001-include-uapi-pps.h-increase-PPS_MAX_SOURCES-value.patch" Content-Disposition: attachment; filename*0="0001-include-uapi-pps.h-increase-PPS_MAX_SOURCES-value.patch" Content-Transfer-Encoding: base64 RnJvbSAwMjliYjI4NzcyYjQ3NTFjZDA3YmViNWYzNjYwNjZlOTMzM2VhNTAyIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBDaGFybGllIEpvaG5zdG9uIDxjaGFybGllLmpvaG5z dG9uQG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TAwNjQ0Ci0t LSBhL2luY2x1ZGUvdWFwaS9saW51eC9wcHMuaAorKysgYi9pbmNsdWRlL3VhcGkvbGludXgv cHBzLmgKQEAgLTI2LDcgKzI2LDcgQEAKICNpbmNsdWRlIDxsaW51eC90eXBlcy5oPgogCiAj ZGVmaW5lIFBQU19WRVJTSU9OCQkiNS4zLjYiCi0jZGVmaW5lIFBQU19NQVhfU09VUkNFUwkJ MTYJCS8qIHNob3VsZCBiZSBlbm91Z2guLi4gKi8KKyNkZWZpbmUgUFBTX01BWF9TT1VSQ0VT CQlNSU5PUk1BU0sKIAogLyogSW1wbGVtZW50YXRpb24gbm90ZTogdGhlIGxvZ2ljYWwgc3Rh dGVzIGBgYXNzZXJ0JycgYW5kIGBgY2xlYXInJwogICogYXJlIGltcGxlbWVudGVkIGluIHRl cm1zIG9mIHRoZSBjaGlwIHJlZ2lzdGVyLCBpLmUuIGBgYXNzZXJ0JycKLS0gCjIuMzQuMQoK --------------K8FqYMzZ0uMINnuLmani0Jzv Content-Type: text/x-patch; charset=UTF-8; name="0002-include-uapi-pps.h-drop-not-needed-PPS_MAX_SOURCES-d.patch" Content-Disposition: attachment; filename*0="0002-include-uapi-pps.h-drop-not-needed-PPS_MAX_SOURCES-d.pa"; filename*1="tch" Content-Transfer-Encoding: base64 RnJvbSAzNDdmNGIzYmNmY2Y5NTAzOWI1M2NhMGY2NjU4NmY1NDdlOWE5MjI5IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBSb2RvbGZvIEdpb21ldHRpIDxnaW9tZXR0aUBlbm5l ZW5uZS5jb20+CkRhdGU6IFdlZCwgMjEgSnVuIDIwMjMgMTY6NDI6MzggKzAyMDAKU3ViamVj dDogW1BBVENIIDIvMl0gaW5jbHVkZS91YXBpIHBwcy5oOiBkcm9wIG5vdCBuZWVkZWQgUFBT X01BWF9TT1VSQ0VTCiBkZWZpbmUKClVzZXJzcGFjZSBQUFMgY2xpZW50cyBzaG91bGQgbm90 IGt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