public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Halil Pasic <pasic@linux.ibm.com>
To: Tony Krowiak <akrowiak@linux.ibm.com>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
	kvm@vger.kernel.org, jjherne@linux.ibm.com, freude@linux.ibm.com,
	borntraeger@de.ibm.com, cohuck@redhat.com,
	mjrosato@linux.ibm.com, alex.williamson@redhat.com,
	kwankhede@nvidia.com, fiuczy@linux.ibm.com,
	frankja@linux.ibm.com, david@redhat.com, hca@linux.ibm.com,
	gor@linux.ibm.com
Subject: Re: [PATCH v14 00/13] s390/vfio-ap: dynamic configuration support
Date: Thu, 1 Apr 2021 21:17:42 +0200	[thread overview]
Message-ID: <20210401211742.6afd6b14.pasic@linux.ibm.com> (raw)
In-Reply-To: <20210331152256.28129-1-akrowiak@linux.ibm.com>

On Wed, 31 Mar 2021 11:22:43 -0400
Tony Krowiak <akrowiak@linux.ibm.com> wrote:

> Change log v13-v14:
> ------------------

When testing I've experienced this kernel panic.


[ 4422.479706] vfio_ap matrix: MDEV: Registered
[ 4422.516999] vfio_mdev b2013234-18b2-49bf-badd-a4be9c78b120: Adding to iommu group 1
[ 4422.517037] vfio_mdev b2013234-18b2-49bf-badd-a4be9c78b120: MDEV: group_id = 1
[ 4577.906708] vfio_mdev b2013234-18b2-49bf-badd-a4be9c78b120: Removing from iommu group 1
[ 4577.906917] vfio_mdev b2013234-18b2-49bf-badd-a4be9c78b120: MDEV: detaching iommu
[ 4577.908093] Unable to handle kernel pointer dereference in virtual kernel address space
[ 4577.908097] Failing address: 00000006ec02f000 TEID: 00000006ec02f403
[ 4577.908100] Fault in home space mode while using kernel ASCE.
[ 4577.908106] AS:000000035eb4c007 R3:0000000000000024 
[ 4577.908126] Oops: 003b ilc:3 [#1] PREEMPT SMP 
[ 4577.908132] Modules linked in: vfio_ap vhost_vsock vmw_vsock_virtio_transport_common vsock vhost vhost_iotlb kvm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_R
EJECT xt_tcpudp nft_compat nf_nat_tftp nft_objref nf_conntrack_tftp nft_counter bridge stp llc nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf
_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip_set nf_tables nfnetlink sunrpc s390_trng eadm_s
ch vfio_ccw vfio_mdev mdev vfio_iommu_type1 vfio sch_fq_codel configfs ip_tables x_tables dm_service_time ghash_s390 prng aes_s390 des_s390 libdes sha3_512_s390
 sha3_256_s390 sha512_s390 sha256_s390 sha1_s390 sha_common nvme nvme_core zfcp scsi_transport_fc dm_multipath scsi_dh_rdac scsi_dh_emc scsi_dh_alua dm_mirror d
m_region_hash dm_log dm_mod rng_core autofs4
[ 4577.908181] CPU: 0 PID: 14315 Comm: nose2 Not tainted 5.12.0-rc5-00030-g4cd110385fa2 #55
[ 4577.908183] Hardware name: IBM 8561 T01 701 (LPAR)
[ 4577.908185] Krnl PSW : 0404e00180000000 000000035d2a50f4 (__lock_acquire+0xdc/0x7c8)
[ 4577.908194]            R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:3 CC:2 PM:0 RI:0 EA:3
[ 4577.908232] Krnl GPRS: 000000039d168d46 00000006ec02f538 000000035e7de940 0000000000000000
[ 4577.908235]            0000000000000000 0000000000000000 0000000000000001 00000000f9e04150
[ 4577.908237]            000000035fa8b100 006b6b6b680c417f 00000000f9e04150 000000035e61e8d0
[ 4577.908239]            000000035fa8b100 0000000000000000 0000038010c4b7d8 0000038010c4b738
[ 4577.908247] Krnl Code: 000000035d2a50e4: eb110003000d        sllg    %r1,%r1,3
[ 4577.908247]            000000035d2a50ea: b9080012            agr     %r1,%r2
[ 4577.908247]           #000000035d2a50ee: e31003b80008        ag      %r1,952
[ 4577.908247]           >000000035d2a50f4: eb011000007a        agsi    0(%r1),1
[ 4577.908247]            000000035d2a50fa: a718ffff            lhi     %r1,-1
[ 4577.908247]            000000035d2a50fe: eb1103a800f8        laa     %r1,%r1,936
[ 4577.908247]            000000035d2a5104: ec18026b017e        cij     %r1,1,8,000000035d2a55da
[ 4577.908247]            000000035d2a510a: c4180086d01f        lgrl    %r1,000000035e37f148
[ 4577.908262] Call Trace:
[ 4577.908264]  [<000000035d2a50f4>] __lock_acquire+0xdc/0x7c8 
[ 4577.908267]  [<000000035d2a41ac>] lock_acquire.part.0+0xec/0x1e8 
[ 4577.908270]  [<000000035d2a4360>] lock_acquire+0xb8/0x208 
[ 4577.908272]  [<000000035de6fa2a>] _raw_spin_lock_irqsave+0x6a/0xd8 
[ 4577.908279]  [<000000035d2874fe>] prepare_to_wait_event+0x2e/0x1e0 
[ 4577.908281]  [<000003ff805d539a>] vfio_ap_mdev_remove_queue+0x122/0x148 [vfio_ap] 
[ 4577.908287]  [<000000035de20e94>] ap_device_remove+0x4c/0xf0 
[ 4577.908292]  [<000000035db268a2>] __device_release_driver+0x18a/0x230 
[ 4577.908298]  [<000000035db27cf0>] device_driver_detach+0x58/0xd0 
[ 4577.908301]  [<000000035db25000>] device_reprobe+0x30/0xc0 
[ 4577.908304]  [<000000035de22570>] __ap_revise_reserved+0x110/0x148 
[ 4577.908307]  [<000000035db2408c>] bus_for_each_dev+0x7c/0xb8 
[ 4577.908310]  [<000000035de2290c>] apmask_store+0xd4/0x118 
[ 4577.908313]  [<000000035d639316>] kernfs_fop_write_iter+0x13e/0x1e0 
[ 4577.908317]  [<000000035d542d22>] new_sync_write+0x10a/0x198 
[ 4577.908321]  [<000000035d5433ee>] vfs_write.part.0+0x196/0x290 
[ 4577.908323]  [<000000035d545f44>] ksys_write+0x6c/0xf8 
[ 4577.908326]  [<000000035d1ce7ae>] do_syscall+0x7e/0xd0 
[ 4577.908330]  [<000000035de5fc00>] __do_syscall+0xc0/0xd8 
[ 4577.908334]  [<000000035de70c22>] system_call+0x72/0x98 
[ 4577.908337] INFO: lockdep is turned off.
[ 4577.908338] Last Breaking-Event-Address:
[ 4577.908340]  [<0000038010c4b648>] 0x38010c4b648
[ 4577.908345] Kernel panic - not syncing: Fatal exception: panic_on_oops

  parent reply	other threads:[~2021-04-01 19:18 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 15:22 [PATCH v14 00/13] s390/vfio-ap: dynamic configuration support Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 01/13] s390/vfio-ap: fix circular lockdep when setting/clearing crypto masks Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 02/13] s390/vfio-ap: use new AP bus interface to search for queue devices Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 03/13] s390/vfio-ap: move probe and remove callbacks to vfio_ap_ops.c Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 04/13] s390/vfio-ap: manage link between queue struct and matrix mdev Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 05/13] s390/vfio-ap: introduce shadow APCB Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 06/13] s390/vfio-ap: refresh guest's APCB by filtering APQNs assigned to mdev Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 07/13] s390/vfio-ap: allow assignment of unavailable AP queues to mdev device Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 08/13] s390/vfio-ap: allow hot plug/unplug of AP resources using " Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 09/13] s390/zcrypt: driver callback to indicate resource in use Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 10/13] s390/vfio-ap: implement in-use callback for vfio_ap driver Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 11/13] s390/vfio-ap: sysfs attribute to display the guest's matrix Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 12/13] s390/zcrypt: notify drivers on config changed and scan complete callbacks Tony Krowiak
2021-03-31 15:22 ` [PATCH v14 13/13] s390/vfio-ap: update docs to include dynamic config support Tony Krowiak
2021-04-01 19:17 ` Halil Pasic [this message]
2021-04-02 16:19   ` [PATCH v14 00/13] s390/vfio-ap: dynamic configuration support Tony Krowiak
2021-04-06 14:36   ` Tony Krowiak

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=20210401211742.6afd6b14.pasic@linux.ibm.com \
    --to=pasic@linux.ibm.com \
    --cc=akrowiak@linux.ibm.com \
    --cc=alex.williamson@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=fiuczy@linux.ibm.com \
    --cc=frankja@linux.ibm.com \
    --cc=freude@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=jjherne@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=kwankhede@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=mjrosato@linux.ibm.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