From: Christian Zigotzky <chzigotzky@xenosoft.de>
To: Sean Anderson <seanga2@gmail.com>,
Madalin Bucur <madalin.bucur@nxp.com>,
"David S. Miller" <davem@davemloft.net>
Cc: darren@stevens-zone.net, info@xenosoft.de,
linuxppc-dev@lists.ozlabs.org, madskateman@gmail.com,
matthew@a-eon.biz, rtd2@xtra.co.nz, sean.anderson@seco.com,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>
Subject: Re: [FSL P50x0] DPAA Ethernet issue
Date: Tue, 3 Jan 2023 05:03:14 +0100 [thread overview]
Message-ID: <430001ad-bc25-d4be-6013-673c14e87dba@xenosoft.de> (raw)
In-Reply-To: <8be26a07-3f48-cd61-1b74-1605827bfae3@xenosoft.de>
On 02 January 2023 at 04:32 am, Christian Zigotzky wrote:
> On 01 January 2023 at 07:11 pm, Sean Anderson wrote:
>
> Thank you for testing this. Unfortunately, I have no P-series hardware,
> so I was unable to test the 10gec/dtsec parts of this conversion. I had
> hoped that this would get tested by someone with the hardware (at NXP)
> before now, but it seems you get to be the "lucky" first user.
>
> I see you have labeled one of your kernels as supporting QEMU. Do you
> happen to have instructions for running Linux on QEMU?
>
> Can you try the following patch. I think my mail client will mangle
> it, so I have also attached it to this email.
>
> ------------
>
> Hi Sean,
>
> Thanks a lot for your answer.
>
> I use the virtio-net device in a virtual e5500 QEMU/KVM HV machine.
> [1] [2]
>
> I will test your patch as soon as possible.
>
> Thanks,
> Christian
>
> [1] QEMU command: qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024
> -kernel uImage-6.2 -drive
> format=raw,file=void-live-powerpc-20220129.img,index=0,if=virtio
> -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw
> root=/dev/vda2" -device virtio-gpu -device virtio-mouse-pci -device
> virtio-keyboard-pci -device pci-ohci,id=newusb -audiodev
> id=sndbe,driver=pa,server=/run/user/1000/pulse/native -device
> usb-audio,bus=newusb.0 -enable-kvm -smp 4 -fsdev
> local,security_model=passthrough,id=fsdev0,path=/home/amigaone/Music
> -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare
>
> [2] https://forum.hyperion-entertainment.com/viewtopic.php?p=46749
Hi Sean,
I tested your patch with the RC2 today but unfortunately the kernel
doesn't link after compiling.
Error messages:
LD .tmp_vmlinux.kallsyms1
`.exit.text' referenced in section `__bug_table' of crypto/algboss.o:
defined in discarded section `.exit.text' of crypto/algboss.o
`.exit.text' referenced in section `__bug_table' of crypto/algif_hash.o:
defined in discarded section `.exit.text' of crypto/algif_hash.o
`.exit.text' referenced in section `__bug_table' of
drivers/char/hw_random/core.o: defined in discarded section `.exit.text'
of drivers/char/hw_random/core.o
make[1]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make: *** [Makefile:1252: vmlinux] Error 2
Maybe it is not an issue because of the patch because the RC1 compilied
and linked with the patch.
@Dave
Please test the RC1 with Sean's patch.
Download: http://www.xenosoft.de/uImage-6.2-dpaa-t1
sudo dmesg | grep -i dpaa
[ 3.017121] fsl_dpaa_mac ffe4e8000.ethernet: FMan dTSEC version:
0x08240101
[ 3.017256] fsl_dpaa_mac ffe4e8000.ethernet: FMan MAC address:
00:04:a3:6b:41:65
[ 3.017534] fsl_dpaa_mac ffe4f0000.ethernet:
of_get_mac_address(/soc@ffe000000/fman@400000/ethernet@f0000) failed
[ 3.017745] fsl_dpaa_mac ffe4f0000.ethernet: of_get_phy_mode() for
/soc@ffe000000/fman@400000/ethernet@f0000 failed. Defaulting to SGMII
[ 3.017975] fsl_dpaa_mac: FMan XGEC version: 0x00010330
[ 3.018293] fsl_dpaa_mac ffe5e8000.ethernet: FMan dTSEC version:
0x08240101
[ 3.018413] fsl_dpaa_mac ffe5e8000.ethernet: FMan MAC address:
00:1e:c0:f8:01:59
[ 3.018656] fsl_dpaa_mac ffe5f0000.ethernet:
of_get_mac_address(/soc@ffe000000/fman@500000/ethernet@f0000) failed
[ 3.018871] fsl_dpaa_mac ffe5f0000.ethernet: of_get_phy_mode() for
/soc@ffe000000/fman@500000/ethernet@f0000 failed. Defaulting to SGMII
[ 3.019099] fsl_dpaa_mac: FMan XGEC version: 0x00010330
[ 3.021559] fsl_dpaa_mac ffe4e8000.ethernet eth0: Probed interface eth0
[ 3.023358] fsl_dpaa_mac ffe4f0000.ethernet: Using random MAC
address: 5e:d0:6f:2b:29:35
[ 3.024041] fsl_dpaa_mac ffe4f0000.ethernet eth1: Probed interface eth1
[ 3.026381] fsl_dpaa_mac ffe5e8000.ethernet eth2: Probed interface eth2
[ 3.028199] fsl_dpaa_mac ffe5f0000.ethernet: Using random MAC
address: c2:ec:b7:35:67:37
[ 3.028878] fsl_dpaa_mac ffe5f0000.ethernet eth3: Probed interface eth3
[ 7.543868] fsl_dpaa_mac ffe4e8000.ethernet eth0: PHY
[mdio@ffe4e1120:03] driver [Generic PHY] (irq=POLL)
[ 7.549774] fsl_dpaa_mac ffe4e8000.ethernet eth0: configuring for
phy/rgmii link mode
[ 7.583166] fsl_dpaa_mac ffe5e8000.ethernet eth2: PHY
[mdio@ffe4e1120:07] driver [Generic PHY] (irq=POLL)
[ 7.589079] fsl_dpaa_mac ffe5e8000.ethernet eth2: configuring for
phy/rgmii link mode
Cheers,
Christian
prev parent reply other threads:[~2023-01-03 4:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0bfc8f3d-cb62-25f4-2590-ff424adbe48a@xenosoft.de>
2023-01-01 18:11 ` [FSL P50x0] DPAA Ethernet issue Sean Anderson
2023-01-02 3:32 ` Christian Zigotzky
2023-01-03 4:03 ` Christian Zigotzky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430001ad-bc25-d4be-6013-673c14e87dba@xenosoft.de \
--to=chzigotzky@xenosoft.de \
--cc=darren@stevens-zone.net \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=info@xenosoft.de \
--cc=kuba@kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=madalin.bucur@nxp.com \
--cc=madskateman@gmail.com \
--cc=matthew@a-eon.biz \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rtd2@xtra.co.nz \
--cc=sean.anderson@seco.com \
--cc=seanga2@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).