Re: TSC as timecounter makes system lag

2017-02-23 Thread Konstantin Belousov
On Thu, Feb 23, 2017 at 01:11:29AM +0800, Jia-Shiun Li wrote: > I got the impression that TSC was not preferred timecounter > if it is not C-state invariant. But this apparenly is not the case now. > Dig a bit and found r277900 chose to prefer TSC over saving power > by disabling C2 state when TSC

RE: int128_t and uint128_t typeinfo

2017-02-23 Thread Hartmut.Brandt
Now that appears to work. Thanks, harti -Original Message- From: Dimitry Andric [mailto:d...@freebsd.org] Sent: Wednesday, February 22, 2017 7:49 PM To: Brandt, Hartmut Cc: curr...@freebsd.org Subject: Re: int128_t and uint128_t typeinfo I had to commit a follow-up fix in r314104: when

r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Jakob Alvermark
Hi, Updated to r314131 and my iwm no longer works. (It is a 7265) Dmesg says: link_elf_obj: symbol iwm7265_cfg undefined linker_load_file: Unsupported file type Jakob ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listin

Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Andreas Nilsson
On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark wrote: > Hi, > > Updated to r314131 and my iwm no longer works. (It is a 7265) > Dmesg says: > link_elf_obj: symbol iwm7265_cfg undefined > linker_load_file: Unsupported file type > > Jakob > > ___ > free

Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Andreas Nilsson
On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson wrote: > > > On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark > wrote: > >> Hi, >> >> Updated to r314131 and my iwm no longer works. (It is a 7265) >> Dmesg says: >> link_elf_obj: symbol iwm7265_cfg undefined >> linker_load_file: Unsupported file

r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Juan Ramón Molina Menor
On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson > wrote: >//>//>/On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark alvermark.net > />/wrote: />//>>/Hi, />>//>>/Updated to r3141

Re: r314131: link_elf_obj: symbol iwm7265_cfg undefined

2017-02-23 Thread Jakob Alvermark
On Thu, February 23, 2017 14:52, Andreas Nilsson wrote: > On Thu, Feb 23, 2017 at 1:56 PM, Andreas Nilsson > wrote: > > >> >> >> On Thu, Feb 23, 2017 at 1:29 PM, Jakob Alvermark >> wrote: >> >> >>> Hi, >>> >>> >>> Updated to r314131 and my iwm no longer works. (It is a 7265) >>> Dmesg says: >>> l

Re: TSC as timecounter makes system lag

2017-02-23 Thread Jia-Shiun Li
On Thu, Feb 23, 2017 at 6:08 PM, Konstantin Belousov wrote: > > This is a useful analysis. > > Yes, I think that there is an init ordering issue. Note that > cpu_disable_c2_sleep is only changed in tc_windup() when timecounter > is changed. If existing and already engadged timecounter suddenly ge

Re: TSC as timecounter makes system lag

2017-02-23 Thread John Baldwin
On Thursday, February 23, 2017 11:04:58 PM Jia-Shiun Li wrote: > On Thu, Feb 23, 2017 at 6:08 PM, Konstantin Belousov > wrote: > > > > > This is a useful analysis. > > > > Yes, I think that there is an init ordering issue. Note that > > cpu_disable_c2_sleep is only changed in tc_windup() when tim

Re: TSC as timecounter makes system lag

2017-02-23 Thread Jia-Shiun Li
On Fri, Feb 24, 2017 at 12:55 AM, John Baldwin wrote: > On Thursday, February 23, 2017 11:04:58 PM Jia-Shiun Li wrote: > > > > > > This does not work. > > > > I added a printf before the outer if clause, and it says > > > > init_TSC_tc:546: deepest vendor 8086 amd_pminfo > >