Re: r8168 is needed to enter P-state: Package State 6 (pc6)onHaswell hardware: does the patch below against current kernel make a difference?
From: Ceriel Jacobs <hidden>
Date: 2014-10-08 22:46:34
The 3.13 source was installed using "apt-get source linux-source-3.13.0" The patch hunk#2 failing issue is something in the "heredoc" notation (me trying to apply the patch without storing the patch lines as temporary input file). I am now using the temp file without any issue. The next newly blocking issue is this: # make -C /lib/modules/$(uname -r)/build M=$(pwd) modules make: Entering directory `/usr/src/linux-headers-3.17.0-031700rc7-generic' CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/8139cp.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/8139too.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/atp.o CC [M] /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.o /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.c: In function 'rtl_init_one': /root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.c:7127:2: error: implicit declaration of function 'SET_ETHTOOL_OPS' [-Werror=implicit-function-declaration] SET_ETHTOOL_OPS(dev, &rtl8169_ethtool_ops); ^ cc1: some warnings being treated as errors make[1]: *** [/root/linux-3.13.0/drivers/net/ethernet/realtek/r8169.o] Error 1 make: *** [_module_/root/linux-3.13.0/drivers/net/ethernet/realtek] Error 2 make: Leaving directory `/usr/src/linux-headers-3.17.0-031700rc7-generic' Any new suggestion how to honour your patch/test request? Francois Romieu schreef op 09-10-14 om 00:17:
Ceriel Jacobs [off-list ref] : [...]quoted
Francois, could you help me apply your patch?$ git describe v3.13 $ patch -p1 --dry-run < /tmp/plop checking file drivers/net/ethernet/realtek/r8169.c Hunk #1 succeeded at 467 (offset -1 lines). Hunk #2 succeeded at 5275 (offset -5 lines). $ git rev-list v3.16 -- drivers/net/ethernet/realtek/r8169.c | while read x; do echo $x:$(git cat-file -p $x:drivers/net/ethernet/realtek/r8169.c | md5sum); done | grep 95056b56932b375f8b65a6379009f704 -> oualou Where does your 3.13 source tree come from ?