Re: [PATCH v2 0/9] thermal: exynos: various cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bartlomiej,

On Thu, Jul 31, 2014 at 1:37 PM, Bartlomiej Zolnierkiewicz
<b.zolnierkie@xxxxxxxxxxx> wrote:
>
> Hi,
>
> On Tuesday, July 29, 2014 08:58:48 AM Eduardo Valentin wrote:
>> On Mon, Jul 28, 2014 at 08:30:53PM +0530, amit daniel kachhap wrote:
>> > Hi Eduardo,
>>
>> Hello Amit,
>>
>> >
>> > Please reject this entire series as this is not re-based recently.
>> > Actually two point trimming which this series seeks to remove is used
>> > by exynos3250 and is in Rui's tree
>> > (https://git.kernel.org/cgit/linux/kernel/git/rzhang/linux.git/commit/?h=next&id=1fe56dc16a3dab400206443f70ae158c8f595c42).
>> >
>>
>> Yeah, that was my original concern when I first looked this series.
>> However, as I saw a couple of your acks I thought you would be in sync
>> with Bartlomiej.
>>
>> I agree with Bartlomiej that we need to keep the kernel code in very
>> good shape, but if we are removing features for the sake of reducing
>> LOCs and we end up dropping support to known chips, I definitely won't
>> agree.
>
> There is no intention to drop support for known chips.  Two months after
> initial posting of my patchset support for the new Exynos3250 SoC was
> posted and it happens to use the two point trimming calibration code (that
> was introduced back in September 2011 but never used previously).  If we
> had removed it earlier it would have to be readded partially but we are
> talking about less than 100 lines of rather straightforward code (also
> the calibration code in question is not perfect anyway and would profit
> from some cleaning but I left it as it is for now).
>
>> Can you guys please reach a common agreement on these cleanups?
>>
>> Bartlomiej, best thing to do is to sync your work on top of Rui's tree.
>
> Done, I posted v3 of patchset today:
>
>   http://www.mail-archive.com/linux-samsung-soc@xxxxxxxxxxxxxxx/msg35013.html
>
> I hope that it is acceptable for Amit now (Amit, please take a look at
> patches when you find some time, thanks!).
>

Thanks for updating the series.

Amit, can you please test the series on socs you have available? I
would prefer to merge this one now if we have a proper tested-by.

> Best regards,
> --
> Bartlomiej Zolnierkiewicz
> Samsung R&D Institute Poland
> Samsung Electronics
>
>> For now I am dropping this series from my -next branch. :-(
>>
>> > Thanks,
>> > Amit D
>> >
>> >
>> > On Mon, Jul 28, 2014 at 8:07 PM, Eduardo Valentin <edubezval@xxxxxxxxx> wrote:
>> > > On Tue, Jun 17, 2014 at 07:27:16PM +0200, Bartlomiej Zolnierkiewicz wrote:
>> > >> Hi,
>> > >>
>> > >> This patch series contains various cleanups for EXYNOS thermal
>> > >> driver.  Overall it decreases driver's LOC by 12%.  It is based
>> > >> on next-20140617 kernel.  It should not cause any functionality
>> > >> changes.
>> > >>
>> > >> Changes since v1:
>> > >> - synced patches against next-20140617
>> > >> - merged patch "thermal: exynos: remove unused defines" into
>> > >>   "thermal: exynos: remove unused struct exynos_tmu_registers
>> > >>   entries" one (per request from Eduardo)
>> > >> - improved patch descriptions for patches #1-5
>> > >> - fixed documentation for pdata->gain and pdata->reference_voltage
>> > >> - added Reviewed-by from Amit to patches #6, #7 and #10
>> > >> - added missing Acked-by from Kyungmin Park
>> > >
>> > > Pulled the series.
>> > >
>> > > Thanks.
>> > >
>> > >>
>> > >> Best regards,
>> > >> --
>> > >> Bartlomiej Zolnierkiewicz
>> > >> Samsung R&D Institute Poland
>> > >> Samsung Electronics
>> > >>
>> > >>
>> > >> Bartlomiej Zolnierkiewicz (9):
>> > >>   thermal: exynos: remove unused struct exynos_tmu_registers entries
>> > >>   thermal: exynos: remove dead code for HW_MODE calibration
>> > >>   thermal: exynos: remove dead code for TYPE_TWO_POINT_TRIMMING
>> > >>     calibration
>> > >>   thermal: exynos: remove redundant pdata checks from
>> > >>     exynos_tmu_initialize()
>> > >>   thermal: exynos: remove redundant threshold_code checks from
>> > >>     exynos_tmu_initialize()
>> > >>   thermal: exynos: simplify temp_to_code() and code_to_temp()
>> > >>   thermal: exynos: cache non_hw_trigger_levels in pdata
>> > >>   thermal: exynos: remove redundant pdata checks from
>> > >>     exynos_tmu_control()
>> > >>   thermal: exynos: remove identical values from exynos*_tmu_registers
>> > >>     structures
>> > >>
>> > >>  drivers/thermal/samsung/exynos_thermal_common.h |   1 -
>> > >>  drivers/thermal/samsung/exynos_tmu.c            | 181 ++++--------------------
>> > >>  drivers/thermal/samsung/exynos_tmu.h            |  90 +-----------
>> > >>  drivers/thermal/samsung/exynos_tmu_data.c       |  64 +--------
>> > >>  drivers/thermal/samsung/exynos_tmu_data.h       |  33 +----
>> > >>  5 files changed, 41 insertions(+), 328 deletions(-)
>> > >>
>> > >> --
>> > >> 1.8.2.3
>



-- 
Eduardo Bezerra Valentin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux