3.4.74-stable review
Subsystems (2)
Greg Kroah-Hartman
maintainercover 3.4.74-stable review
This is the start of the stable review cycle for the 3.4.74 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu Dec 12 07:59:15 UTC 2013. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v3.0/stable-review/patch-3.4.74-rc1.gz
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <[email protected]>
Linux 3.4.74-rc1
Alan Cox <[email protected]>
drivers/char/i8k.c: add Dell XPLS L421X
David Cluytens <[email protected]>
USB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem
Colin Leitner <[email protected]>
USB: spcp8x5: correct handling of CS5 setting
Colin Leitner <[email protected]>
USB: mos7840: correct handling of CS5 setting
Colin Leitner <[email protected]>
USB: pl2303: fixed handling of CS5 setting
Seth Heasley <[email protected]>
i2c: i801: SMBus patch for Intel Avoton DeviceIDs
Seth Heasley <[email protected]>
ahci: AHCI-mode SATA patch for Intel Avoton DeviceIDs
James Ralston <[email protected]>
ahci: Add Device IDs for Intel Lynx Point-LP PCH
Sergei Trofimovich <[email protected]>
um: add missing declaration of 'getrlimit()' and friends
Tom Gundersen <[email protected]>
Input: mousedev - allow disabling even without CONFIG_EXPERT
Tom Gundersen <[email protected]>
Input: allow deselecting serio drivers even without CONFIG_EXPERT
Shawn Landden <[email protected]>
net: update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST
Laxman Dewangan <[email protected]>
irq: Enable all irqs unconditionally in irq_resume
Liu Gang <[email protected]>
powerpc/gpio: Fix the wrong GPIO input data on MPC8572/MPC8536
Trond Myklebust <[email protected]>
NFSv4: Update list of irrecoverable errors on DELEGRETURN
Linus Walleij <[email protected]>
net: smc91: fix crash regression on the versatile
Stephen M. Cameron <[email protected]>
SCSI: hpsa: return 0 from driver probe function on success, not 1
Stephen M. Cameron <[email protected]>
SCSI: hpsa: do not discard scsi status on aborted commands
Dan Williams <[email protected]>
SCSI: libsas: fix usage of ata_tf_to_fis
James Bottomley <[email protected]>
SCSI: enclosure: fix WARN_ON in dual path device removing
Bo Shen <[email protected]>
ASoC: wm8731: fix dsp mode configuration
Mark Brown <[email protected]>
ASoC: wm8990: Mark the register map as dirty when powering down
Tom Lendacky <[email protected]>
crypto: authenc - Find proper IV address in ablkcipher callback
Horia Geanta <[email protected]>
crypto: ccm - Fix handling of zero plaintext when computing mac
Tom Lendacky <[email protected]>
crypto: scatterwalk - Set the chain pointer indication bit
-------------
Diffstat:
Documentation/i2c/busses/i2c-i801 | 1 + Makefile | 4 ++-- arch/um/os-Linux/start_up.c | 2 ++ crypto/algif_hash.c | 3 +++ crypto/algif_skcipher.c | 3 +++ crypto/authenc.c | 7 ++++--- crypto/ccm.c | 3 ++- drivers/ata/ahci.c | 24 ++++++++++++++++++++++++ drivers/char/i8k.c | 7 +++++++ drivers/gpio/gpio-mpc8xxx.c | 8 ++++++-- drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-i801.c | 3 +++ drivers/input/Kconfig | 2 +- drivers/input/keyboard/Kconfig | 4 ++-- drivers/input/serio/Kconfig | 6 +++--- drivers/misc/enclosure.c | 7 +++++++ drivers/net/ethernet/smsc/smc91x.h | 22 ++++------------------ drivers/scsi/hpsa.c | 4 ++-- drivers/scsi/libsas/sas_ata.c | 2 +- drivers/usb/class/cdc-acm.c | 2 ++ drivers/usb/serial/mos7840.c | 32 ++++++++++++++++---------------- drivers/usb/serial/pl2303.c | 32 +++++++++++++++----------------- drivers/usb/serial/spcp8x5.c | 30 ++++++++++++++---------------- fs/nfs/nfs4proc.c | 10 ++++++++-- include/crypto/scatterwalk.h | 1 + kernel/irq/pm.c | 2 +- net/ipv4/udp.c | 3 +++ sound/soc/codecs/wm8731.c | 4 ++-- sound/soc/codecs/wm8990.c | 2 ++ 29 files changed, 142 insertions(+), 89 deletions(-)
Greg Kroah-Hartman
maintainerPATCH 1/25 crypto: scatterwalk - Set the chain pointer indication bit
3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tom Lendacky <[email protected]>
commit 41da8b5adba77e22584f8b45f9641504fa885308 upstream.
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because sg_nents does not follow the chain pointer to the chained scatterlist.
Update scatterwalk_sg_chain to set the chain pointer indication bit as is done by the sg_chain function.
--- include/crypto/scatterwalk.h | 1 + 1 file changed, 1 insertion(+)
include/crypto/scatterwalk.h +1 -0
@@ -36,6 +36,7 @@ static inline void scatterwalk_sg_chain( {sg_set_page (&sg1[num -1 ], (void *)sg2,0 ,0 ); sg1[num -1 ].page_link &= ~0x02 ; + sg1[num -1 ].page_link |=0x01 ; }static inline struct scatterlist *scatterwalk_sg_next (struct scatterlist *sg)
RE: [PATCH 3.4 01/25] crypto: scatterwalk - Set the chain pointer indication bit
Hi Greg,
This patch is probably not needed in any of the stable branches, but if you do add it you'll need to also include a patch that changes the use of an sg_page to an sg_chain_ptr to prevent a BUG_ON when CONFIG_DEBUG_SG is enabled (http://marc.info/?l=linux-crypto-vger&m=138627061905651&w=2).
Thanks,
Tom
-----Original Message-----
From: Greg Kroah-Hartman [mailto:[email protected]]
Sent: Tuesday, December 10, 2013 2:00 AM
To: [email protected]
Cc: Greg Kroah-Hartman; [email protected]; Lendacky, Thomas; Herbert Xu
Subject: [PATCH 3.4 01/25] crypto: scatterwalk - Set the chain pointer indication bit
3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tom Lendacky <[email protected]>
commit 41da8b5adba77e22584f8b45f9641504fa885308 upstream.
The scatterwalk_crypto_chain function invokes the scatterwalk_sg_chain function to chain two scatterlists, but the chain pointer indication bit is not set. When the resulting scatterlist is used, for example, by sg_nents to count the number of scatterlist entries, a segfault occurs because sg_nents does not follow the chain pointer to the chained scatterlist.
Update scatterwalk_sg_chain to set the chain pointer indication bit as is done by the sg_chain function.
--- include/crypto/scatterwalk.h | 1 + 1 file changed, 1 insertion(+)
include/crypto/scatterwalk.h +1 -0
@@ -36,6 +36,7 @@ static inline void scatterwalk_sg_chain( {sg_set_page (&sg1[num -1 ], (void *)sg2,0 ,0 ); sg1[num -1 ].page_link &= ~0x02 ; + sg1[num -1 ].page_link |=0x01 ; }static inline struct scatterlist *scatterwalk_sg_next (struct scatterlist *sg)
Greg Kroah-Hartman
maintainerRe: [PATCH 3.4 01/25] crypto: scatterwalk - Set the chain pointer indication bit
Quoted 6 lines · Thomas
Hi Greg,
This patch is probably not needed in any of the stable branches, but if you do add it you'll need to also include a patch that changes the use of an
sg_pageto ansg_chain_ptrto prevent aBUG_ONwhenCONFIG_DEBUG_SGis enabled (http://marc.info/?l=linux-crypto-vger&m=138627061905651&w=2).
You are referring to commit 389a5390583a18e45bc4abd4439291abec5e7a63 in Linus's tree, right? It's in my queue to apply after 3.13-rc4 comes out, but I guess it's good to add it now as it is known that this is an issue to be resolved.
I'll go do that right now, thanks for letting me know.
greg k-h
Re: [PATCH 3.4 01/25] crypto: scatterwalk - Set the chain pointer indication bit
Quoted 10 lines · Greg Kroah-Hartman
Quoted 6 lines · Thomas
Hi Greg,
This patch is probably not needed in any of the stable branches, but if you do add it you'll need to also include a patch that changes the use of an
sg_pageto ansg_chain_ptrto prevent aBUG_ONwhenCONFIG_DEBUG_SGis enabled (http://marc.info/?l=linux-crypto-vger&m=138627061905651&w=2).You are referring to commit
389a5390583a18e45bc4abd4439291abec5e7a63in Linus's tree, right? It's in my queue to apply after 3.13-rc4 comes
Yes, that's the one.
Thanks,
Tom
Quoted 6 lines
out, but I guess it's good to add it now as it is known that this is an issue to be resolved.
I'll go do that right now, thanks for letting me know.
greg k-h
Greg Kroah-Hartman
maintainerPATCH 2/25 crypto: ccm - Fix handling of zero plaintext when computing mac
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Horia Geanta <[email protected]>
commit 5638cabf3e4883f38dfb246c30980cebf694fbda upstream.
There are cases when cryptlen can be zero in crypto_ccm_auth():
-encryptiom: input scatterlist length is zero (no plaintext) -decryption: input scatterlist contains only the mac
plus the condition of having different source and destination buffers (or else scatterlist length = max(plaintext_len, ciphertext_len)).
These are not handled correctly, leading to crashes like:
root@p4080ds:~/crypto# insmod tcrypt.ko mode=45 ------------[ cut here ]------------ kernel BUG at crypto/scatterwalk.c:37! Oops: Exception in kernel mode, sig: 5 [#1] SMP NR_CPUS=8 P4080 DS Modules linked in: tcrypt(+) crc32c xts xcbc vmac pcbc ecb gcm ghash_generic gf128mul ccm ctr seqiv CPU: 3 PID: 1082 Comm: cryptomgr_test Not tainted 3.11.0 #14 task: ee12c5b0 ti: eecd0000 task.ti: eecd0000 NIP: c0204d98 LR: f9225848 CTR: c0204d80 REGS: eecd1b70 TRAP: 0700 Not tainted (3.11.0) MSR: 00029002 <CE,EE,ME> CR: 22044022 XER: 20000000
GPR00: f9225c94 eecd1c20 ee12c5b0 eecd1c28 ee879400 ee879400 00000000 ee607464
GPR08: 00000001 00000001 00000000 006b0000 c0204d80 00000000 00000002 c0698e20
GPR16: ee987000 ee895000 fffffff4 ee879500 00000100 eecd1d58 00000001 00000000
GPR24: ee879400 00000020 00000000 00000000 ee5b2800 ee607430 00000004 ee607460 NIP [c0204d98] scatterwalk_start+0x18/0x30
LR [f9225848] get_data_to_compute+0x28/0x2f0 [ccm]
Call Trace: [eecd1c20] [f9225974] get_data_to_compute+0x154/0x2f0 [ccm] (unreliable) [eecd1c70] [f9225c94] crypto_ccm_auth+0x184/0x1d0 [ccm] [eecd1cb0] [f9225d40] crypto_ccm_encrypt+0x60/0x2d0 [ccm] [eecd1cf0] [c020d77c] __test_aead+0x3ec/0xe20 [eecd1e20] [c020f35c] test_aead+0x6c/0xe0 [eecd1e40] [c020f420] alg_test_aead+0x50/0xd0 [eecd1e60] [c020e5e4] alg_test+0x114/0x2e0 [eecd1ee0] [c020bd1c] cryptomgr_test+0x4c/0x60 [eecd1ef0] [c0047058] kthread+0xa8/0xb0 [eecd1f40] [c000eb0c] ret_from_kernel_thread+0x5c/0x64 Instruction dump: 0f080000 81290024 552807fe 0f080000 5529003a 4bffffb4 90830000 39400000 39000001 8124000c 2f890000 7d28579e <0f090000> 81240008 91230004 4e800020 ---[ end trace 6d652dfcd1be37bd ]---
--- crypto/ccm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
crypto/ccm.c +2 -1
@@ -271,7 +271,8 @@ static int crypto_ccm_auth(struct aead_r }/* compute plaintext into mac */ -get_data_to_compute (cipher, pctx, plain, cryptlen); +if (cryptlen) +get_data_to_compute (cipher, pctx, plain, cryptlen); out:return err;
Greg Kroah-Hartman
maintainerPATCH 3/25 crypto: authenc - Find proper IV address in ablkcipher callback
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tom Lendacky <[email protected]>
commit fc019c7122dfcd69c50142b57a735539aec5da95 upstream.
When performing an asynchronous ablkcipher operation the authenc completion callback routine is invoked, but it does not locate and use the proper IV.
The callback routine, crypto_authenc_encrypt_done, is updated to use the same method of calculating the address of the IV as is done in crypto_authenc_encrypt function which sets up the callback.
--- crypto/authenc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
crypto/authenc.c +4 -3
@@ -368,9 +368,10 @@ static void crypto_authenc_encrypt_done(if (!err) {struct crypto_aead *authenc =crypto_aead_reqtfm (areq);struct crypto_authenc_ctx *ctx =crypto_aead_ctx (authenc); -struct ablkcipher_request *abreq =aead_request_ctx (areq); -u8 *iv = (u8 *)(abreq +1 ) + -crypto_ablkcipher_reqsize (ctx->enc); +struct authenc_request_ctx *areq_ctx =aead_request_ctx (areq); +struct ablkcipher_request *abreq = (void *)(areq_ctx->tail + + ctx->reqoff); +u8 *iv = (u8 *)abreq -crypto_ablkcipher_ivsize (ctx->enc); err =crypto_authenc_genicv (areq, iv,0 ); }
Greg Kroah-Hartman
maintainerPATCH 4/25 ASoC: wm8990: Mark the register map as dirty when powering down
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Mark Brown <[email protected]>
commit 2ab2b74277a86afe0dd92976db695a2bb8b93366 upstream.
Otherwise we'll skip sync on resume.
--- sound/soc/codecs/wm8990.c | 2 ++ 1 file changed, 2 insertions(+)
sound/soc/codecs/wm8990.c +2 -0
@@ -1265,6 +1265,8 @@ static int wm8990_set_bias_level(struct/* disable POBCTRL, SOFT_ST and BUFDCOPEN */ snd_soc_write (codec,WM8990_ANTIPOP2 ,0x0 ); + + codec->cache_sync =1 ;break ; }
Greg Kroah-Hartman
maintainerPATCH 5/25 ASoC: wm8731: fix dsp mode configuration
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Bo Shen <[email protected]>
commit b4af6ef99a60c5b56df137d7accd81ba1ee1254e upstream.
According to WM8731 "PD, Rev 4.9 October 2012" datasheet, when it works in DSP mode A, LRP = 1, while works in DSP mode B, LRP = 0. So, fix LRP for DSP mode as the datesheet specification.
--- sound/soc/codecs/wm8731.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/wm8731.c +2 -2
@@ -406,10 +406,10 @@ static int wm8731_set_dai_fmt(struct snd iface |=0x0001 ;break ;case SND_SOC_DAIFMT_DSP_A : - iface |=0x0003 ; + iface |=0x0013 ;break ;case SND_SOC_DAIFMT_DSP_B : - iface |=0x0013 ; + iface |=0x0003 ;break ;default :return -EINVAL ;
Greg Kroah-Hartman
maintainerPATCH 6/25 SCSI: enclosure: fix WARN_ON in dual path device removing
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: James Bottomley <[email protected]>
commit a1470c7bf3a4676e62e4c0fb204e339399eb5c59 upstream.
Bug report from: [email protected]
The issue is happened in dual controller configuration. We got the sysfs warnings when rmmod the ipr module.
enclosure_unregister() in drivers/msic/enclosure.c, call device_unregister() for each componment deivce, device_unregister() ->device_del()->kobject_del() ->sysfs_remove_dir(). In sysfs_remove_dir(), set kobj->sd = NULL.
For each componment device, enclosure_component_release()->enclosure_remove_links()->sysfs_remove_link() in which checking kobj->sd again, it has been set as NULL when doing device_unregister. So we saw all these sysfs WARNING.
--- drivers/misc/enclosure.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/misc/enclosure.c +7 -0
@@ -198,6 +198,13 @@ static void enclosure_remove_links(struc {char name[ENCLOSURE_NAME_SIZE ]; +/* +* In odd circumstances, like multipath devices, something else may +* already have removed the links, so check for this condition first. +*/ +if (!cdev->dev->kobj.sd) +return ; +enclosure_link_name (cdev, name);sysfs_remove_link (&cdev->dev->kobj, name);sysfs_remove_link (&cdev->cdev.kobj,"device" );
Greg Kroah-Hartman
maintainerPATCH 7/25 SCSI: libsas: fix usage of ata_tf_to_fis
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Dan Williams <[email protected]>
commit ae5fbae0ccd982dfca0ce363036ed92f5b13f150 upstream.
Since commit 110dd8f19df5 "[SCSI] libsas: fix scr_read/write users and update the libata documentation" we have been passing pmp=1 and is_cmd=0 to ata_tf_to_fis(). Praveen reports that eSATA attached drives do not discover correctly. His investigation found that the BIOS was passing pmp=0 while Linux was passing pmp=1 and failing to discover the drives. Update libsas to follow the libata example of pulling the pmp setting from the ata_link and correct is_cmd to be 1 since all tf's submitted through ->qc_issue are commands. Presumably libsas lldds do not care about is_cmd as they have sideband mechanisms to perform link management.
http://marc.info/?l=linux-scsi&m=138179681726990
--- drivers/scsi/libsas/sas_ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/libsas/sas_ata.c +1 -1
@@ -211,7 +211,7 @@ static unsigned int sas_ata_qc_issue(str qc->tf.nsect =0 ; } -ata_tf_to_fis (&qc->tf,1 ,0 , (u8 *)&task->ata_task.fis); +ata_tf_to_fis (&qc->tf, qc->dev->link->pmp,1 , (u8 *)&task->ata_task.fis); task->uldd_task = qc;if (ata_is_atapi (qc->tf.protocol)) {memcpy (task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len);
Greg Kroah-Hartman
maintainerPATCH 8/25 SCSI: hpsa: do not discard scsi status on aborted commands
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: "Stephen M. Cameron" <[email protected]>
commit 2e311fbabdc23b7eaec77313dc3b9a151a5407b5 upstream.
We inadvertantly discarded the scsi status for aborted commands. For some commands (e.g. reads from tape drives) these can't be retried, and if we discarded the scsi status, the scsi mid layer couldn't notice anything was wrong and the error was not reported.
--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -1
@@ -1219,7 +1219,7 @@ static void complete_scsi_command(struct"has check condition: aborted command: " "ASC: 0x%x, ASCQ: 0x%x\n" , cp, asc, ascq); - cmd->result =DID_SOFT_ERROR <<16 ; + cmd->result |=DID_SOFT_ERROR <<16 ;break ; }/* Must be some other type of check condition */
Greg Kroah-Hartman
maintainerPATCH 9/25 SCSI: hpsa: return 0 from driver probe function on success, not 1
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: "Stephen M. Cameron" <[email protected]>
commit 88bf6d62db4393fa03a58bada9d746312d5b496f upstream.
A return value of 1 is interpreted as an error. See pci_driver. in local_pci_probe(). If you're wondering how this ever could have worked, it's because it used to be the case that only return values less than zero were interpreted as failure. But even in the current kernel if the driver registers its various entry points with the kernel, and then returns a value which is interpreted as failure, those registrations aren't undone, so the driver still mostly works. However, the driver's remove function wouldn't be called on rmmod, and pci power management functions wouldn't work. In the case of Smart Array, since it has a battery backed cache (or else no cache) even if the driver is not shut down properly as long as there is no outstanding i/o, nothing too bad happens, which is why it took so long to notice.
Requesting backport to stable because the change to pci-driver.c which requires driver probe functions to return 0 occurred between 2.6.35 and 2.6.36 (the pci power management breakage) and again between 3.7 and 3.8 (pci_dev->driver getting set to NULL in local_pci_probe() preventing driver remove function from being called on rmmod.)
--- drivers/scsi/hpsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/hpsa.c +1 -1
@@ -4466,7 +4466,7 @@ reinit_after_soft_reset:hpsa_hba_inquiry (h);hpsa_register_scsi (h);/* hook ourselves into SCSI subsystem */ start_controller_lockup_detector (h); -return 1 ; +return 0 ; clean4:hpsa_free_sg_chain_blocks (h);
Greg Kroah-Hartman
maintainerPATCH 10/25 net: smc91: fix crash regression on the versatile
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Linus Walleij <[email protected]>
commit a0c20fb02592d372e744d1d739cda3e1b3defaae upstream.
After commit e9e4ea74f06635f2ffc1dffe5ef40c854faa0a90
"net: smc91x: dont't use SMC_outw for fixing up halfword-aligned data" The Versatile SMSC LAN91C111 is crashing like this:
------------[ cut here ]------------ kernel BUG at /home/linus/linux/drivers/net/ethernet/smsc/smc91x.c:599! Internal error: Oops - BUG: 0 [#1] ARM Modules linked in: CPU: 0 PID: 43 Comm: udhcpc Not tainted 3.13.0-rc1+ #24 task: c6ccfaa0 ti: c6cd0000 task.ti: c6cd0000 PC is at smc_hardware_send_pkt+0x198/0x22c LR is at smc_hardware_send_pkt+0x24/0x22c pc : [<c01be324>] lr : [<c01be1b0>] psr: 20000013
sp : c6cd1d08 ip : 00000001 fp : 00000000
r10: c02adb08 r9 : 00000000 r8 : c6ced802
r7 : c786fba0 r6 : 00000146 r5 : c8800000 r4 : c78d6000 r3 : 0000000f r2 : 00000146 r1 : 00000000 r0 : 00000031
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 0005317f Table: 06cf4000 DAC: 00000015 Process udhcpc (pid: 43, stack limit = 0xc6cd01c0)
Stack: (0xc6cd1d08 to 0xc6cd2000)
1d00: 00000010 c8800000 c78d6000 c786fba0 c78d6000 c01be868
1d20: c01be7a4 00004000 00000000 c786fba0 c6c12b80 c0208554 000004d0 c780fc60
1d40: 00000220 c01fb734 00000000 00000000 00000000 c6c9a440 c6c12b80 c78d6000
1d60: c786fba0 c6c9a440 00000000 c021d1d8 00000000 00000000 c6c12b80 c78d6000
1d80: c786fba0 00000001 c6c9a440 c02087f8 c6c9a4a0 00080008 00000000 00000000
1da0: c78d6000 c786fba0 c78d6000 00000138 00000000 00000000 00000000 00000000
1dc0: 00000000 c027ba74 00000138 00000138 00000001 00000010 c6cedc00 00000000
1de0: 00000008 c7404400 c6cd1eec c6cd1f14 c067a73c c065c0b8 00000000 c067a740
1e00: 01ffffff 002040d0 00000000 00000000 00000000 00000000 00000000 ffffffff
1e20: 43004400 00110022 c6cdef20 c027ae8c c6ccfaa0 be82d65c 00000014 be82d3cc
1e40: 00000000 00000000 00000000 c01f2870 00000000 00000000 00000000 c6cd1e88
1e60: c6ccfaa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
1e80: 00000000 00000000 00000031 c7802310 c7802300 00000138 c7404400 c0771da0
1ea0: 00000000 c6cd1eec c7800340 00000138 be82d65c 00000014 be82d3cc c6cd1f08
1ec0: 00000014 00000000 c7404400 c7404400 00000138 c01f4628 c78d6000 00000000
1ee0: 00000000 be82d3cc 00000138 c6cd1f08 00000014 c6cd1ee4 00000001 00000000
1f00: 00000000 00000000 00080011 00000002 06000000 ffffffff 0000ffff 00000002
1f20: 06000000 ffffffff 0000ffff c00928c8 c065c520 c6cd1f58 00000003 c009299c
1f40: 00000003 c065c520 c7404400 00000000 c7404400 c01f2218 c78106b0 c7441cb0
1f60: 00000000 00000006 c06799fc 00000000 00000000 00000006 00000000 c01f3ee0
1f80: 00000000 00000000 be82d678 be82d65c 00000014 00000001 00000122 c00139c8
1fa0: c6cd0000 c0013840 be82d65c 00000014 00000006 be82d3cc 00000138 00000000
1fc0: be82d65c 00000014 00000001 00000122 00000000 00000000 00018cb1 00000000
1fe0: 00003801 be82d3a8 0003a0c7 b6e9af08 60000010 00000006 00000000 00000000 [<c01be324>] (smc_hardware_send_pkt+0x198/0x22c) from [<c01be868>] (smc_hard_start_xmit+0xc4/0x1e8) [<c01be868>] (smc_hard_start_xmit+0xc4/0x1e8) from [<c0208554>] (dev_hard_start_xmit+0x460/0x4cc) [<c0208554>] (dev_hard_start_xmit+0x460/0x4cc) from [<c021d1d8>] (sch_direct_xmit+0x94/0x18c) [<c021d1d8>] (sch_direct_xmit+0x94/0x18c) from [<c02087f8>] (dev_queue_xmit+0x238/0x42c) [<c02087f8>] (dev_queue_xmit+0x238/0x42c) from [<c027ba74>] (packet_sendmsg+0xbe8/0xd28) [<c027ba74>] (packet_sendmsg+0xbe8/0xd28) from [<c01f2870>] (sock_sendmsg+0x84/0xa8) [<c01f2870>] (sock_sendmsg+0x84/0xa8) from [<c01f4628>] (SyS_sendto+0xb8/0xdc) [<c01f4628>] (SyS_sendto+0xb8/0xdc) from [<c0013840>] (ret_fast_syscall+0x0/0x2c)
Code: e3130002 1a000001 e3130001 0affffcd (e7f001f2) ---[ end trace 81104fe70e8da7fe ]--- Kernel panic - not syncing: Fatal exception in interrupt
This is because the macro operations in smc91x.h defined for Versatile are missing SMC_outsw() as used in this commit.
The Versatile needs and uses the same accessors as the other platforms in the first if(...) clause, just switch it to using that and we have one problem less to worry about.
This includes a hunk of a patch from Will Deacon fixin the other 32bit platforms as well: Innokom, Ramses, PXA, PCM027.
Checkpatch complains about spacing, but I have opted to follow the style of this .h-file.
--- drivers/net/ethernet/smsc/smc91x.h | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-)
drivers/net/ethernet/smsc/smc91x.h +4 -18
@@ -46,7 +46,8 @@defined (CONFIG_MACH_LITTLETON ) ||\defined (CONFIG_MACH_ZYLONITE2 ) ||\defined (CONFIG_ARCH_VIPER ) ||\ - defined(CONFIG_MACH_STARGATE2) +defined (CONFIG_MACH_STARGATE2 ) ||\ + defined(CONFIG_ARCH_VERSATILE)#include <asm/mach-types.h>
@@ -154,6 +155,8 @@ static inline void SMC_outw(u16 val, voi#define SMC_outl (v, a, r) writel(v, (a) + (r))#define SMC_insl (a, r, p, l) readsl((a) + (r), p, l)#define SMC_outsl (a, r, p, l) writesl((a) + (r), p, l) +#define SMC_insw (a, r, p, l) readsw((a) + (r), p, l) +#define SMC_outsw (a, r, p, l) writesw((a) + (r), p, l)#define SMC_IRQ_FLAGS (-1)/* from resource */ /* We actually can't write halfwords properly if not word aligned */
@@ -206,23 +209,6 @@ SMC_outw(u16 val, void __iomem *ioaddr,#define RPC_LSA_DEFAULT RPC_LED_TX_RX#define RPC_LSB_DEFAULT RPC_LED_100_10 -#elif defined(CONFIG_ARCH_VERSATILE ) - -#define SMC_CAN_USE_8BIT 1 -#define SMC_CAN_USE_16BIT 1 -#define SMC_CAN_USE_32BIT 1 -#define SMC_NOWAIT 1 - -#define SMC_inb (a, r) readb((a) + (r)) -#define SMC_inw (a, r) readw((a) + (r)) -#define SMC_inl (a, r) readl((a) + (r)) -#define SMC_outb (v, a, r) writeb(v, (a) + (r)) -#define SMC_outw (v, a, r) writew(v, (a) + (r)) -#define SMC_outl (v, a, r) writel(v, (a) + (r)) -#define SMC_insl (a, r, p, l) readsl((a) + (r), p, l) -#define SMC_outsl (a, r, p, l) writesl((a) + (r), p, l) -#define SMC_IRQ_FLAGS (-1)/* from resource */ -#elif defined(CONFIG_MN10300 )/*
Greg Kroah-Hartman
maintainerPATCH 11/25 NFSv4: Update list of irrecoverable errors on DELEGRETURN
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Trond Myklebust <[email protected]>
commit c97cf606e43b85a6cf158b810375dd77312024db upstream.
If the DELEGRETURN errors out with something like NFS4ERR_BAD_STATEID then there is no recovery possible. Just quit without returning an error.
Also, note that the client must not assume that the NFSv4 lease has been renewed when it sees an error on DELEGRETURN.
--- fs/nfs/nfs4proc.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
fs/nfs/nfs4proc.c +8 -2
@@ -4041,11 +4041,17 @@ static void nfs4_delegreturn_done(structreturn ;switch (task->tk_status) { -case -NFS4ERR_STALE_STATEID : -case -NFS4ERR_EXPIRED :case 0 :renew_lease (data->res.server, data->timestamp);break ; +case -NFS4ERR_ADMIN_REVOKED : +case -NFS4ERR_DELEG_REVOKED : +case -NFS4ERR_BAD_STATEID : +case -NFS4ERR_OLD_STATEID : +case -NFS4ERR_STALE_STATEID : +case -NFS4ERR_EXPIRED : + task->tk_status =0 ; +break ;default :if (nfs4_async_handle_error (task, data->res.server,NULL ) == -EAGAIN ) {
Greg Kroah-Hartman
maintainerPATCH 12/25 powerpc/gpio: Fix the wrong GPIO input data on MPC8572/MPC8536
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Liu Gang <[email protected]>
commit 1aeef303b5d9e243c41d5b80f8bb059366514a10 upstream.
For MPC8572/MPC8536, the status of GPIOs defined as output cannot be determined by reading GPDAT register, so the code use shadow data register instead. But the code may give the wrong status of GPIOs defined as input under some scenarios:
1. If some pins were configured as inputs and were asserted high before booting the kernel, the shadow data has been initialized with those pin values.
2. Some pins have been configured as output first and have been set to the high value, then reconfigured as input.
The above cases will make the shadow data for those input pins to be set to high. Then reading the pin status will always return high even if the actual pin status is low.
The code should eliminate the effects of the shadow data to the input pins, and the status of those pins should be read directly from GPDAT.
--- drivers/gpio/gpio-mpc8xxx.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-)
drivers/gpio/gpio-mpc8xxx.c +6 -2
@@ -69,10 +69,14 @@ static int mpc8572_gpio_get(struct gpio_u32 val;struct of_mm_gpio_chip *mm =to_of_mm_gpio_chip (gc);struct mpc8xxx_gpio_chip *mpc8xxx_gc =to_mpc8xxx_gpio_chip (mm); +u32 out_mask, out_shadow; - val =in_be32 (mm->regs +GPIO_DAT ) & ~in_be32 (mm->regs +GPIO_DIR ); + out_mask =in_be32 (mm->regs +GPIO_DIR ); -return (val | mpc8xxx_gc->data) &mpc8xxx_gpio2mask (gpio); + val =in_be32 (mm->regs +GPIO_DAT ) & ~out_mask; + out_shadow = mpc8xxx_gc->data & out_mask; + +return (val | out_shadow) &mpc8xxx_gpio2mask (gpio); }static int mpc8xxx_gpio_get (struct gpio_chip *gc,unsigned int gpio)
Greg Kroah-Hartman
maintainerPATCH 13/25 irq: Enable all irqs unconditionally in irq_resume
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Laxman Dewangan <[email protected]>
commit ac01810c9d2814238f08a227062e66a35a0e1ea2 upstream.
When the system enters suspend, it disables all interrupts in suspend_device_irqs(), including the interrupts marked EARLY_RESUME.
On the resume side things are different. The EARLY_RESUME interrupts are reenabled in sys_core_ops->resume and the non EARLY_RESUME interrupts are reenabled in the normal system resume path.
When suspend_noirq() failed or suspend is aborted for any other reason, we might omit the resume side call to sys_core_ops->resume() and therefor the interrupts marked EARLY_RESUME are not reenabled and stay disabled forever.
To solve this, enable all irqs unconditionally in irq_resume() regardless whether interrupts marked EARLY_RESUMEhave been already enabled or not.
This might try to reenable already enabled interrupts in the non failure case, but the only affected platform is XEN and it has been confirmed that it does not cause any side effects.
[ tglx: Massaged changelog. ]
--- kernel/irq/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/irq/pm.c +1 -1
@@ -50,7 +50,7 @@ static void resume_irqs(bool want_early)bool is_early = desc->action && desc->action->flags &IRQF_EARLY_RESUME ; -if (is_early != want_early) +if (!is_early && want_early)continue ;raw_spin_lock_irqsave (&desc->lock, flags);
Greg Kroah-Hartman
maintainerPATCH 14/25 net: update consumers of MSG_MORE to recognize MSG_SENDPAGE_NOTLAST
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Shawn Landden <[email protected]>
commit d3f7d56a7a4671d395e8af87071068a195257bf6 upstream.
Commit 35f9c09fe (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag MSG_SENDPAGE_NOTLAST, similar to MSG_MORE.
algif_hash, algif_skcipher, and udp used MSG_MORE from tcp_sendpages() and need to see the new flag as identical to MSG_MORE.
This fixes sendfile() on AF_ALG.
v3: also fix udp
Original-patch: Richard Weinberger <[email protected]>
--- crypto/algif_hash.c | 3 +++ crypto/algif_skcipher.c | 3 +++ net/ipv4/udp.c | 3 +++ 3 files changed, 9 insertions(+)
crypto/algif_hash.c +3 -0
@@ -117,6 +117,9 @@ static ssize_t hash_sendpage(struct sockif (flags &MSG_SENDPAGE_NOTLAST ) flags |=MSG_MORE ; +if (flags &MSG_SENDPAGE_NOTLAST ) + flags |=MSG_MORE ; +lock_sock (sk);sg_init_table (ctx->sgl.sg,1 );sg_set_page (ctx->sgl.sg, page, size, offset);
crypto/algif_skcipher.c +3 -0
@@ -381,6 +381,9 @@ static ssize_t skcipher_sendpage(structif (flags &MSG_SENDPAGE_NOTLAST ) flags |=MSG_MORE ; +if (flags &MSG_SENDPAGE_NOTLAST ) + flags |=MSG_MORE ; +lock_sock (sk);if (!ctx->more && ctx->used) goto unlock;
net/ipv4/udp.c +3 -0
@@ -1042,6 +1042,9 @@ int udp_sendpage(struct sock *sk, structif (flags &MSG_SENDPAGE_NOTLAST ) flags |=MSG_MORE ; +if (flags &MSG_SENDPAGE_NOTLAST ) + flags |=MSG_MORE ; +if (!up->pending) {struct msghdr msg = { .msg_flags = flags|MSG_MORE };
Greg Kroah-Hartman
maintainerPATCH 15/25 Input: allow deselecting serio drivers even without CONFIG_EXPERT
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tom Gundersen <[email protected]>
commit bcd2623073e98f69f84720308db0b142c4da0bd6 upstream.
There is plenty of consumer hardware (e.g., mac books) that does not use AT keyboards or PS/2 mice. It therefore makes sense for distro kernels to build the related drivers as modules to avoid loading them on hardware that does not need them. As such, these options should no longer be protected by EXPERT.
Moreover, building these drivers as modules gets rid of the following ugly error during boot:
[ 2.337745] i8042: PNP: No PS/2 controller found. Probing ports directly. [ 3.439537] i8042: No controller found
--- drivers/input/keyboard/Kconfig | 4 ++-- drivers/input/serio/Kconfig | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
drivers/input/keyboard/Kconfig +2 -2
@@ -2,7 +2,7 @@ # Input core configuration # menuconfig INPUT_KEYBOARD - bool "Keyboards" if EXPERT || !X86 + bool "Keyboards" default y help Say Y here, and a list of supported keyboards will be displayed.
@@ -67,7 +67,7 @@ config KEYBOARD_ATARI module will be called atakbd. config KEYBOARD_ATKBD - tristate "AT keyboard" if EXPERT || !X86 + tristate "AT keyboard" default y select SERIO select SERIO_LIBPS2
drivers/input/serio/Kconfig +3 -3
@@ -2,7 +2,7 @@ # Input core configuration # config SERIO - tristate "Serial I/O support" if EXPERT || !X86 + tristate "Serial I/O support" default y help Say Yes here if you have any input device that uses serial I/O to
@@ -19,7 +19,7 @@ config SERIO if SERIO config SERIO_I8042 - tristate "i8042 PC Keyboard controller" if EXPERT || !X86 + tristate "i8042 PC Keyboard controller" default y depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && \ (!SUPERH || SH_CAYMAN) && !M68K && !BLACKFIN
@@ -168,7 +168,7 @@ config SERIO_MACEPS2 module will be called maceps2. config SERIO_LIBPS2 - tristate "PS/2 driver library" if EXPERT + tristate "PS/2 driver library" depends on SERIO_I8042 || SERIO_I8042=n help Say Y here if you are using a driver for device connected
Greg Kroah-Hartman
maintainerPATCH 16/25 Input: mousedev - allow disabling even without CONFIG_EXPERT
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Tom Gundersen <[email protected]>
commit dfaaed08ecc01bd513248ba7999daf50ce028352 upstream.
Moust (if not all) modern software, including X, uses /dev/eventX rather than the legacy /dev/mouseX devices. It therefore makes sense for general-purpose (distro) kernels to use MOUSEDV=m (or even n), so let's drop the EXPERT=y requirement.
--- drivers/input/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/input/Kconfig +1 -1
@@ -71,7 +71,7 @@ config INPUT_SPARSEKMAP comment "Userland interfaces" config INPUT_MOUSEDEV - tristate "Mouse interface" if EXPERT + tristate "Mouse interface" default y help Say Y here if you want your mouse to be accessible as char devices
Greg Kroah-Hartman
maintainerPATCH 17/25 um: add missing declaration of getrlimit() and friends
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sergei Trofimovich <[email protected]>
commit fdfa4c952844fce881df8c76de9c7180cbe913ab upstream.
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
--- arch/um/os-Linux/start_up.c | 2 ++ 1 file changed, 2 insertions(+)
arch/um/os-Linux/start_up.c +2 -0
@@ -15,6 +15,8 @@#include <sys/mman.h> #include <sys/stat.h> #include <sys/wait.h> +#include <sys/time.h> +#include <sys/resource.h> #include <asm/unistd.h> #include "init.h" #include "os.h"
Greg Kroah-Hartman
maintainerPATCH 18/25 ahci: Add Device IDs for Intel Lynx Point-LP PCH
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: James Ralston <[email protected]>
commit 77b12bc9cf7b10c7c1a04ca45272fbb4287902d0 upstream.
This patch adds the AHCI-mode SATA Device IDs for the Intel Lynx Point-LP PCH
--- drivers/ata/ahci.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/ata/ahci.c +8 -0
@@ -268,6 +268,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x8c07), board_ahci }, /* Lynx Point RAID */ { PCI_VDEVICE(INTEL, 0x8c0e), board_ahci }, /* Lynx Point RAID */ { PCI_VDEVICE(INTEL, 0x8c0f), board_ahci }, /* Lynx Point RAID */ + { PCI_VDEVICE(INTEL, 0x9c02), board_ahci }, /* Lynx Point-LP AHCI */ + { PCI_VDEVICE(INTEL, 0x9c03), board_ahci }, /* Lynx Point-LP AHCI */ + { PCI_VDEVICE(INTEL, 0x9c04), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x9c05), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x9c06), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x9c07), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x9c0e), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x9c0f), board_ahci }, /* Lynx Point-LP RAID *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Greg Kroah-Hartman
maintainerPATCH 19/25 ahci: AHCI-mode SATA patch for Intel Avoton DeviceIDs
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Seth Heasley <[email protected]>
commit 29e674dd5c8e781589f09c3ee139c80f6da274e4 upstream.
This patch adds the AHCI and RAID-mode SATA DeviceIDs for the Intel Avoton SOC.
--- drivers/ata/ahci.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/ata/ahci.c +16 -0
@@ -276,6 +276,22 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x9c07), board_ahci }, /* Lynx Point-LP RAID */ { PCI_VDEVICE(INTEL, 0x9c0e), board_ahci }, /* Lynx Point-LP RAID */ { PCI_VDEVICE(INTEL, 0x9c0f), board_ahci }, /* Lynx Point-LP RAID */ + { PCI_VDEVICE(INTEL, 0x1f22), board_ahci }, /* Avoton AHCI */ + { PCI_VDEVICE(INTEL, 0x1f23), board_ahci }, /* Avoton AHCI */ + { PCI_VDEVICE(INTEL, 0x1f24), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f25), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f26), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f27), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f2e), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f2f), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f32), board_ahci }, /* Avoton AHCI */ + { PCI_VDEVICE(INTEL, 0x1f33), board_ahci }, /* Avoton AHCI */ + { PCI_VDEVICE(INTEL, 0x1f34), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f35), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f36), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f37), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f3e), board_ahci }, /* Avoton RAID */ + { PCI_VDEVICE(INTEL, 0x1f3f), board_ahci }, /* Avoton RAID *//* JMicron 360/1/3/5/6, match class to avoid IDE function */ { PCI_VENDOR_ID_JMICRON, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
Greg Kroah-Hartman
maintainerPATCH 20/25 i2c: i801: SMBus patch for Intel Avoton DeviceIDs
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Seth Heasley <[email protected]>
commit c2db409cbc8751ccc7e6d2cc2e41af0d12ea637f upstream.
This patch adds the PCU SMBus DeviceID for the Intel Avoton SOC.
--- Documentation/i2c/busses/i2c-i801 | 1 + drivers/i2c/busses/Kconfig | 1 + drivers/i2c/busses/i2c-i801.c | 3 +++ 3 files changed, 5 insertions(+)
Documentation/i2c/busses/i2c-i801 +1 -0
@@ -22,6 +22,7 @@ Supported adapters: * Intel Panther Point (PCH) * Intel Lynx Point (PCH) * Intel Lynx Point-LP (PCH) + * Intel Avoton (SOC) Datasheets: Publicly available at the Intel website On Intel Patsburg and later chipsets, both the normal host SMBus controller
drivers/i2c/busses/Kconfig +1 -0
@@ -105,6 +105,7 @@ config I2C_I801 Panther Point (PCH) Lynx Point (PCH) Lynx Point-LP (PCH) + Avoton (SOC) This driver can also be built as a module. If so, the module will be called i2c-i801.
drivers/i2c/busses/i2c-i801.c +3 -0
@@ -53,6 +53,7 @@ Panther Point (PCH) 0x1e22 32 hard yes yes yes Lynx Point (PCH) 0x8c22 32 hard yes yes yes Lynx Point-LP (PCH) 0x9c22 32 hard yes yes yes + Avoton (SOC) 0x1f3c 32 hard yes yes yes Features supported by this driver: Software PEC no
@@ -145,6 +146,7 @@#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF1 0x1d71#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS_IDF2 0x1d72#define PCI_DEVICE_ID_INTEL_PANTHERPOINT_SMBUS 0x1e22 +#define PCI_DEVICE_ID_INTEL_AVOTON_SMBUS 0x1f3c#define PCI_DEVICE_ID_INTEL_DH89XXCC_SMBUS 0x2330#define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30#define PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS 0x8c22
@@ -639,6 +641,7 @@ static DEFINE_PCI_DEVICE_TABLE(i801_ids) { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PANTHERPOINT_SMBUS) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_SMBUS) }, { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_LYNXPOINT_LP_SMBUS) }, + { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_AVOTON_SMBUS) }, { 0, } };
Greg Kroah-Hartman
maintainerPATCH 21/25 USB: pl2303: fixed handling of CS5 setting
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Colin Leitner <[email protected]>
commit a313249937820f8b1996133fc285efbd6aad2c5b upstream.
This patch fixes the CS5 setting on the PL2303 USB-to-serial devices. CS5 has a value of 0 and the CSIZE setting has been skipped altogether by the enclosing if. Tested on 3.11.6 and the scope shows the correct output after the fix has been applied.
Tagged to be added to stable, because it fixes a user visible driver bug and is simple enough to backport easily.
--- drivers/usb/serial/pl2303.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-)
drivers/usb/serial/pl2303.c +15 -17
@@ -290,24 +290,22 @@ static void pl2303_set_termios(struct ttdbg ("0xa1:0x21:0:0 %d - %x %x %x %x %x %x %x" , i, buf[0 ], buf[1 ], buf[2 ], buf[3 ], buf[4 ], buf[5 ], buf[6 ]); -if (cflag &CSIZE ) { -switch (cflag &CSIZE ) { -case CS5 : - buf[6 ] =5 ; -break ; -case CS6 : - buf[6 ] =6 ; -break ; -case CS7 : - buf[6 ] =7 ; -break ; -default : -case CS8 : - buf[6 ] =8 ; -break ; - } -dbg ("%s - data bits = %d" , __func__, buf[6 ]); +switch (cflag &CSIZE ) { +case CS5 : + buf[6 ] =5 ; +break ; +case CS6 : + buf[6 ] =6 ; +break ; +case CS7 : + buf[6 ] =7 ; +break ; +default : +case CS8 : + buf[6 ] =8 ; +break ; } +dbg ("%s - data bits = %d" , __func__, buf[6 ]);/* For reference buf[0]:buf[3] baud rate value */ /* NOTE: Only the values defined in baud_sup are supported !
Greg Kroah-Hartman
maintainerPATCH 22/25 USB: mos7840: correct handling of CS5 setting
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Colin Leitner <[email protected]>
commit 78692cc3382e0603a47e1f2aaeffe0d99891994d upstream.
This patch removes an erroneous check of CSIZE, which made it impossible to set CS5.
Compiles clean, but couldn't test against hardware.
--- drivers/usb/serial/mos7840.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-)
drivers/usb/serial/mos7840.c +16 -16
@@ -1962,25 +1962,25 @@ static void mos7840_change_port_settings iflag = tty->termios->c_iflag;/* Change the number of bits */ -if (cflag &CSIZE ) { -switch (cflag &CSIZE ) { -case CS5 : - lData =LCR_BITS_5 ; -break ; +switch (cflag &CSIZE ) { +case CS5 : + lData =LCR_BITS_5 ; +break ; -case CS6 : - lData =LCR_BITS_6 ; -break ; +case CS6 : + lData =LCR_BITS_6 ; +break ; -case CS7 : - lData =LCR_BITS_7 ; -break ; -default : -case CS8 : - lData =LCR_BITS_8 ; -break ; - } +case CS7 : + lData =LCR_BITS_7 ; +break ; + +default : +case CS8 : + lData =LCR_BITS_8 ; +break ; } +/* Change the Parity bit */ if (cflag &PARENB ) {if (cflag &PARODD ) {
Greg Kroah-Hartman
maintainerPATCH 23/25 USB: spcp8x5: correct handling of CS5 setting
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Colin Leitner <[email protected]>
commit 711fbdfbf2bc4827214a650afe3f64767a1aba16 upstream.
This patch removes an erroneous check of CSIZE, which made it impossible to set CS5.
Compiles clean, but couldn't test against hardware.
--- drivers/usb/serial/spcp8x5.c | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-)
drivers/usb/serial/spcp8x5.c +14 -16
@@ -396,22 +396,20 @@ static void spcp8x5_set_termios(struct t }/* Set Data Length : 00:5bit, 01:6bit, 10:7bit, 11:8bit */ -if (cflag &CSIZE ) { -switch (cflag &CSIZE ) { -case CS5 : - buf[1 ] |=SET_UART_FORMAT_SIZE_5 ; -break ; -case CS6 : - buf[1 ] |=SET_UART_FORMAT_SIZE_6 ; -break ; -case CS7 : - buf[1 ] |=SET_UART_FORMAT_SIZE_7 ; -break ; -default : -case CS8 : - buf[1 ] |=SET_UART_FORMAT_SIZE_8 ; -break ; - } +switch (cflag &CSIZE ) { +case CS5 : + buf[1 ] |=SET_UART_FORMAT_SIZE_5 ; +break ; +case CS6 : + buf[1 ] |=SET_UART_FORMAT_SIZE_6 ; +break ; +case CS7 : + buf[1 ] |=SET_UART_FORMAT_SIZE_7 ; +break ; +default : +case CS8 : + buf[1 ] |=SET_UART_FORMAT_SIZE_8 ; +break ; }/* Set Stop bit2 : 0:1bit 1:2bit */
Greg Kroah-Hartman
maintainerPATCH 24/25 USB: cdc-acm: Added support for the Lenovo RD02-D400 USB Modem
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: David Cluytens <[email protected]>
commit 3b59d16c513da258ec8f6a0b4db85f257a0380d6 upstream.
--- drivers/usb/class/cdc-acm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/usb/class/cdc-acm.c +2 -0
@@ -1542,6 +1542,8 @@ static int acm_reset_resume(struct usb_istatic const struct usb_device_id acm_ids[] = {/* quirky and broken devices */ + {USB_DEVICE (0x17ef ,0x7000 ),/* Lenovo USB modem */ + .driver_info =NO_UNION_NORMAL , },/* has no union descriptor */ {USB_DEVICE (0x0870 ,0x0001 ),/* Metricom GS Modem */ .driver_info =NO_UNION_NORMAL ,/* has no union descriptor */ },
Greg Kroah-Hartman
maintainerPATCH 25/25 drivers/char/i8k.c: add Dell XPLS L421X
In reply to Greg Kroah-Hartman3.4-stable review patch. If anyone has any objections, please let me know.
------------------
From: Alan Cox <[email protected]>
commit 9aa5b0181bdf335f0b731d8502e128a862884bcd upstream.
Addresses https://bugzilla.kernel.org/show_bug.cgi?id=60772
--- drivers/char/i8k.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/char/i8k.c +7 -0
@@ -664,6 +664,13 @@ static struct dmi_system_id __initdata i DMI_MATCH(DMI_PRODUCT_NAME, "Vostro"), }, }, + { + .ident = "Dell XPS421", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_MATCH(DMI_PRODUCT_NAME, "XPS L421X"), + }, + }, { } };
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.74 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu Dec 12 07:59:15 UTC 2013. Anything received after that time might be too late.
Build results:
total: 103 pass: 89 skipped: 10 fail: 4
qemu tests all passed.
Results are as expected.
Details are available as usual at http://server.roeck-us.net:8010/builders.
Guenter
Greg Kroah-Hartman
maintainerQuoted 9 lines · Guenter Roeck
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.74 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu Dec 12 07:59:15 UTC 2013. Anything received after that time might be too late.
Quoted 7 lines
Build results:
total: 103 pass: 89 skipped: 10 fail: 4qemu tests all passed.
Results are as expected.
Details are available as usual at http://server.roeck-us.net:8010/builders.
Thanks for the results,
greg k-h
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.74 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu Dec 12 07:59:15 UTC 2013. Anything received after that time might be too late.
Quoted 8 lines
The whole patch series can be found in one patch at:
kernel.org/pub/linux/kernel/v3.0/stable-review/patch-3.4.74-rc1.gzand the diffstat can be found below.
thanks,
greg k-h
Patch applied cleanly
Compile testing - passed
Boot testing - passed
dmesg regression testing - passed
dmesgs look good. No regressions compared to the previous dmesgs for this release. dmesg emerg, crit, alert, err are clean. No regressions in warn.
Test systems
Samsung Series 9 900X4C Intel Corei5 (3.4 and later) HP ProBook 6475b AMD A10-4600M APU with Radeon(tm) HD Graphics Dell OptiPlex 790 Intel(R) Core(TM) i5-2400
-- Shuah
Signature · 4 lines
Shuah Khan Senior Linux Kernel Developer - Open Source Group Samsung Research America(Silicon Valley) [email protected] | (970) 672-0658
At Tue, 10 Dec 2013 00:00:08 -0800,
Quoted 8 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.74 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Thu Dec 12 07:59:15 UTC 2013. Anything received after that time might be too late.
This kernel can be built and boot without any problem. Building a kernel with this kernel also works fine.
- test tool:
https://github.com/satoru-takeuchi/test-linux-stable
- test results(kernel .config, ktest config and test log):
http://satoru-takeuchi.org/test-linux-stable/results/3.4.74-rc1-2013-12-11_23:52:06+09:00
- Build Machine: debian jessy x86_64
CPU: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz x 4
memory: 8GB
- Test machine: debian jessy x86_64(KVM guest on the Build Machine)
vCPU: x2
memory: 2GB
I reviewed the following patches and it looks good to me.
Quoted 5 lines
Tom Gundersen <[email protected]>
Input: mousedev - allow disabling even withoutCONFIG_EXPERTTom Gundersen <[email protected]>
Input: allow deselecting serio drivers even withoutCONFIG_EXPERT
Thanks,
Satoru