Received: by 10.223.185.116 with SMTP id b49csp2174099wrg; Thu, 15 Feb 2018 07:37:55 -0800 (PST) X-Google-Smtp-Source: AH8x224I9cb4sqws79dntPXVXKA35xkPOXX99GahYnPe0ZQI8RxnRZb1qyhoaM4khSfy7teuhQhY X-Received: by 2002:a17:902:2f41:: with SMTP id s59-v6mr2977370plb.422.1518709075702; Thu, 15 Feb 2018 07:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518709075; cv=none; d=google.com; s=arc-20160816; b=xw8h9exXrXFGoFoL7ldvxrZPDeq4EyFxDBbNzsmX7YevtZgNmI06CSaHl5NMSB9rmy 6lrKcaqC38SvmvhBUmAI6fpe6K3jCu8SlTDfzsDKE8YtGPK5ta5zY8bRRjETIvqPESkq K0PZY9FnReWhWqTN58EnZ3lmuYthfPGRN1G9Fc9tGuQB7tWGRN9aM7IbIauMaW5pyNzh mu+k+gd1mGD9NAJNap3vW79qejQKfINtij/EEri/nIfBUc9Vh8GK7x/AtLw4oQ85zhjP RRqZMVN2wj0qjS57eiL4eJmU/9EzhsOi9WEyZz4L/XeCGxXaBQ+R1lr8zFQonRDXoQT/ Xl5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=ACDdI5d75KlAkGtBejvZjwDq7tOLD8+FaqD9ERrh03c=; b=eu6iYKnKGBmwqSBsm/WbBuyCHaHeNviDLHZQBnrRdqkTFlWY+jbZhbEjMgPpl3f2cm z/d+dUYEpgiQ6WcWXhXPceQOZBPsTuotNqBRRztp57K5H43fcDHG8XbodQtYa4VkMLES HzCdTa0f4dNHW1lO8Dlc11hyPCEE7JyxmFvv5w9W1wenSLozkPY7QDL9IbrQkhP5QVAq VRGAph8Kw47hhKFCvy4x9QUx8VUk0Paw2EHTkoMKcJYXbM5dyGC8tHrHfXZiNjbN14HL LsE5bmi4B20/21KvsOnLF09O22JOw8jsHEbeoCN6GM3ZgKf0cHktk10ErEWXUyZ/79jQ 3dMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=eHDumg+K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r4si7675888pgt.200.2018.02.15.07.37.40; Thu, 15 Feb 2018 07:37:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b=eHDumg+K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422886AbeBOPg3 (ORCPT + 99 others); Thu, 15 Feb 2018 10:36:29 -0500 Received: from smtpweb130.aruba.it ([62.149.158.130]:50357 "EHLO smtpweb130.aruba.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422875AbeBOPg1 (ORCPT ); Thu, 15 Feb 2018 10:36:27 -0500 Received: from [192.168.1.7] ([93.146.66.165]) by smtpcmd03.ad.aruba.it with bizsmtp id B3cR1x00M3Zw7e5013cRg4; Thu, 15 Feb 2018 16:36:25 +0100 Subject: Re: [PATCH 1/2] pps-gpio: Avoid flooding syslog To: Lukas Senger Cc: linux-kernel@vger.kernel.org References: <20180215125921.29494-1-lukas@fridolin.com> <20180215125921.29494-2-lukas@fridolin.com> <6c424674-e8f0-eaf1-c056-889e354b43b7@enneenne.com> <20180215161238.23e0c117@dinghy.localdomain> From: Rodolfo Giometti Message-ID: Date: Thu, 15 Feb 2018 16:36:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180215161238.23e0c117@dinghy.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aruba.it; s=a1; t=1518708985; bh=ACDdI5d75KlAkGtBejvZjwDq7tOLD8+FaqD9ERrh03c=; h=Subject:To:From:Date:MIME-Version:Content-Type; b=eHDumg+KGg1/FG5/75813ax0JbLkZFw+TKqtz4XfsbYp0m42ZmoSPXfaqEtcwDokG w8DnpjU3edhIsZsgh0jjbGMfArQa4GMwvTVprG9t4SRoIA/sAhjctN2mZb3lhGnWVc 4JorhIYvnoDY0wGlffkf9JYJt1LegpasJG2Cj39kGgXTJfnFz0O+Xg2s0L5Xwq8i/+ UX9LtY8T3fCsefkBu/XvBOTZJb6P6BOPF+EnKgKogCpbu9hcCN4UjEsuDPzre7FHhh tg5V+dcSg2ZLCRLyzON+XQBR745cWPDJSIQcJuz3Ubp6MRfWdm94/aRC5T20nD69bt 82lK7tty+a+kA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/02/18 16:12, Lukas Senger wrote: > >> Why a void function? You should use it to toggle echoing GPIO... =8-o > > RFC 2783 says to generate the echo pulse "as rapidly as possible" which > is why I do the toggling in the irq handler. However this leaves the > default echo function installed which just floods syslog. The pps_event() function does it for you in a beauty-and-clear way by using the info.echo() function. :-D > Another problem with this patch is that it also is against my old one > and not against current kernel code. Yes, correct it please. Ciao, Rodolfo -- HCE Engineering e-mail: giometti@hce-engineering.it GNU/Linux Solutions giometti@enneenne.com Linux Device Driver giometti@linux.it Embedded Systems phone: +39 349 2432127 UNIX programming skype: rodolfo.giometti Cosino Project - the quick prototyping embedded system - www.cosino.it Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it