Re: [PATCH 00/11] OMAP3 CPUidle patches - ver 2

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

 



Hi Richard,

"ext Woodruff, Richard" <r-woodruff2@xxxxxx> writes:

>> >> Doing this would make serial console to work faster.
>> >
>> > Yes, I removed these in my patches and put in the changes suggested by
>> Richard
>> > in 8250.c
>>
>> I doubt that your changes to 8250.c will be applied. I have understood
>> that omap specific changes are not accepted to generic 8250
>> driver. Anyway these changes doesn't help too much. Serial console is
>> annoyingly slow if sleep while idle is enabled.
>
> Rajendra is it slow in your current builds on this tree with fixes
> in place?  Sluggish serial has NOT been an issue for us in other
> trees for a long time.  Perhaps something is missing.

Why this is not problem in your trees is probably because you have
similiar hack in place. At least in your CDP tree you have 6 second
timeout after activity in serial console. While this timeout is on
only mpu is allowed to enter sleep state. After this timeout C state
selection continues normally. I agree that this is slightly better,
but still not providing realistic PM for testing. PER and CORE sleep
transitions are still prevented.

I think we must remember that serial console is a debug interface. If
doing some PM testing, it is not too big task to wait for 5 seconds
before starting the test/measurement.

>
> In general keeping code out of the C0 path is good.  What ever method makes console serial usable and gets out of the way fastest to get better power measurements in typical test environment is good.
>
> Is the comment on the smart idle / no idle aspect or the whole path?

My comment was on the changes made to 8250 driver (smart idle / no idle).

>
> It probably is easier to put changes in our local cpu_idle-C0 function as compared to a shared 8250 driver.  But if it means adding extra code on a hot system path it is less appealing.
>
> If it's working here, we can ask what opinions are on ARM-Linux
> list. Today there are other UART instance specific work arounds in
> that code.

Ok, it would be great to get such code to 8250 driver.

>
> Regards,
> Richard W.
>

-- 
Jouni Högander

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux