Porting pch_pcieqos to 3.2 for Intel EG20T with no MAC
I find myself with a development board with no MAC address for the pch_gbe in the Platform Controller Hub EG20T. I've dusted off an old patch and am trying to get it working so it can be included upstream.
I found the phub_util_mac utility on sourceforge which appears to require the following patch:
I've made the obvious changes to the driver to use unlocked_ioctl as ioctl has been removed upstream. With this driver built and installed, the topcliff_mac_util command reports no errors and reads the MAC address as:
00:00:00:00:00:00
Trying to set it reports no errors either, and the instrumentation suggests it is at least trying to write the correct data. Reading back still results in all zeros.
During boot, the pch_gbe driver reports:
[ 2.211233] pch_gbe 0000:02:00.1: enabling device (0000 -> 0003) [ 2.217271] pch_gbe 0000:02:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.224349] pch_gbe 0000:02:00.1: setting latency timer to 64 [ 2.233388] pch_gbe 0000:02:00.1: Invalid MAC Address [ 2.238821] pch_gbe 0000:02:00.1: PCI INT A disabled [ 2.243809] pch_gbe: probe of 0000:02:00.1 failed with error -5
The patch itself follows, I have attached a rather lengthy log which includes a read/write/read cycle demonstrating the write not taking effect.
Can you shed some light on why this might be the case?
Thanks,
Darren Hart
Quoted 1 line
From
53b8f7b9033e374be3edaa4ea620069bdfa4aebbMon Sep 17 00:00:00 2001
Message-Id: <53b8f7b9033e374be3edaa4ea620069bdfa4aebb.1326246553.git.dvhart@linux.intel.com>
From: Darren Hart <[email protected]>
Date: Mon, 9 Jan 2012 13:51:20 -0800
Subject: [PATCH] OKI Semiconductor PCH PCIEQOS driver
This driver implements PCH PCIEQOS controls for PCH.
Ported to 3.2 from 2.6.34 by Darren Hart.
--- drivers/char/Kconfig | 7 + drivers/char/Makefile | 2 + drivers/char/pch_pcieqos/Makefile | 9 + drivers/char/pch_pcieqos/pch_common.h | 146 ++++++++ drivers/char/pch_pcieqos/pch_debug.h | 60 +++ drivers/char/pch_pcieqos/pch_pcieqos.c | 400 ++++++++++++++++++++ drivers/char/pch_pcieqos/pch_pcieqos.h | 193 ++++++++++ drivers/char/pch_pcieqos/pch_pcieqos_hal.c | 550 ++++++++++++++++++++++++++++ drivers/char/pch_pcieqos/pch_pcieqos_hal.h | 125 +++++++ drivers/char/pch_pcieqos/pch_pcieqos_pci.c | 523 ++++++++++++++++++++++++++ 10 files changed, 2015 insertions(+), 0 deletions(-) create mode 100644 drivers/char/pch_pcieqos/Makefile create mode 100644 drivers/char/pch_pcieqos/pch_common.h create mode 100644 drivers/char/pch_pcieqos/pch_debug.h create mode 100644 drivers/char/pch_pcieqos/pch_pcieqos.c create mode 100644 drivers/char/pch_pcieqos/pch_pcieqos.h create mode 100644 drivers/char/pch_pcieqos/pch_pcieqos_hal.c create mode 100644 drivers/char/pch_pcieqos/pch_pcieqos_hal.h create mode 100644 drivers/char/pch_pcieqos/pch_pcieqos_pci.c
drivers/char/Kconfig +7 -0
@@ -627,5 +627,12 @@ config TILE_SROM device appear much like a simple EEPROM, and knows how to partition a single ROM for multiple purposes. +config PCH_PCIEQOS + tristate "PCH PCIEQOS" + depends on PCI + help + If you say yes to this option, support will be included for the + PCH PCIEQOS Host controller. + endmenu
drivers/char/Makefile +2 -0
@@ -65,3 +65,5 @@ obj-$(CONFIG_JS_RTC) += js-rtc.o js-rtc-y = rtc.o obj-$(CONFIG_TILE_SROM) += tile-srom.o + +obj-$(CONFIG_PCH_PCIEQOS) += pch_pcieqos/
drivers/char/pch_pcieqos/Makefile new file +9 -0
@@ -0,0 +1,9 @@ +ifeq ($(CONFIG_PCIEQOS_DEBUG),y) +EXTRA_CFLAGS += -DDEBUG +endif + +obj-$(CONFIG_PCH_PCIEQOS) += pch_pcieqos_drv.o +#to set CAN clock to 50Mhz +EXTRA_CFLAGS+=-DIOH_CAN_PCLK_50MHZ + +pch_pcieqos_drv-objs := pch_pcieqos.o pch_pcieqos_pci.o pch_pcieqos_hal.o
drivers/char/pch_pcieqos/pch_common.h new file +146 -0
146 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_debug.h new file +60 -0
60 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_pcieqos.c new file +400 -0
400 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_pcieqos.h new file +193 -0
193 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_pcieqos_hal.c new file +550 -0
550 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_pcieqos_hal.h new file +125 -0
125 lines not on this page · raw message
drivers/char/pch_pcieqos/pch_pcieqos_pci.c new file +523 -0
523 lines not on this page · raw message
Signature · 8 lines
1.7.5.4 -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
root@(none):/# topcliff_mac_util /get
Topcliff MAC a[ 1498.714703] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open : open count value = 0 ddress utility
[ 1498.724336] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open returns=0 [ 1498.724340]
[ 1498.734384] ioh_pcieqos arguments: [ 1498.737962] file: dd729b80 [ 1498.740785] cmd: 4004f706 [ 1498.743672] arg: bffc1734 [ 1498.746574] command summary: [ 1498.749460] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1498.754263] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1498.759168] 172: copy_from_user [ 1498.762340] &addr_offset: de409f24 [ 1498.765850] &reqt->addr_offset: bffc1734 [ 1498.769890] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1498.769895] [ 1498.780292] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40017 [ 1498.780297] [ 1498.791149] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1498.791155] [ 1498.804072] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1498.804077] [ 1498.812693] ioh_pcieqos arguments: [ 1498.816117] file: dd729b80 [ 1498.818911] cmd: 4004f706 [ 1498.821805] arg: bffc1734 [ 1498.824699] command summary: [ 1498.827585] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1498.832396] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1498.837301] 172: copy_from_user [ 1498.840458] &addr_offset: de409f24 [ 1498.843958] &reqt->addr_offset: bffc1734 [ 1498.847997] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1498.848002] [ 1498.858383] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40016 [ 1498.858388] [ 1498.869237] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1498.869243] [ 1498.882155] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1498.882159] [ 1498.890720] ioh_pcieqos arguments: [ 1498.894148] file: dd729b80 [ 1498.896975] cmd: 4004f706 [ 1498.899877] arg: bffc1734 [ 1498.902771] command summary: [ 1498.905675] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1498.910484] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1498.915392] 172: copy_from_user [ 1498.918553] &addr_offset: de409f24 [ 1498.922064] &reqt->addr_offset: bffc1734 [ 1498.926103] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1498.926108] [ 1498.936506] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40015 [ 1498.936511] [ 1498.947318] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1498.947324] [ 1498.960254] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1498.960258] [ 1498.968827] ioh_pcieqos arguments: [ 1498.972246] file: dd729b80 [ 1498.975046] cmd: 4004f706 [ 1498.977940] arg: bffc1734 [ 1498.980834] command summary: [ 1498.983721] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1498.988523] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1498.993428] 172: copy_from_user [ 1498.996602] &addr_offset: de409f24 [ 1499.000110] &reqt->addr_offset: bffc1734 [ 1499.004143] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1499.004147] [ 1499.014516] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40014 [ 1499.014521] [ 1499.025338] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1499.025344] [ 1499.038248] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1499.038252] [ 1499.046811] ioh_pcieqos arguments: [ 1499.050223] file: dd729b80 [ 1499.053030] cmd: 4004f706 [ 1499.055909] arg: bffc1734 [ 1499.058802] command summary: [ 1499.061707] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1499.066519] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1499.071421] 172: copy_from_user [ 1499.074576] &addr_offset: de409f24 [ 1499.078087] &reqt->addr_offset: bffc1734 [ 1499.082126] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1499.082131] [ 1499.092528] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff4001f [ 1499.092533] [ 1499.103352] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1499.103357] [ 1499.116258] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1499.116262] [ 1499.124832] ioh_pcieqos arguments: [ 1499.128260] file: dd729b80 [ 1499.131060] cmd: 4004f706 [ 1499.133955] arg: bffc1734 [ 1499.136867] command summary: [ 1499.139753] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1499.144563] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1499.149461] 172: copy_from_user [ 1499.152632] &addr_offset: de409f24 [ 1499.156143] &reqt->addr_offset: bffc1734 [ 1499.160172] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1499.160177] [ 1499.170582] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff4001e [ 1499.170587] [ 1499.181413] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1499.181419] [ 1499.194329] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1499.194334] Read MAC address[ 1499.202917] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release : ioh_pcieqos_opencount =0 [ 1499.202921] = 00:00:00:00:0[ 1499.214689] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release returning=0 [ 1499.214693]
0:00
root@(none):/# topcliff_mac_util /set 00:00:00:00:00:BB
Topcliff MAC a[ 1503.258860] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open : open count value = 0 ddress utility
[ 1503.268477] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open returns=0 [ 1503.268481] [ 1503.278533] ioh_pcieqos arguments: [ 1503.281952] file: dd729f00 [ 1503.284761] cmd: 4004f707 [ 1503.287647] arg: bff2b684 [ 1503.290541] command summary: [ 1503.293437] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1503.298246] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1503.303136] 172: copy_from_user [ 1503.306300] &addr_offset: de409f24 [ 1503.309809] &reqt->addr_offset: bff2b684 [ 1503.313842] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1503.313847] [ 1503.324242] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1503.324247] [ 1503.335169] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.335173] [ 1503.343653] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1503.343657] [ 1503.351210] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1503.351215] [ 1503.362150] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.362154] [ 1503.370643] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1503.370647] [ 1503.378238] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1503.378243] [ 1503.389174] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.389178] [ 1503.397658] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1503.397662] [ 1503.405241] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1503.405246] [ 1503.416180] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.416184] [ 1503.424683] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1503.424687] [ 1503.432262] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1503.432267] [ 1503.443184] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.443188] [ 1503.451662] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.451666] [ 1503.459206] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1503.459211] [ 1503.470131] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.470135] [ 1503.478627] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.478631] [ 1503.486184] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1503.486189] [ 1503.497138] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.497143] [ 1503.505613] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.505617] [ 1503.513203] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1503.513208] [ 1503.524147] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.524151] [ 1503.532639] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1503.532643] [ 1503.540224] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1503.540229] [ 1503.551166] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.551170] [ 1503.559644] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1503.559648] [ 1503.567214] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1503.567219] [ 1503.578157] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.578162] [ 1503.586631] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1503.586635] [ 1503.594192] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1503.594197] [ 1503.605152] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.605156] [ 1503.613632] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1503.613636] [ 1503.621203] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1503.621208] [ 1503.632141] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.632145] [ 1503.640639] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1503.640643] [ 1503.648224] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1503.648229] [ 1503.659159] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.659163] [ 1503.667645] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1503.667648] [ 1503.675190] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1503.675195] [ 1503.686129] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.686133] [ 1503.694632] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1503.694635] [ 1503.702207] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1503.702212] [ 1503.713126] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.713130] [ 1503.721623] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1503.721627] [ 1503.729194] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1503.729199] [ 1503.740117] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.740122] [ 1503.748593] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1503.748597] [ 1503.756196] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1503.756201] [ 1503.767138] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.767143] [ 1503.775635] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1503.775639] [ 1503.783179] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1503.783184] [ 1503.794129] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.794134] [ 1503.802639] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1503.802643] [ 1503.810200] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1503.810205] [ 1503.821142] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.821147] [ 1503.829621] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1503.829625] [ 1503.837211] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1503.837216] [ 1503.848141] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.848145] [ 1503.856626] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1503.856630] [ 1503.864223] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1503.864228] [ 1503.875164] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.875168] [ 1503.883642] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1503.883646] [ 1503.891212] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1503.891217] [ 1503.902137] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.902141] [ 1503.910622] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.910626] [ 1503.918197] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1503.918202] [ 1503.929135] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.929139] [ 1503.937619] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.937623] [ 1503.945203] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1503.945208] [ 1503.956115] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.956119] [ 1503.964599] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.964603] [ 1503.972179] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40017 [ 1503.972184] [ 1503.983122] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1503.983126] [ 1503.991617] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1503.991621] [ 1503.999159] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1503.999165] [ 1504.012089] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1504.012093] [ 1504.020668] ioh_pcieqos arguments: [ 1504.024086] file: dd729f00 [ 1504.026883] cmd: 4004f707 [ 1504.029786] arg: bff2b684 [ 1504.032679] command summary: [ 1504.035566] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1504.040385] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1504.045275] 172: copy_from_user [ 1504.048429] &addr_offset: de409f24 [ 1504.051930] &reqt->addr_offset: bff2b684 [ 1504.055955] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1504.055960] [ 1504.066366] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1504.066371] [ 1504.077298] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.077303] [ 1504.085759] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1504.085763] [ 1504.093304] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1504.093308] [ 1504.104228] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.104232] [ 1504.112714] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1504.112718] [ 1504.120273] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1504.120278] [ 1504.131211] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.131215] [ 1504.139694] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.139698] [ 1504.147257] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1504.147262] [ 1504.158188] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.158192] [ 1504.166666] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1504.166671] [ 1504.174245] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1504.174250] [ 1504.185169] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.185174] [ 1504.193646] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.193650] [ 1504.201191] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1504.201196] [ 1504.212134] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.212138] [ 1504.220616] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.220621] [ 1504.228184] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1504.228189] [ 1504.239120] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.239124] [ 1504.247607] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.247611] [ 1504.255170] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1504.255175] [ 1504.266100] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.266105] [ 1504.274586] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1504.274591] [ 1504.282182] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1504.282187] [ 1504.293116] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.293120] [ 1504.301593] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1504.301597] [ 1504.309147] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1504.309152] [ 1504.320087] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.320091] [ 1504.328572] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1504.328576] [ 1504.336131] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1504.336136] [ 1504.347067] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.347072] [ 1504.355548] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.355552] [ 1504.363126] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1504.363131] [ 1504.374047] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.374052] [ 1504.382508] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1504.382512] [ 1504.390104] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1504.390109] [ 1504.401029] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.401033] [ 1504.409505] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1504.409510] [ 1504.417051] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1504.417056] [ 1504.427966] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.427970] [ 1504.436442] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1504.436446] [ 1504.444010] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1504.444015] [ 1504.454937] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.454941] [ 1504.463424] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.463428] [ 1504.470988] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1504.470993] [ 1504.481909] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.481914] [ 1504.490385] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1504.490389] [ 1504.497982] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1504.497987] [ 1504.508915] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.508919] [ 1504.517400] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1504.517404] [ 1504.524945] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1504.524950] [ 1504.535870] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.535874] [ 1504.544346] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1504.544350] [ 1504.551921] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1504.551926] [ 1504.562852] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.562856] [ 1504.571343] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.571347] [ 1504.578926] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1504.578931] [ 1504.589847] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.589851] [ 1504.598309] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1504.598313] [ 1504.605886] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1504.605891] [ 1504.616819] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.616823] [ 1504.625305] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.625309] [ 1504.632851] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1504.632856] [ 1504.643765] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.643770] [ 1504.652241] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.652245] [ 1504.659800] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1504.659806] [ 1504.670728] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.670732] [ 1504.679204] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.679208] [ 1504.686786] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1504.686791] [ 1504.697717] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.697721] [ 1504.706203] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.706207] [ 1504.713789] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40016 [ 1504.713794] [ 1504.724697] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.724701] [ 1504.733173] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.733177] [ 1504.740735] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1504.740741] [ 1504.753637] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1504.753641] [ 1504.762200] ioh_pcieqos arguments: [ 1504.765630] file: dd729f00 [ 1504.768439] cmd: 4004f707 [ 1504.771323] arg: bff2b684 [ 1504.774218] command summary: [ 1504.777131] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1504.781933] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1504.786823] 172: copy_from_user [ 1504.789977] &addr_offset: de409f24 [ 1504.793478] &reqt->addr_offset: bff2b684 [ 1504.797502] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1504.797507] [ 1504.807894] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1504.807899] [ 1504.818839] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.818844] [ 1504.827307] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1504.827311] [ 1504.834851] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1504.834856] [ 1504.845795] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.845799] [ 1504.854286] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1504.854290] [ 1504.861845] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1504.861850] [ 1504.872781] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.872785] [ 1504.881268] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1504.881272] [ 1504.888831] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1504.888836] [ 1504.899755] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.899759] [ 1504.908240] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1504.908244] [ 1504.915818] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1504.915823] [ 1504.926758] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.926763] [ 1504.935238] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.935242] [ 1504.942792] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1504.942797] [ 1504.953714] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.953718] [ 1504.962190] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.962195] [ 1504.969749] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1504.969755] [ 1504.980676] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1504.980680] [ 1504.989156] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1504.989160] [ 1504.996734] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1504.996739] [ 1505.007665] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.007670] [ 1505.016141] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1505.016145] [ 1505.023732] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1505.023737] [ 1505.034656] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.034660] [ 1505.043123] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.043127] [ 1505.050676] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1505.050681] [ 1505.061601] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.061605] [ 1505.070076] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.070080] [ 1505.077644] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1505.077649] [ 1505.088571] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.088575] [ 1505.097051] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.097055] [ 1505.104639] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1505.104644] [ 1505.115569] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.115574] [ 1505.124046] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1505.124050] [ 1505.131634] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1505.131639] [ 1505.142558] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.142562] [ 1505.151035] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.151039] [ 1505.158582] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1505.158587] [ 1505.169513] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.169517] [ 1505.177998] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.178002] [ 1505.185557] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1505.185562] [ 1505.196484] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.196488] [ 1505.204964] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.204968] [ 1505.212543] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1505.212548] [ 1505.223464] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.223468] [ 1505.231926] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1505.231930] [ 1505.239529] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1505.239534] [ 1505.250452] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.250457] [ 1505.258923] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.258927] [ 1505.266459] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1505.266464] [ 1505.277393] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.277397] [ 1505.285878] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.285882] [ 1505.293446] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1505.293451] [ 1505.304372] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.304376] [ 1505.312840] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.312844] [ 1505.320404] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1505.320409] [ 1505.331344] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.331349] [ 1505.339836] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1505.339840] [ 1505.347433] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1505.347438] [ 1505.358357] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.358361] [ 1505.366836] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.366840] [ 1505.374371] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1505.374376] [ 1505.385287] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.385291] [ 1505.393762] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.393766] [ 1505.401331] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1505.401336] [ 1505.412283] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.412287] [ 1505.420763] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.420767] [ 1505.428341] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1505.428346] [ 1505.439247] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.439251] [ 1505.447723] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.447728] [ 1505.455311] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40015 [ 1505.455316] [ 1505.466254] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.466259] [ 1505.474740] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.474744] [ 1505.482327] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1505.482333] [ 1505.495237] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1505.495241] [ 1505.503807] ioh_pcieqos arguments: [ 1505.507221] file: dd729f00 [ 1505.510031] cmd: 4004f707 [ 1505.512925] arg: bff2b684 [ 1505.515824] command summary: [ 1505.518740] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1505.523560] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1505.528445] 172: copy_from_user [ 1505.531607] &addr_offset: de409f24 [ 1505.535112] &reqt->addr_offset: bff2b684 [ 1505.539150] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1505.539155] [ 1505.549554] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1505.549559] [ 1505.560463] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.560468] [ 1505.568941] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.568945] [ 1505.576496] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1505.576501] [ 1505.587416] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.587420] [ 1505.595893] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.595897] [ 1505.603455] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1505.603460] [ 1505.614389] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.614393] [ 1505.622865] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.622869] [ 1505.630446] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1505.630451] [ 1505.641353] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.641357] [ 1505.649829] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1505.649833] [ 1505.657419] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1505.657424] [ 1505.668341] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.668345] [ 1505.676822] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.676826] [ 1505.684355] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1505.684360] [ 1505.695278] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.695283] [ 1505.703748] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.703752] [ 1505.711316] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1505.711321] [ 1505.722239] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.722244] [ 1505.730700] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1505.730704] [ 1505.738273] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1505.738278] [ 1505.749195] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.749199] [ 1505.757671] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1505.757675] [ 1505.765262] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1505.765267] [ 1505.776187] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.776191] [ 1505.784679] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.784683] [ 1505.792214] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1505.792220] [ 1505.803156] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.803161] [ 1505.811623] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.811627] [ 1505.819183] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1505.819188] [ 1505.830110] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.830115] [ 1505.838587] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.838591] [ 1505.846159] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1505.846164] [ 1505.857081] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.857085] [ 1505.865541] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1505.865545] [ 1505.873128] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1505.873132] [ 1505.884045] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.884049] [ 1505.892522] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1505.892526] [ 1505.900058] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1505.900063] [ 1505.910973] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.910977] [ 1505.919458] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1505.919462] [ 1505.927017] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1505.927022] [ 1505.937944] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.937949] [ 1505.946421] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1505.946425] [ 1505.953994] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1505.953999] [ 1505.964915] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.964919] [ 1505.973395] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1505.973399] [ 1505.980987] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1505.980992] [ 1505.991905] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1505.991909] [ 1506.000391] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1506.000395] [ 1506.007936] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1506.007941] [ 1506.018851] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.018855] [ 1506.027327] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1506.027331] [ 1506.034887] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1506.034892] [ 1506.045830] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.045834] [ 1506.054309] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.054313] [ 1506.061893] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1506.061898] [ 1506.072820] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.072824] [ 1506.081305] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1506.081309] [ 1506.088891] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1506.088896] [ 1506.099828] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.099832] [ 1506.108315] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.108319] [ 1506.115873] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1506.115878] [ 1506.126806] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.126810] [ 1506.135286] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.135290] [ 1506.142851] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1506.142856] [ 1506.153778] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.153782] [ 1506.162263] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.162268] [ 1506.169837] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1506.169842] [ 1506.180767] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.180771] [ 1506.189252] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.189256] [ 1506.196839] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40014 [ 1506.196844] [ 1506.207749] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.207753] [ 1506.216234] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.216238] [ 1506.223831] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1506.223837] [ 1506.236740] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1506.236744] [ 1506.245324] ioh_pcieqos arguments: [ 1506.248748] file: dd729f00 [ 1506.251548] cmd: 4004f707 [ 1506.254458] arg: bff2b684 [ 1506.257353] command summary: [ 1506.260257] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1506.265078] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1506.269982] 172: copy_from_user [ 1506.273136] &addr_offset: de409f24 [ 1506.276638] &reqt->addr_offset: bff2b684 [ 1506.280661] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1506.280666] [ 1506.291053] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1506.291058] [ 1506.301997] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.302001] [ 1506.310483] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1506.310487] [ 1506.318036] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1506.318041] [ 1506.328979] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.328983] [ 1506.337457] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1506.337461] [ 1506.344997] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1506.345002] [ 1506.355915] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.355919] [ 1506.364400] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.364404] [ 1506.371968] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1506.371973] [ 1506.382894] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.382898] [ 1506.391364] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1506.391368] [ 1506.398951] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1506.398956] [ 1506.409901] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.409905] [ 1506.418378] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.418382] [ 1506.425914] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1506.425919] [ 1506.436848] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.436853] [ 1506.445323] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.445327] [ 1506.452883] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1506.452888] [ 1506.463801] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.463805] [ 1506.472280] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.472284] [ 1506.479834] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1506.479839] [ 1506.490755] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.490759] [ 1506.499233] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1506.499237] [ 1506.506822] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1506.506827] [ 1506.517752] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.517757] [ 1506.526231] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1506.526235] [ 1506.533774] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1506.533779] [ 1506.544698] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.544702] [ 1506.553185] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1506.553189] [ 1506.560735] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1506.560740] [ 1506.571672] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.571676] [ 1506.580140] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.580143] [ 1506.587712] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1506.587717] [ 1506.598634] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.598638] [ 1506.607110] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1506.607114] [ 1506.614698] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1506.614703] [ 1506.625622] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.625626] [ 1506.634103] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1506.634107] [ 1506.641661] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1506.641666] [ 1506.652578] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.652582] [ 1506.661054] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1506.661058] [ 1506.668631] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1506.668636] [ 1506.679565] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.679569] [ 1506.688051] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.688055] [ 1506.695623] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1506.695628] [ 1506.706563] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.706567] [ 1506.715042] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1506.715046] [ 1506.722611] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1506.722616] [ 1506.733552] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.733556] [ 1506.742038] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1506.742042] [ 1506.749583] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1506.749588] [ 1506.760508] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.760513] [ 1506.769001] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1506.769005] [ 1506.776560] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1506.776565] [ 1506.787478] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.787482] [ 1506.795982] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.795985] [ 1506.803554] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1506.803559] [ 1506.814493] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.814497] [ 1506.822987] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1506.822991] [ 1506.830574] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1506.830579] [ 1506.841501] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.841505] [ 1506.849977] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1506.849981] [ 1506.857521] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1506.857526] [ 1506.868455] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.868459] [ 1506.876950] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.876954] [ 1506.884490] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1506.884495] [ 1506.895410] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.895414] [ 1506.903903] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.903906] [ 1506.911475] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1506.911480] [ 1506.922388] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.922392] [ 1506.930867] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.930871] [ 1506.938452] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001f [ 1506.938457] [ 1506.949385] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1506.949389] [ 1506.957872] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1506.957876] [ 1506.965425] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1506.965430] [ 1506.978346] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1506.978350] [ 1506.986922] ioh_pcieqos arguments: [ 1506.990338] file: dd729f00 [ 1506.993145] cmd: 4004f707 [ 1506.996048] arg: bff2b684 [ 1506.998946] command summary: [ 1507.001872] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1507.006675] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1507.011571] 172: copy_from_user [ 1507.014737] &addr_offset: de409f24 [ 1507.018254] &reqt->addr_offset: bff2b684 [ 1507.022279] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1507.022283] [ 1507.032677] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000b [ 1507.032682] [ 1507.043604] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.043608] [ 1507.052081] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1507.052085] [ 1507.059628] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000a [ 1507.059633] [ 1507.070567] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.070571] [ 1507.079028] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1507.079032] [ 1507.086586] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40009 [ 1507.086591] [ 1507.097523] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.097527] [ 1507.106016] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1507.106019] [ 1507.113598] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40008 [ 1507.113603] [ 1507.124520] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.124524] [ 1507.133006] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x02 [ 1507.133010] [ 1507.140611] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000f [ 1507.140616] [ 1507.151561] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.151565] [ 1507.160057] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.160061] [ 1507.167583] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000e [ 1507.167588] [ 1507.178523] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.178527] [ 1507.187009] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.187013] [ 1507.194587] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000d [ 1507.194592] [ 1507.205521] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.205525] [ 1507.213998] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.214002] [ 1507.221571] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4000c [ 1507.221576] [ 1507.232494] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.232499] [ 1507.240989] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x80 [ 1507.240993] [ 1507.248574] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40013 [ 1507.248579] [ 1507.259499] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.259503] [ 1507.267976] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1507.267980] [ 1507.275520] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40012 [ 1507.275525] [ 1507.286446] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.286450] [ 1507.294939] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1507.294943] [ 1507.302498] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40011 [ 1507.302503] [ 1507.313416] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.313420] [ 1507.321894] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1507.321897] [ 1507.329466] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40010 [ 1507.329471] [ 1507.340388] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.340392] [ 1507.348876] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x18 [ 1507.348880] [ 1507.356460] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001b [ 1507.356465] [ 1507.367394] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.367399] [ 1507.375872] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1507.375876] [ 1507.383416] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001a [ 1507.383421] [ 1507.394340] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.394344] [ 1507.402826] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1507.402829] [ 1507.410393] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40019 [ 1507.410398] [ 1507.421313] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.421317] [ 1507.429815] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1507.429819] [ 1507.437406] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40018 [ 1507.437411] [ 1507.448343] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.448347] [ 1507.456820] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x19 [ 1507.456824] [ 1507.464410] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40023 [ 1507.464415] [ 1507.475333] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.475337] [ 1507.483818] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbc [ 1507.483822] [ 1507.491363] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40022 [ 1507.491368] [ 1507.502287] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.502291] [ 1507.510764] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x10 [ 1507.510768] [ 1507.518323] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40021 [ 1507.518328] [ 1507.529257] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.529261] [ 1507.537753] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1507.537757] [ 1507.545326] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40020 [ 1507.545331] [ 1507.556268] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.556272] [ 1507.564734] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x3a [ 1507.564738] [ 1507.572337] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40027 [ 1507.572342] [ 1507.583279] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.583283] [ 1507.591766] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x01 [ 1507.591770] [ 1507.599330] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40026 [ 1507.599334] [ 1507.610251] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.610255] [ 1507.618729] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.618733] [ 1507.626288] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40025 [ 1507.626293] [ 1507.637222] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.637226] [ 1507.645709] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.645713] [ 1507.653281] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff40024 [ 1507.653286] [ 1507.664231] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.664235] [ 1507.672726] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0x00 [ 1507.672730] [ 1507.680310] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_write_serial_rom:mem_addr=0xdff4001e [ 1507.680315] [ 1507.691245] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:word_data=0x00000000 [ 1507.691249] [ 1507.699722] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:data=0xbb [ 1507.699726] [ 1507.707280] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_write_gbe_mac_addr successfully [ 1507.707286] [ 1507.720194] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1507.720198] [ 1507.728769] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release : ioh_pcieqos_opencount =0 [ 1507.728774] [ 1507.739148] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release returning=0 [ 1507.739153]
root@(none):/# topcliff_mac_util /get
Topcliff MAC a[ 1510.011209] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open : open count value = 0 ddress utility
[ 1510.020858] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_open returns=0 [ 1510.020862]
[ 1510.030915] ioh_pcieqos arguments: [ 1510.034504] file: dd729980 [ 1510.037309] cmd: 4004f706 [ 1510.040204] arg: bf9d6b64 [ 1510.043090] command summary: [ 1510.046011] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.050832] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.055720] 172: copy_from_user [ 1510.058892] &addr_offset: de409f24 [ 1510.062400] &reqt->addr_offset: bf9d6b64 [ 1510.066423] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.066428] [ 1510.076808] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40017 [ 1510.076812] [ 1510.087655] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.087661] [ 1510.100582] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.100587] [ 1510.109183] ioh_pcieqos arguments: [ 1510.112604] file: dd729980 [ 1510.115410] cmd: 4004f706 [ 1510.118310] arg: bf9d6b64 [ 1510.121233] command summary: [ 1510.124146] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.128946] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.133841] 172: copy_from_user [ 1510.137008] &addr_offset: de409f24 [ 1510.140516] &reqt->addr_offset: bf9d6b64 [ 1510.144556] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.144561] [ 1510.154958] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40016 [ 1510.154963] [ 1510.165788] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.165793] [ 1510.178730] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.178734] [ 1510.187304] ioh_pcieqos arguments: [ 1510.190733] file: dd729980 [ 1510.193541] cmd: 4004f706 [ 1510.196454] arg: bf9d6b64 [ 1510.199355] command summary: [ 1510.202268] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.207089] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.211975] 172: copy_from_user [ 1510.215121] &addr_offset: de409f24 [ 1510.218639] &reqt->addr_offset: bf9d6b64 [ 1510.222662] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.222667] [ 1510.233055] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40015 [ 1510.233060] [ 1510.243893] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.243899] [ 1510.256801] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.256805] [ 1510.265360] ioh_pcieqos arguments: [ 1510.268779] file: dd729980 [ 1510.271579] cmd: 4004f706 [ 1510.274492] arg: bf9d6b64 [ 1510.277401] command summary: [ 1510.280297] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.285109] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.289994] 172: copy_from_user [ 1510.293159] &addr_offset: de409f24 [ 1510.296660] &reqt->addr_offset: bf9d6b64 [ 1510.300690] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.300695] [ 1510.311100] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff40014 [ 1510.311105] [ 1510.321933] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.321939] [ 1510.334839] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.334843] [ 1510.343423] ioh_pcieqos arguments: [ 1510.346850] file: dd729980 [ 1510.349667] cmd: 4004f706 [ 1510.352562] arg: bf9d6b64 [ 1510.355448] command summary: [ 1510.358352] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.363170] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.368058] 172: copy_from_user [ 1510.371205] &addr_offset: de409f24 [ 1510.374706] &reqt->addr_offset: bf9d6b64 [ 1510.378728] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.378733] [ 1510.389120] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff4001f [ 1510.389125] [ 1510.399962] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.399968] [ 1510.412868] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.412872] [ 1510.421451] ioh_pcieqos arguments: [ 1510.424879] file: dd729980 [ 1510.427679] cmd: 4004f706 [ 1510.430574] arg: bf9d6b64 [ 1510.433484] command summary: [ 1510.436382] 4004f706: IOCTL_PCIEQOS_READ_MAC_ADDR [ 1510.441181] 4004f707: IOCTL_PCIEQOS_WRITE_MAC_ADDR [ 1510.446070] 172: copy_from_user [ 1510.449225] &addr_offset: de409f24 [ 1510.452726] &reqt->addr_offset: bf9d6b64 [ 1510.456749] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : copy_from_user returns =0 [ 1510.456754] [ 1510.467132] drivers/char/pch_pcieqos/pch_pcieqos_hal.c:ioh_pcieqos_read_serial_rom:mem_addr=0xdff4001e [ 1510.467137] [ 1510.477963] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_ioctl : Invoked ioh_pcieqos_read_gbe_mac_addr successfully [ 1510.477968] [ 1510.490888] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_write_ioctl returns=0 [ 1510.490892] Read MAC address[ 1510.499490] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release : ioh_pcieqos_opencount =0 [ 1510.499494] = 00:00:00:00:0[ 1510.511263] drivers/char/pch_pcieqos/pch_pcieqos.c:ioh_pcieqos_release returning=0 [ 1510.511268]
0:00
root@(none):/#
Quoted 27 lines · Darren Hart
I find myself with a development board with no MAC address for the
pch_gbein the Platform Controller Hub EG20T. I've dusted off an old patch and am trying to get it working so it can be included upstream.I found the
phub_util_macutility on sourceforge which appears to require the following patch:I've made the obvious changes to the driver to use
unlocked_ioctlas ioctl has been removed upstream. With this driver built and installed, thetopcliff_mac_utilcommand reports no errors and reads the MAC address as:00:00:00:00:00:00
Trying to set it reports no errors either, and the instrumentation suggests it is at least trying to write the correct data. Reading back still results in all zeros.
During boot, the
pch_gbedriver reports:[ 2.211233] pch_gbe 0000:02:00.1: enabling device (0000 -> 0003) [ 2.217271] pch_gbe 0000:02:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.224349] pch_gbe 0000:02:00.1: setting latency timer to 64 [ 2.233388] pch_gbe 0000:02:00.1: Invalid MAC Address [ 2.238821] pch_gbe 0000:02:00.1: PCI INT A disabled [ 2.243809] pch_gbe: probe of 0000:02:00.1 failed with error -5
Quoted 4 lines
The patch itself follows, I have attached a rather lengthy log which includes a read/write/read cycle demonstrating the write not taking effect.
Can you shed some light on why this might be the case?
After stumbling around blindly for a bit longer, I ran across the pch_phub driver, which appears to be intended for the same purpose, but uses a sysfs interface rather than an ioctl interface with a separate userpsace utility. Do I have this right?
Enabling this driver doesn't change the above pch_gbe messages which still include the failed probe of 0000:02:00.1. pch_phub has entries in /sys:
root@(none):/# find /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub/uevent /sys/bus/pci/drivers/pch_phub/unbind /sys/bus/pci/drivers/pch_phub/bind /sys/bus/pci/drivers/pch_phub/new_id /sys/bus/pci/drivers/pch_phub/remove_id
but no "pch_mac" as I was expecting after reviewing pch_phub.c.
Am I still barking up the wrong tree here?
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Hi Darren,
Can you execute like below
root@(none):/# find /sys/bus/pci/drivers/pch_phub/0000:02:00.0
You must see pch_mac.
Or
Is your pch_phub integrated as module ?
If module, you can access from below. /sys/module/pch_phub/drivers/pci:pch_phub/0000:02:00.0
thanks,
tomoya
2012/1/14 Darren Hart <[email protected]>:
Quoted 57 lines · Darren Hart
Quoted 27 lines
I find myself with a development board with no MAC address for the
pch_gbein the Platform Controller Hub EG20T. I've dusted off an old patch and am trying to get it working so it can be included upstream.I found the
phub_util_macutility on sourceforge which appears to require the following patch:I've made the obvious changes to the driver to use
unlocked_ioctlas ioctl has been removed upstream. With this driver built and installed, thetopcliff_mac_utilcommand reports no errors and reads the MAC address as:00:00:00:00:00:00
Trying to set it reports no errors either, and the instrumentation suggests it is at least trying to write the correct data. Reading back still results in all zeros.
During boot, the
pch_gbedriver reports:
[ 2.211233]pch_gbe0000:02:00.1: enabling device (0000 -> 0003) [ 2.217271]pch_gbe0000:02:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.224349]pch_gbe0000:02:00.1: setting latency timer to 64
[ 2.233388]pch_gbe0000:02:00.1: Invalid MAC Address
[ 2.238821]pch_gbe0000:02:00.1: PCI INT A disabled
[ 2.243809]pch_gbe: probe of 0000:02:00.1 failed with error -5Quoted 4 lines
The patch itself follows, I have attached a rather lengthy log which includes a read/write/read cycle demonstrating the write not taking effect.
Can you shed some light on why this might be the case?
After stumbling around blindly for a bit longer, I ran across the
pch_phubdriver, which appears to be intended for the same purpose, but uses a sysfs interface rather than an ioctl interface with a separate userpsace utility. Do I have this right?Enabling this driver doesn't change the above
pch_gbemessages which still include the failed probe of 0000:02:00.1.pch_phubhas entries in /sys:root@(none):/# find /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub/uevent /sys/bus/pci/drivers/pch_phub/unbind /sys/bus/pci/drivers/pch_phub/bind /sys/bus/pci/drivers/pch_phub/new_id /sys/bus/pci/drivers/pch_phub/remove_idbut no "
pch_mac" as I was expecting after reviewingpch_phub.c.Am I still barking up the wrong tree here?
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Quoted 11 lines · Tomoya MORINAGA
Hi Darren,
Can you execute like below
root@(none):/# find /sys/bus/pci/drivers/pch_phub/0000:02:00.0You must see
pch_mac.Or
Is yourpch_phubintegrated as module ?
If module, you can access from below. /sys/module/pch_phub/drivers/pci:pch_phub/0000:02:00.0
I have since resolved this particular issue. I did not disable the pcieqos driver I forward ported. With that disabled, pch_phub works as expected. Which is to say it lists pch_mac, reads all 0's, and does nothing on write (since the MAC ROM doesn't exist). Please see the patch thread from Friday to address this using a random mac if the ROM is missing or invalid.
--
Darren
Quoted 63 lines
thanks,
tomoya2012/1/14 Darren Hart <[email protected]>:
Quoted 57 lines · Darren Hart
Quoted 27 lines
I find myself with a development board with no MAC address for the
pch_gbein the Platform Controller Hub EG20T. I've dusted off an old patch and am trying to get it working so it can be included upstream.I found the
phub_util_macutility on sourceforge which appears to require the following patch:I've made the obvious changes to the driver to use
unlocked_ioctlas ioctl has been removed upstream. With this driver built and installed, thetopcliff_mac_utilcommand reports no errors and reads the MAC address as:00:00:00:00:00:00
Trying to set it reports no errors either, and the instrumentation suggests it is at least trying to write the correct data. Reading back still results in all zeros.
During boot, the
pch_gbedriver reports:[ 2.211233] pch_gbe 0000:02:00.1: enabling device (0000 -> 0003) [ 2.217271] pch_gbe 0000:02:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 2.224349] pch_gbe 0000:02:00.1: setting latency timer to 64 [ 2.233388] pch_gbe 0000:02:00.1: Invalid MAC Address [ 2.238821] pch_gbe 0000:02:00.1: PCI INT A disabled [ 2.243809] pch_gbe: probe of 0000:02:00.1 failed with error -5Quoted 4 lines
The patch itself follows, I have attached a rather lengthy log which includes a read/write/read cycle demonstrating the write not taking effect.
Can you shed some light on why this might be the case?
After stumbling around blindly for a bit longer, I ran across the
pch_phubdriver, which appears to be intended for the same purpose, but uses a sysfs interface rather than an ioctl interface with a separate userpsace utility. Do I have this right?Enabling this driver doesn't change the above
pch_gbemessages which still include the failed probe of 0000:02:00.1.pch_phubhas entries in /sys:root@(none):/# find /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub /sys/bus/pci/drivers/pch_phub/uevent /sys/bus/pci/drivers/pch_phub/unbind /sys/bus/pci/drivers/pch_phub/bind /sys/bus/pci/drivers/pch_phub/new_id /sys/bus/pci/drivers/pch_phub/remove_idbut no "
pch_mac" as I was expecting after reviewingpch_phub.c.Am I still barking up the wrong tree here?
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel