karo-tx-linux.git
5 years agoMerge remote-tracking branch 'tip/auto-latest'
Stephen Rothwell [Thu, 5 Nov 2015 02:42:17 +0000 (13:42 +1100)]
Merge remote-tracking branch 'tip/auto-latest'

5 years agoMerge remote-tracking branch 'spi/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 02:40:03 +0000 (13:40 +1100)]
Merge remote-tracking branch 'spi/for-next'

5 years agoMerge remote-tracking branch 'mailbox/mailbox-for-next'
Stephen Rothwell [Thu, 5 Nov 2015 02:18:06 +0000 (13:18 +1100)]
Merge remote-tracking branch 'mailbox/mailbox-for-next'

5 years agoMerge remote-tracking branch 'dt-rh/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 02:16:09 +0000 (13:16 +1100)]
Merge remote-tracking branch 'dt-rh/for-next'

5 years agoMerge remote-tracking branch 'audit/next'
Stephen Rothwell [Thu, 5 Nov 2015 02:14:09 +0000 (13:14 +1100)]
Merge remote-tracking branch 'audit/next'

5 years agoMerge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 02:12:24 +0000 (13:12 +1100)]
Merge remote-tracking branch 'trivial/for-next'

5 years agoMerge remote-tracking branch 'jc_docs/docs-next'
Stephen Rothwell [Thu, 5 Nov 2015 02:11:10 +0000 (13:11 +1100)]
Merge remote-tracking branch 'jc_docs/docs-next'

5 years agoMerge remote-tracking branch 'vfio/next'
Stephen Rothwell [Thu, 5 Nov 2015 02:09:50 +0000 (13:09 +1100)]
Merge remote-tracking branch 'vfio/next'

5 years agoMerge remote-tracking branch 'dwmw2-iommu/master'
Stephen Rothwell [Thu, 5 Nov 2015 02:08:04 +0000 (13:08 +1100)]
Merge remote-tracking branch 'dwmw2-iommu/master'

5 years agoMerge remote-tracking branch 'iommu/next'
Stephen Rothwell [Thu, 5 Nov 2015 02:06:06 +0000 (13:06 +1100)]
Merge remote-tracking branch 'iommu/next'

5 years agoMerge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Thu, 5 Nov 2015 02:04:22 +0000 (13:04 +1100)]
Merge remote-tracking branch 'watchdog/master'

5 years agoMerge remote-tracking branch 'security/next'
Stephen Rothwell [Thu, 5 Nov 2015 01:54:46 +0000 (12:54 +1100)]
Merge remote-tracking branch 'security/next'

5 years agoMerge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:52:52 +0000 (12:52 +1100)]
Merge remote-tracking branch 'regulator/for-next'

5 years agoMerge remote-tracking branch 'omap_dss2/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:51:39 +0000 (12:51 +1100)]
Merge remote-tracking branch 'omap_dss2/for-next'

5 years agonext-20150925/battery
Stephen Rothwell [Thu, 5 Nov 2015 01:46:42 +0000 (12:46 +1100)]
next-20150925/battery

5 years agoMerge remote-tracking branch 'backlight/for-backlight-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:29:11 +0000 (12:29 +1100)]
Merge remote-tracking branch 'backlight/for-backlight-next'

5 years agoMerge remote-tracking branch 'mfd/for-mfd-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:27:26 +0000 (12:27 +1100)]
Merge remote-tracking branch 'mfd/for-mfd-next'

5 years agoMerge remote-tracking branch 'md/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:26:11 +0000 (12:26 +1100)]
Merge remote-tracking branch 'md/for-next'

5 years agoMerge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:24:23 +0000 (12:24 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'

5 years agoMerge remote-tracking branch 'device-mapper/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:22:28 +0000 (12:22 +1100)]
Merge remote-tracking branch 'device-mapper/for-next'

5 years agoMerge remote-tracking branch 'block/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:18:26 +0000 (12:18 +1100)]
Merge remote-tracking branch 'block/for-next'

5 years agoMerge remote-tracking branch 'input/next'
Stephen Rothwell [Thu, 5 Nov 2015 01:17:12 +0000 (12:17 +1100)]
Merge remote-tracking branch 'input/next'

5 years agoMerge remote-tracking branch 'modules/modules-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:15:29 +0000 (12:15 +1100)]
Merge remote-tracking branch 'modules/modules-next'

5 years agoMerge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:14:13 +0000 (12:14 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'

5 years agoMerge remote-tracking branch 'drm-misc/topic/drm-misc'
Stephen Rothwell [Thu, 5 Nov 2015 01:12:45 +0000 (12:12 +1100)]
Merge remote-tracking branch 'drm-misc/topic/drm-misc'

5 years agoMerge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:11:32 +0000 (12:11 +1100)]
Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'

5 years agoMerge remote-tracking branch 'drm-intel/for-linux-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:10:17 +0000 (12:10 +1100)]
Merge remote-tracking branch 'drm-intel/for-linux-next'

5 years agoMerge remote-tracking branch 'drm-panel/drm/panel/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:09:05 +0000 (12:09 +1100)]
Merge remote-tracking branch 'drm-panel/drm/panel/for-next'

5 years agoMerge remote-tracking branch 'drm/drm-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:06:36 +0000 (12:06 +1100)]
Merge remote-tracking branch 'drm/drm-next'

5 years agoMerge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Thu, 5 Nov 2015 01:04:29 +0000 (12:04 +1100)]
Merge remote-tracking branch 'l2-mtd/master'

5 years agoMerge remote-tracking branch 'rdma/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 01:03:04 +0000 (12:03 +1100)]
Merge remote-tracking branch 'rdma/for-next'

Initial roundup of 4.4 merge window candidates

- "Checksum offload support in user space" enablement
- Misc cxgb4 fixes, add T6 support
- Misc usnic fixes
- 32 bit build warning fixes
- Misc ocrdma fixes
- Multicast loopback prevention extension
- Extend the GID cache to store and return attributes of GIDs
- Misc iSER updates
- iSER clustering update
- Network NameSpace support for rdma CM
- Work Request cleanup series
- New Memory Registration API

5 years agoMerge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Thu, 5 Nov 2015 01:01:49 +0000 (12:01 +1100)]
Merge remote-tracking branch 'bluetooth/master'

5 years agoMerge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:59:58 +0000 (11:59 +1100)]
Merge remote-tracking branch 'slave-dma/next'

5 years agoMerge remote-tracking branch 'dlm/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:58:44 +0000 (11:58 +1100)]
Merge remote-tracking branch 'dlm/next'

5 years agoMerge remote-tracking branch 'thermal-soc/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:57:00 +0000 (11:57 +1100)]
Merge remote-tracking branch 'thermal-soc/next'

5 years agoMerge remote-tracking branch 'thermal/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:55:16 +0000 (11:55 +1100)]
Merge remote-tracking branch 'thermal/next'

5 years agoMerge remote-tracking branch 'idle/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:55:11 +0000 (11:55 +1100)]
Merge remote-tracking branch 'idle/next'

5 years agoMerge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:43:41 +0000 (11:43 +1100)]
Merge remote-tracking branch 'pm/linux-next'

5 years agoMerge remote-tracking branch 'libata/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:42:23 +0000 (11:42 +1100)]
Merge remote-tracking branch 'libata/for-next'

5 years agoMerge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:40:36 +0000 (11:40 +1100)]
Merge remote-tracking branch 'kbuild/for-next'

5 years agoMerge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Thu, 5 Nov 2015 00:38:12 +0000 (11:38 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'

5 years agoMerge branch 'jdelvare-hwmon/master'
Stephen Rothwell [Thu, 5 Nov 2015 00:36:57 +0000 (11:36 +1100)]
Merge branch 'jdelvare-hwmon/master'

5 years agoMerge remote-tracking branch 'i2c/i2c/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:34:37 +0000 (11:34 +1100)]
Merge remote-tracking branch 'i2c/i2c/for-next'

5 years agoMerge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:33:15 +0000 (11:33 +1100)]
Merge remote-tracking branch 'hid/for-next'

5 years agoMerge remote-tracking branch 'pci/next'
Stephen Rothwell [Thu, 5 Nov 2015 00:29:22 +0000 (11:29 +1100)]
Merge remote-tracking branch 'pci/next'

5 years agoMerge remote-tracking branch 'file-locks/linux-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:21:53 +0000 (11:21 +1100)]
Merge remote-tracking branch 'file-locks/linux-next'

5 years agoMerge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:20:10 +0000 (11:20 +1100)]
Merge remote-tracking branch 'xfs/for-next'

5 years agoMerge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:18:58 +0000 (11:18 +1100)]
Merge remote-tracking branch 'ubifs/linux-next'

5 years agoMerge remote-tracking branch 'v9fs/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:17:46 +0000 (11:17 +1100)]
Merge remote-tracking branch 'v9fs/for-next'

5 years agoMerge remote-tracking branch 'overlayfs/overlayfs-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:16:32 +0000 (11:16 +1100)]
Merge remote-tracking branch 'overlayfs/overlayfs-next'

5 years agoMerge remote-tracking branch 'orangefs/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:15:20 +0000 (11:15 +1100)]
Merge remote-tracking branch 'orangefs/for-next'

5 years agoMerge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:07:28 +0000 (11:07 +1100)]
Merge remote-tracking branch 'nfsd/nfsd-next'

5 years agoMerge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:05:37 +0000 (11:05 +1100)]
Merge remote-tracking branch 'nfs/linux-next'

5 years agoMerge remote-tracking branch 'gfs2/for-next'
Stephen Rothwell [Thu, 5 Nov 2015 00:04:25 +0000 (11:04 +1100)]
Merge remote-tracking branch 'gfs2/for-next'

5 years agoMerge remote-tracking branch 'fscache/fscache'
Stephen Rothwell [Thu, 5 Nov 2015 00:03:08 +0000 (11:03 +1100)]
Merge remote-tracking branch 'fscache/fscache'

5 years agoMerge remote-tracking branch 'f2fs/dev'
Stephen Rothwell [Thu, 5 Nov 2015 00:01:56 +0000 (11:01 +1100)]
Merge remote-tracking branch 'f2fs/dev'

5 years agoMerge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Wed, 4 Nov 2015 23:54:03 +0000 (10:54 +1100)]
Merge remote-tracking branch 'ext4/dev'

5 years agoMerge remote-tracking branch 'ecryptfs/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:52:50 +0000 (10:52 +1100)]
Merge remote-tracking branch 'ecryptfs/next'

5 years agoMerge remote-tracking branch 'cifs/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:51:38 +0000 (10:51 +1100)]
Merge remote-tracking branch 'cifs/for-next'

5 years agoMerge remote-tracking branch 'ceph/master'
Stephen Rothwell [Wed, 4 Nov 2015 23:51:35 +0000 (10:51 +1100)]
Merge remote-tracking branch 'ceph/master'

5 years agoMerge remote-tracking branch 'tile/master'
Stephen Rothwell [Wed, 4 Nov 2015 23:50:19 +0000 (10:50 +1100)]
Merge remote-tracking branch 'tile/master'

5 years agoMerge remote-tracking branch 's390/features'
Stephen Rothwell [Wed, 4 Nov 2015 23:40:45 +0000 (10:40 +1100)]
Merge remote-tracking branch 's390/features'

5 years agoMerge remote-tracking branch 'mpc5xxx/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:39:34 +0000 (10:39 +1100)]
Merge remote-tracking branch 'mpc5xxx/next'

5 years agoMerge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:37:52 +0000 (10:37 +1100)]
Merge remote-tracking branch 'powerpc/next'

5 years agoMerge remote-tracking branch 'parisc-hd/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:33:36 +0000 (10:33 +1100)]
Merge remote-tracking branch 'parisc-hd/for-next'

5 years agoMerge remote-tracking branch 'nios2/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:32:24 +0000 (10:32 +1100)]
Merge remote-tracking branch 'nios2/for-next'

5 years agoMerge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:31:13 +0000 (10:31 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'

5 years agoMerge remote-tracking branch 'metag/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:30:01 +0000 (10:30 +1100)]
Merge remote-tracking branch 'metag/for-next'

5 years agoMerge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:28:50 +0000 (10:28 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'

5 years agoMerge remote-tracking branch 'ia64/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:27:08 +0000 (10:27 +1100)]
Merge remote-tracking branch 'ia64/next'

5 years agoMerge remote-tracking branch 'h8300/h8300-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:25:55 +0000 (10:25 +1100)]
Merge remote-tracking branch 'h8300/h8300-next'

5 years agoMerge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:25:53 +0000 (10:25 +1100)]
Merge remote-tracking branch 'cris/for-next'

5 years agoMerge remote-tracking branch 'c6x/for-linux-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:24:42 +0000 (10:24 +1100)]
Merge remote-tracking branch 'c6x/for-linux-next'

5 years agoMerge remote-tracking branch 'arm64/for-next/core'
Stephen Rothwell [Wed, 4 Nov 2015 23:23:01 +0000 (10:23 +1100)]
Merge remote-tracking branch 'arm64/for-next/core'

5 years agoMerge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:21:40 +0000 (10:21 +1100)]
Merge remote-tracking branch 'tegra/for-next'

5 years agoMerge remote-tracking branch 'sunxi/sunxi/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:21:30 +0000 (10:21 +1100)]
Merge remote-tracking branch 'sunxi/sunxi/for-next'

5 years agoMerge remote-tracking branch 'samsung/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:20:17 +0000 (10:20 +1100)]
Merge remote-tracking branch 'samsung/for-next'

5 years agoMerge remote-tracking branch 'rockchip/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:19:56 +0000 (10:19 +1100)]
Merge remote-tracking branch 'rockchip/for-next'

5 years agoMerge remote-tracking branch 'renesas/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:19:45 +0000 (10:19 +1100)]
Merge remote-tracking branch 'renesas/next'

5 years agoMerge remote-tracking branch 'qcom/qcom/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:18:31 +0000 (10:18 +1100)]
Merge remote-tracking branch 'qcom/qcom/for-next'

5 years agoMerge remote-tracking branch 'omap-pending/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:18:19 +0000 (10:18 +1100)]
Merge remote-tracking branch 'omap-pending/for-next'

5 years agoMerge remote-tracking branch 'omap/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:18:00 +0000 (10:18 +1100)]
Merge remote-tracking branch 'omap/for-next'

5 years agoMerge remote-tracking branch 'mvebu/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:17:50 +0000 (10:17 +1100)]
Merge remote-tracking branch 'mvebu/for-next'

5 years agoMerge remote-tracking branch 'keystone/next'
Stephen Rothwell [Wed, 4 Nov 2015 23:16:31 +0000 (10:16 +1100)]
Merge remote-tracking branch 'keystone/next'

5 years agoMerge remote-tracking branch 'imx-mxs/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:16:22 +0000 (10:16 +1100)]
Merge remote-tracking branch 'imx-mxs/for-next'

5 years agoMerge remote-tracking branch 'berlin/berlin/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:15:00 +0000 (10:15 +1100)]
Merge remote-tracking branch 'berlin/berlin/for-next'

5 years agoMerge remote-tracking branch 'at91/at91-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:13:39 +0000 (10:13 +1100)]
Merge remote-tracking branch 'at91/at91-next'

5 years agoMerge remote-tracking branch 'arm-soc/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:11:31 +0000 (10:11 +1100)]
Merge remote-tracking branch 'arm-soc/for-next'

5 years agoMerge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:10:18 +0000 (10:10 +1100)]
Merge remote-tracking branch 'arm/for-next'

5 years agoMerge remote-tracking branch 'arc/for-next'
Stephen Rothwell [Wed, 4 Nov 2015 23:09:08 +0000 (10:09 +1100)]
Merge remote-tracking branch 'arc/for-next'

5 years agoMerge remote-tracking branch 'asm-generic/master'
Stephen Rothwell [Wed, 4 Nov 2015 23:07:27 +0000 (10:07 +1100)]
Merge remote-tracking branch 'asm-generic/master'

5 years agoMerge remote-tracking branch 'crypto-current/master'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:43 +0000 (09:59 +1100)]
Merge remote-tracking branch 'crypto-current/master'

5 years agoMerge remote-tracking branch 'input-current/for-linus'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:41 +0000 (09:59 +1100)]
Merge remote-tracking branch 'input-current/for-linus'

5 years agoMerge remote-tracking branch 'usb-chipidea-fixes/ci-for-usb-stable'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:39 +0000 (09:59 +1100)]
Merge remote-tracking branch 'usb-chipidea-fixes/ci-for-usb-stable'

5 years agoMerge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:35 +0000 (09:59 +1100)]
Merge remote-tracking branch 'sound-current/for-linus'

5 years agoMerge remote-tracking branch 'ipsec/master'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:34 +0000 (09:59 +1100)]
Merge remote-tracking branch 'ipsec/master'

5 years agoMerge remote-tracking branch 'sparc/master'
Stephen Rothwell [Wed, 4 Nov 2015 22:59:31 +0000 (09:59 +1100)]
Merge remote-tracking branch 'sparc/master'

5 years agoALSA: hda - Apply pin fixup for HP ProBook 6550b
Takashi Iwai [Wed, 4 Nov 2015 21:39:16 +0000 (22:39 +0100)]
ALSA: hda - Apply pin fixup for HP ProBook 6550b

HP ProBook 6550b needs the same pin fixup applied to other HP B-series
laptops with docks for making its headphone and dock headphone jacks
working properly.  We just need to add the codec SSID to the list.

Bugzilla: https://bugzilla.kernel.org/attachment.cgi?id=191971
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
5 years agosparc64: Fix numa distance values
Nitin Gupta [Mon, 2 Nov 2015 21:30:24 +0000 (16:30 -0500)]
sparc64: Fix numa distance values

Orabug: 21896119

Use machine descriptor (MD) to get node latency
values instead of just using default values.

Testing:
On an T5-8 system with:
 - total nodes = 8
 - self latencies = 0x26d18
 - latency to other nodes = 0x3a598
   => latency ratio = ~1.5

output of numactl --hardware

 - before fix:

node distances:
node   0   1   2   3   4   5   6   7
  0:  10  20  20  20  20  20  20  20
  1:  20  10  20  20  20  20  20  20
  2:  20  20  10  20  20  20  20  20
  3:  20  20  20  10  20  20  20  20
  4:  20  20  20  20  10  20  20  20
  5:  20  20  20  20  20  10  20  20
  6:  20  20  20  20  20  20  10  20
  7:  20  20  20  20  20  20  20  10

 - after fix:

node distances:
node   0   1   2   3   4   5   6   7
  0:  10  15  15  15  15  15  15  15
  1:  15  10  15  15  15  15  15  15
  2:  15  15  10  15  15  15  15  15
  3:  15  15  15  10  15  15  15  15
  4:  15  15  15  15  10  15  15  15
  5:  15  15  15  15  15  10  15  15
  6:  15  15  15  15  15  15  10  15
  7:  15  15  15  15  15  15  15  10

Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>
Reviewed-by: Chris Hyser <chris.hyser@oracle.com>
Reviewed-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
5 years agosparc64: Don't restrict fp regs for no-fault loads
Rob Gardner [Sat, 31 Oct 2015 04:36:23 +0000 (22:36 -0600)]
sparc64: Don't restrict fp regs for no-fault loads

The function handle_ldf_stq() deals with no-fault ASI
loads and stores, but restricts fp registers to quad
word regs (ie, %f0, %f4 etc). This is valid for the
STQ case, but unnecessarily restricts loads, which
may be single precision, double, or quad. This results
in SIGFPE being raised for this instruction when the
source address is invalid:
ldda [%g1] ASI_PNF, %f2
but not for this one:
ldda [%g1] ASI_PNF, %f4
The validation check for quad register is moved to
within the STQ block so that loads are not affected
by the check.

An additional problem is that the calculation for freg
is incorrect when a single precision load is being
handled. This causes %f1 to be seen as %f32 etc,
and the incorrect register ends up being overwritten.
This code sequence demonstrates the problem:
ldd [%g1], %f32 ! g1 = valid address
lda [%i3] ASI_PNF, %f1  ! i3 = invalid address
std %f32, [%g1]
This is corrected by basing the freg calculation on
the load size.

Signed-off-by: Rob Gardner <rob.gardner@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>