[PATCH RT 0/2] Linux 3.4.94-rt117-rc1

2014-07-02 Thread Steven Rostedt

Dear RT Folks,

This is the RT stable review cycle of patch 3.4.94-rt117-rc1.

Please scream at me if I messed something up. Please test the patches too.

The -rc release will be uploaded to kernel.org and will be deleted when
the final release is out. This is just a review release (or release candidate).

The pre-releases will not be pushed to the git repository, only the
final release is.

If all goes well, this patch will be converted to the next main release
on 7/7/2014.

Enjoy,

-- Steve


To build 3.4.94-rt117-rc1 directly, the following patches should be applied:

  http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.xz

  http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.4.94.xz

  
http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patch-3.4.94-rt117-rc1.patch.xz

You can also build from 3.4.94-rt116 by applying the incremental patch:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/incr/patch-3.4.94-rt116-rt117-rc1.patch.xz


Changes from 3.4.94-rt116:

---


Ben Hutchings (1):
  Fix latency histogram after "hrtimer: Set expiry time before 
switch_hrtimer_base()"

Steven Rostedt (Red Hat) (1):
  Linux 3.4.94-rt117-rc1


 kernel/hrtimer.c | 10 +-
 localversion-rt  |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH RT 2/2] Linux 3.4.94-rt117-rc1

2014-07-02 Thread Steven Rostedt
3.4.94-rt117-rc1 stable review patch.
If anyone has any objections, please let me know.

--

From: "Steven Rostedt (Red Hat)" 

---
 localversion-rt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localversion-rt b/localversion-rt
index 34eca4e89203..d5f654342ac4 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt116
+-rt117-rc1
-- 
2.0.0


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH RT 0/2] Linux 3.4.94-rt117-rc1

2014-07-02 Thread Steven Rostedt

Dear RT Folks,

This is the RT stable review cycle of patch 3.4.94-rt117-rc1.

Please scream at me if I messed something up. Please test the patches too.

The -rc release will be uploaded to kernel.org and will be deleted when
the final release is out. This is just a review release (or release candidate).

The pre-releases will not be pushed to the git repository, only the
final release is.

If all goes well, this patch will be converted to the next main release
on 7/7/2014.

Enjoy,

-- Steve


To build 3.4.94-rt117-rc1 directly, the following patches should be applied:

  http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.xz

  http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.4.94.xz

  
http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patch-3.4.94-rt117-rc1.patch.xz

You can also build from 3.4.94-rt116 by applying the incremental patch:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/incr/patch-3.4.94-rt116-rt117-rc1.patch.xz


Changes from 3.4.94-rt116:

---


Ben Hutchings (1):
  Fix latency histogram after hrtimer: Set expiry time before 
switch_hrtimer_base()

Steven Rostedt (Red Hat) (1):
  Linux 3.4.94-rt117-rc1


 kernel/hrtimer.c | 10 +-
 localversion-rt  |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH RT 2/2] Linux 3.4.94-rt117-rc1

2014-07-02 Thread Steven Rostedt
3.4.94-rt117-rc1 stable review patch.
If anyone has any objections, please let me know.

--

From: Steven Rostedt (Red Hat) rost...@goodmis.org

---
 localversion-rt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localversion-rt b/localversion-rt
index 34eca4e89203..d5f654342ac4 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt116
+-rt117-rc1
-- 
2.0.0


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: Linux 3.4.94

2014-06-16 Thread Greg KH

diff --git a/Makefile b/Makefile
index 20f420096dfa..0864af4a683b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 4
-SUBLEVEL = 93
+SUBLEVEL = 94
 EXTRAVERSION =
 NAME = Saber-toothed Squirrel
 
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 6524c6e21896..694aeedcbf88 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -67,9 +67,11 @@ LDFLAGS_vmlinux-y := -Bstatic
 LDFLAGS_vmlinux-$(CONFIG_RELOCATABLE) := -pie
 LDFLAGS_vmlinux:= $(LDFLAGS_vmlinux-y)
 
+asinstr := $(call as-instr,lis 9$(comma)foo@high,-DHAVE_AS_ATHIGH=1)
+
 CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=no -mcall-aixdesc
 CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
-KBUILD_CPPFLAGS+= -Iarch/$(ARCH)
+KBUILD_CPPFLAGS+= -Iarch/$(ARCH) $(asinstr)
 KBUILD_AFLAGS  += -Iarch/$(ARCH)
 KBUILD_CFLAGS  += -msoft-float -pipe -Iarch/$(ARCH) $(CFLAGS-y)
 CPP= $(CC) -E $(KBUILD_CFLAGS)
diff --git a/arch/powerpc/include/asm/ppc_asm.h 
b/arch/powerpc/include/asm/ppc_asm.h
index 50f73aa2ba21..6f5a837431e9 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -294,11 +294,16 @@ n:
  *  ld rY,ADDROFF(name)(rX)
  */
 #ifdef __powerpc64__
+#ifdef HAVE_AS_ATHIGH
+#define __AS_ATHIGH high
+#else
+#define __AS_ATHIGH h
+#endif
 #define LOAD_REG_IMMEDIATE(reg,expr)   \
lis (reg),(expr)@highest;   \
ori (reg),(reg),(expr)@higher;  \
rldicr  (reg),(reg),32,31;  \
-   oris(reg),(reg),(expr)@h;   \
+   oris(reg),(reg),(expr)@__AS_ATHIGH; \
ori (reg),(reg),(expr)@l;
 
 #define LOAD_REG_ADDR(reg,name)\
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index ccd7b6711196..0e87baf8fcc2 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -441,6 +441,8 @@ static const struct pci_device_id ahci_pci_tbl[] = {
  .driver_data = board_ahci_yes_fbs },
{ PCI_DEVICE(0x1b4b, 0x9230),
  .driver_data = board_ahci_yes_fbs },
+   { PCI_DEVICE(PCI_VENDOR_ID_TTI, 0x0642),
+ .driver_data = board_ahci_yes_fbs },
 
/* Promise */
{ PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },   /* PDC42819 */
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_cq.c 
b/drivers/net/ethernet/mellanox/mlx4/en_cq.c
index 00b81272e314..174b622dcaef 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_cq.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_cq.c
@@ -55,7 +55,6 @@ int mlx4_en_create_cq(struct mlx4_en_priv *priv,
 
cq->ring = ring;
cq->is_tx = mode;
-   spin_lock_init(>lock);
 
err = mlx4_alloc_hwq_res(mdev->dev, >wqres,
cq->buf_size, 2 * PAGE_SIZE);
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c 
b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
index 31b455a49273..467a51171d47 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
@@ -370,15 +370,11 @@ static void mlx4_en_netpoll(struct net_device *dev)
 {
struct mlx4_en_priv *priv = netdev_priv(dev);
struct mlx4_en_cq *cq;
-   unsigned long flags;
int i;
 
for (i = 0; i < priv->rx_ring_num; i++) {
cq = >rx_cq[i];
-   spin_lock_irqsave(>lock, flags);
-   napi_synchronize(>napi);
-   mlx4_en_process_rx_cq(dev, cq, 0);
-   spin_unlock_irqrestore(>lock, flags);
+   napi_schedule(>napi);
}
 }
 #endif
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 
b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index d69fee41f24a..8df3c4be3ff1 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -301,7 +301,6 @@ struct mlx4_en_cq {
struct mlx4_cq  mcq;
struct mlx4_hwq_resources wqres;
int ring;
-   spinlock_t  lock;
struct net_device  *dev;
struct napi_struct  napi;
/* Per-core Tx cq processing support */
diff --git a/drivers/scsi/megaraid/megaraid_sas.h 
b/drivers/scsi/megaraid/megaraid_sas.h
index e5f416f8042d..1a7955a39070 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -1294,7 +1294,6 @@ struct megasas_instance {
u32 *reply_queue;
dma_addr_t reply_queue_h;
 
-   unsigned long base_addr;
struct megasas_register_set __iomem *reg_set;
 
struct megasas_pd_list  pd_list[MEGASAS_MAX_PD];
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c 
b/drivers/scsi/megaraid/megaraid_sas_base.c
index 79261628d067..618870033dd0 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3445,6 +3445,7 @@ static int megasas_init_fw(struct megasas_instance 
*instance)
u32 max_sectors_1;
u32 

Linux 3.4.94

2014-06-16 Thread Greg KH
I'm announcing the release of the 3.4.94 kernel.

All users of the 3.4 kernel series must upgrade.

The updated 3.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
linux-3.4.y
and can be browsed at the normal kernel.org git web browser:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h



 Makefile   |2 -
 arch/powerpc/Makefile  |4 ++-
 arch/powerpc/include/asm/ppc_asm.h |7 +-
 drivers/ata/ahci.c |2 +
 drivers/net/ethernet/mellanox/mlx4/en_cq.c |1 
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |6 -
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 
 drivers/scsi/megaraid/megaraid_sas.h   |1 
 drivers/scsi/megaraid/megaraid_sas_base.c  |5 ++--
 drivers/staging/zram/zram_sysfs.c  |   21 ++-
 kernel/auditsc.c   |   27 -
 net/ipv4/netfilter/nf_defrag_ipv4.c|5 ++--
 12 files changed, 53 insertions(+), 29 deletions(-)

Andy Lutomirski (1):
  auditsc: audit_krule mask accesses need bounds checking

Ben Collins (1):
  SCSI: megaraid: Use resource_size_t for PCI resources, not long

Chris Mason (1):
  mlx4_en: don't use napi_synchronize inside mlx4_en_netpoll

Florian Westphal (1):
  netfilter: ipv4: defrag: set local_df flag on defragmented skb

Greg Kroah-Hartman (1):
  Linux 3.4.94

Guenter Roeck (1):
  powerpc: Fix 64 bit builds with binutils 2.24

Jiang Liu (1):
  zram: protect sysfs handler from invalid memory access

Jérôme Carretero (1):
  ahci: Add Device ID for HighPoint RocketRaid 642L

Rashika Kheria (1):
  Staging: zram: Fix memory leak by refcount mismatch



pgpXtXSx9xJYs.pgp
Description: PGP signature


Linux 3.4.94

2014-06-16 Thread Greg KH
I'm announcing the release of the 3.4.94 kernel.

All users of the 3.4 kernel series must upgrade.

The updated 3.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git 
linux-3.4.y
and can be browsed at the normal kernel.org git web browser:

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h



 Makefile   |2 -
 arch/powerpc/Makefile  |4 ++-
 arch/powerpc/include/asm/ppc_asm.h |7 +-
 drivers/ata/ahci.c |2 +
 drivers/net/ethernet/mellanox/mlx4/en_cq.c |1 
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c |6 -
 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h   |1 
 drivers/scsi/megaraid/megaraid_sas.h   |1 
 drivers/scsi/megaraid/megaraid_sas_base.c  |5 ++--
 drivers/staging/zram/zram_sysfs.c  |   21 ++-
 kernel/auditsc.c   |   27 -
 net/ipv4/netfilter/nf_defrag_ipv4.c|5 ++--
 12 files changed, 53 insertions(+), 29 deletions(-)

Andy Lutomirski (1):
  auditsc: audit_krule mask accesses need bounds checking

Ben Collins (1):
  SCSI: megaraid: Use resource_size_t for PCI resources, not long

Chris Mason (1):
  mlx4_en: don't use napi_synchronize inside mlx4_en_netpoll

Florian Westphal (1):
  netfilter: ipv4: defrag: set local_df flag on defragmented skb

Greg Kroah-Hartman (1):
  Linux 3.4.94

Guenter Roeck (1):
  powerpc: Fix 64 bit builds with binutils 2.24

Jiang Liu (1):
  zram: protect sysfs handler from invalid memory access

Jérôme Carretero (1):
  ahci: Add Device ID for HighPoint RocketRaid 642L

Rashika Kheria (1):
  Staging: zram: Fix memory leak by refcount mismatch



pgpXtXSx9xJYs.pgp
Description: PGP signature


Re: Linux 3.4.94

2014-06-16 Thread Greg KH

diff --git a/Makefile b/Makefile
index 20f420096dfa..0864af4a683b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 4
-SUBLEVEL = 93
+SUBLEVEL = 94
 EXTRAVERSION =
 NAME = Saber-toothed Squirrel
 
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 6524c6e21896..694aeedcbf88 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -67,9 +67,11 @@ LDFLAGS_vmlinux-y := -Bstatic
 LDFLAGS_vmlinux-$(CONFIG_RELOCATABLE) := -pie
 LDFLAGS_vmlinux:= $(LDFLAGS_vmlinux-y)
 
+asinstr := $(call as-instr,lis 9$(comma)foo@high,-DHAVE_AS_ATHIGH=1)
+
 CFLAGS-$(CONFIG_PPC64) := -mminimal-toc -mtraceback=no -mcall-aixdesc
 CFLAGS-$(CONFIG_PPC32) := -ffixed-r2 -mmultiple
-KBUILD_CPPFLAGS+= -Iarch/$(ARCH)
+KBUILD_CPPFLAGS+= -Iarch/$(ARCH) $(asinstr)
 KBUILD_AFLAGS  += -Iarch/$(ARCH)
 KBUILD_CFLAGS  += -msoft-float -pipe -Iarch/$(ARCH) $(CFLAGS-y)
 CPP= $(CC) -E $(KBUILD_CFLAGS)
diff --git a/arch/powerpc/include/asm/ppc_asm.h 
b/arch/powerpc/include/asm/ppc_asm.h
index 50f73aa2ba21..6f5a837431e9 100644
--- a/arch/powerpc/include/asm/ppc_asm.h
+++ b/arch/powerpc/include/asm/ppc_asm.h
@@ -294,11 +294,16 @@ n:
  *  ld rY,ADDROFF(name)(rX)
  */
 #ifdef __powerpc64__
+#ifdef HAVE_AS_ATHIGH
+#define __AS_ATHIGH high
+#else
+#define __AS_ATHIGH h
+#endif
 #define LOAD_REG_IMMEDIATE(reg,expr)   \
lis (reg),(expr)@highest;   \
ori (reg),(reg),(expr)@higher;  \
rldicr  (reg),(reg),32,31;  \
-   oris(reg),(reg),(expr)@h;   \
+   oris(reg),(reg),(expr)@__AS_ATHIGH; \
ori (reg),(reg),(expr)@l;
 
 #define LOAD_REG_ADDR(reg,name)\
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index ccd7b6711196..0e87baf8fcc2 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -441,6 +441,8 @@ static const struct pci_device_id ahci_pci_tbl[] = {
  .driver_data = board_ahci_yes_fbs },
{ PCI_DEVICE(0x1b4b, 0x9230),
  .driver_data = board_ahci_yes_fbs },
+   { PCI_DEVICE(PCI_VENDOR_ID_TTI, 0x0642),
+ .driver_data = board_ahci_yes_fbs },
 
/* Promise */
{ PCI_VDEVICE(PROMISE, 0x3f20), board_ahci },   /* PDC42819 */
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_cq.c 
b/drivers/net/ethernet/mellanox/mlx4/en_cq.c
index 00b81272e314..174b622dcaef 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_cq.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_cq.c
@@ -55,7 +55,6 @@ int mlx4_en_create_cq(struct mlx4_en_priv *priv,
 
cq-ring = ring;
cq-is_tx = mode;
-   spin_lock_init(cq-lock);
 
err = mlx4_alloc_hwq_res(mdev-dev, cq-wqres,
cq-buf_size, 2 * PAGE_SIZE);
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c 
b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
index 31b455a49273..467a51171d47 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
@@ -370,15 +370,11 @@ static void mlx4_en_netpoll(struct net_device *dev)
 {
struct mlx4_en_priv *priv = netdev_priv(dev);
struct mlx4_en_cq *cq;
-   unsigned long flags;
int i;
 
for (i = 0; i  priv-rx_ring_num; i++) {
cq = priv-rx_cq[i];
-   spin_lock_irqsave(cq-lock, flags);
-   napi_synchronize(cq-napi);
-   mlx4_en_process_rx_cq(dev, cq, 0);
-   spin_unlock_irqrestore(cq-lock, flags);
+   napi_schedule(cq-napi);
}
 }
 #endif
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h 
b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
index d69fee41f24a..8df3c4be3ff1 100644
--- a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
+++ b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
@@ -301,7 +301,6 @@ struct mlx4_en_cq {
struct mlx4_cq  mcq;
struct mlx4_hwq_resources wqres;
int ring;
-   spinlock_t  lock;
struct net_device  *dev;
struct napi_struct  napi;
/* Per-core Tx cq processing support */
diff --git a/drivers/scsi/megaraid/megaraid_sas.h 
b/drivers/scsi/megaraid/megaraid_sas.h
index e5f416f8042d..1a7955a39070 100644
--- a/drivers/scsi/megaraid/megaraid_sas.h
+++ b/drivers/scsi/megaraid/megaraid_sas.h
@@ -1294,7 +1294,6 @@ struct megasas_instance {
u32 *reply_queue;
dma_addr_t reply_queue_h;
 
-   unsigned long base_addr;
struct megasas_register_set __iomem *reg_set;
 
struct megasas_pd_list  pd_list[MEGASAS_MAX_PD];
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c 
b/drivers/scsi/megaraid/megaraid_sas_base.c
index 79261628d067..618870033dd0 100644
--- a/drivers/scsi/megaraid/megaraid_sas_base.c
+++ b/drivers/scsi/megaraid/megaraid_sas_base.c
@@ -3445,6 +3445,7 @@ static int megasas_init_fw(struct megasas_instance 
*instance)
u32 max_sectors_1;