Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp435915yba; Fri, 12 Apr 2019 06:37:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+QUWUf+VlwIDmUQOARNXjYU40uV+M/tqcdSMrHMQ2A0ZpfL+GKQJKefHlhE/YsC25Azzz X-Received: by 2002:a62:7603:: with SMTP id r3mr57146837pfc.32.1555076227290; Fri, 12 Apr 2019 06:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555076227; cv=none; d=google.com; s=arc-20160816; b=KFO/jXkIgxkLDbUbhm+7NCBWwM/8UtKZzp71ChDLep74uQBDcMr7V8f3wOBNH0f1O5 Kmcvk47r1OrcB/D8qUeaprIfwLNH/+CJNAOVMuKOEyVXSHaaSY0NcGDiNqj6rryTKi/D imD0moeOda0b4MhRT35jfxf3ZZhrOhUAEng5nFir+6jtQr1kgO8QUnS8bH5fHgEL4l7z gFy/twloF94VAA4xIAigz6FlLlRGXQluct/JW6JgLB9lUSgo2QoGlBkUVW0S4vAkJtbq Z8Wbe41lqDvuAO1sgAbjz0DZWsIrOsH088GjE8h6w5Vx+xElTgvVSYcpV3tPq/RtGBLV PykQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=JjnKLTKHsblmjk5SlnpUw4VKF9fWRJUx+2c6ks5DF8o=; b=rkUSDkpcetMTC51WuwHaS2f1vukNGZnlGWCSLyH5FVcHsKedaUAe30SRrU145uOtGu gKTKA7GHU/OP1A1RI4DeCpfjZMW4aJZ0PZKq2BW3OLZNrABS0qChtu9QFpFL+iuvRpjd /I7T5b7K9z16oW/QpjD2TZqG7MNKg5bZBurXDLr+Ny6q5jXpX0VK0SwDU57wXHwVF8CS Lz448pcRduImjBXrX/VuHODnIxj2cG2tsphj11k2JnZctGIfRKmdsStXnBV0t5W5zRj3 hhcS+MDExVCy0wFsuvseSG22jRaqDXrDP99++Gj7LXle+NBPe07CA9bvK0HzhnvWvfD3 pHzg== ARC-Authentication-Results: i=1; mx.google.com; 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 a2si12116871pgn.530.2019.04.12.06.36.50; Fri, 12 Apr 2019 06:37:07 -0700 (PDT) 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; 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 S1726994AbfDLNfu (ORCPT + 99 others); Fri, 12 Apr 2019 09:35:50 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:59727 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726765AbfDLNfu (ORCPT ); Fri, 12 Apr 2019 09:35:50 -0400 Received: from [192.168.178.52] ([109.104.50.142]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N49Yn-1gomgM2Kht-0101vG; Fri, 12 Apr 2019 15:35:15 +0200 Subject: Re: [PATCH V5 3/3] hwmon: pwm-fan: Add RPM support via external interrupt To: "Enrico Weigelt, metux IT consult" , Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland , Robin Murphy Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <1554989411-23666-1-git-send-email-stefan.wahren@i2se.com> <1554989411-23666-4-git-send-email-stefan.wahren@i2se.com> <24771fbe-0c45-78b0-e96b-6ed31ccdcb7f@metux.net> From: Stefan Wahren Message-ID: <518757ac-b0d7-298c-c896-4bd7e3b2ac5b@i2se.com> Date: Fri, 12 Apr 2019 15:35:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <24771fbe-0c45-78b0-e96b-6ed31ccdcb7f@metux.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Provags-ID: V03:K1:wleykePClsDgbAjQmpOtAm3852cJHA61PeD5magwIfF5Ikf5mDI RkgqqHHs865TBQXyNHaOcN/OLQOqFJjjxm9zv4pHKIlpae42W26a+uDxehArPpnynrXiEFX 3J36f+5QRusVvhnGTMPN43hHNvLFMWhJZ+UfvabV7UHIf6rva7sGco9PuaHuraGqvli/9EA Q4yDyFaIPA4pr3oHkpFFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:3QclmQOO6e0=:hcAMYwEiTkbpsuYd9gH0xU mkFGd/v6/iFL2knNLngV/lCtRBQR0te7EGLZXxgHgjVkA5pc66ruVS/0MVU3QxM4v/o8yy1xT waN779FjPf+A1egO0YJ8VGAn9ERAgw+bgGP1rx7mBV1Y/WgiXCp9pm1/rEgqgrp89eOayHFGl ANgwPPQCnmSNU13MEEGWa0QOMP0euaJpY4ud6sftIipNRhSfN5GNmYBUMs7D+0pfuHrmpZ206 YOG0PzNLr2uw2wckKLfDspxBba9DVAIgqGY1jjV2xAkumMTB1lDIDlHOZJCtftw4FwMVPyhfR PL8xbj6+7BQY8wb3XHoadvzqdAbhqIrzjbSgD2pDWWKfbQB9Fpgv2wTKug8kuZZk7m2UtNJqn A07ZPtJCtr4mTTRCwMzBwl7DLNzlY6FEiCOGloTBRlfVcOuzZI68POI+2jM4sMTuLyeTc2kp9 o+4ruzkysfFoz0yoDE4LZk1O1KQdcqwY2RyIP0RtvhzvlI9RD04+FBJuMSepbtek+s+hcBL9q iGA2wW2b5t8MgKVDTIUJDrbwSrLlt0a9QzssUG+RP+0JPdI7/luSrL7gTe9Hw7fiImMwkUadk 8U6mpXrh07VJAfi3HD50G0rxBIJP4igJ+JQOujpjMYer3WyGuiVMsUPKxIKSXKgQBszt7+ftU Wfp4jhuueHPhBieAohBgYCGdJLOE6lavnTGizYZUmdRQXT7B3ci7py8Uiusm0YuxPIJHbgBBC OtQURch/iibm7/FircPD4eafE/9PeuwXVmG943/TSDjStv4V6a6SrV0zPVc= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Enrico, On 12.04.19 15:15, Enrico Weigelt, metux IT consult wrote: > On 11.04.19 15:30, Stefan Wahren wrote: >> This adds RPM support to the pwm-fan driver in order to use with >> fancontrol/pwmconfig. This feature is intended for fans with a tachometer >> output signal, which generate a defined number of pulses per revolution. > Wouldn't it be better to have a CONFIG_* flag for keeping the kernel > image size smaller when this feature isn't needed ? i compared the kernel module size in linux-next for ARM without and with this patch: without patch: 12088 bytes with patch: 14292 bytes I don't think it is worth the trouble. Stefan > > > --mtx >