Hi Jassi,
On Thu, May 7, 2020 at 7:25 AM Jassi Brar wrote:
>
> On Wed, May 6, 2020 at 8:29 AM Baolin Wang wrote:
> >
> > Hi Jassi,
> >
> > On Tue, Apr 28, 2020 at 11:10 AM Baolin Wang wrote:
> > >
> > > From: Baolin Wang
> > >
&g
Hi Jassi,
On Tue, Apr 28, 2020 at 11:10 AM Baolin Wang wrote:
>
> From: Baolin Wang
>
> The Spreadtrum mailbox controller supports 8 channels to communicate
> with MCUs, and it contains 2 different parts: inbox and outbox, which
> are used to send and receive messages by IR
Hi Arnd
On Tue, Apr 28, 2020 at 4:41 PM Baolin Wang wrote:
>
> On Tue, Apr 28, 2020 at 4:19 PM Lee Jones wrote:
> >
> > On Tue, 28 Apr 2020, Baolin Wang wrote:
> >
> > > On Tue, Apr 28, 2020 at 3:14 PM Lee Jones wrote:
> > > >
&
The spi_register_driver() will set the spi_bus_type for the spi_driver,
thus remove the redundant setting in this driver.
Signed-off-by: Baolin Wang
---
drivers/mfd/sprd-sc27xx-spi.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c
On Tue, Apr 28, 2020 at 4:19 PM Lee Jones wrote:
>
> On Tue, 28 Apr 2020, Baolin Wang wrote:
>
> > On Tue, Apr 28, 2020 at 3:14 PM Lee Jones wrote:
> > >
> > > On Tue, 28 Apr 2020, Baolin Wang wrote:
> > >
> > > > On Mon, Apr 27, 2020 at 5:
On Tue, Apr 28, 2020 at 3:14 PM Lee Jones wrote:
>
> On Tue, 28 Apr 2020, Baolin Wang wrote:
>
> > On Mon, Apr 27, 2020 at 5:05 PM Lee Jones wrote:
> > >
> > > On Mon, 27 Apr 2020, Baolin Wang wrote:
> > >
> > > > Hi Arnd and Lee,
> &
On Mon, Apr 27, 2020 at 11:46 PM Christoph Hellwig wrote:
>
> extand in the subject really shpuld be 'extend'
Sorry for typo, and will fix in next version.
>
> On Sun, Apr 26, 2020 at 05:38:54PM +0800, Baolin Wang wrote:
> > From: Ming Lei
> >
> > Now some SD/MM
On Mon, Apr 27, 2020 at 5:05 PM Lee Jones wrote:
>
> On Mon, 27 Apr 2020, Baolin Wang wrote:
>
> > Hi Arnd and Lee,
> >
> > On Tue, Apr 21, 2020 at 10:13 PM Baolin Wang wrote:
> > >
> > > Some platforms such as Spreadtrum platform, define a special
Change my email address, and add more Spreadtrum PMIC drivers
to maintain.
Signed-off-by: Baolin Wang
---
MAINTAINERS | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 55199ef..7e6fdcf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
this case.
[Baolin Wang changes the commit message]
Signed-off-by: Eric Long
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 13 +
include/linux/dma/sprd-dma.h |4
2 files changed, 17 insertions(+)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
index
Add software queue support to improve the performance.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/Kconfig |1 +
drivers/mmc/host/sdhci-sprd.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
Add request_done ops for struct sdhci_ops as a preparation in case some
host controllers have different method to complete one request, such as
supporting request completion of MMC software queue.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci.c | 12 ++--
drivers/mmc/host
ked request or packed command in future.
Signed-off-by: Baolin Wang
---
drivers/mmc/core/block.c | 61
drivers/mmc/core/mmc.c | 13 +-
drivers/mmc/core/queue.c | 33 -
drivers/mmc/host/Kconfig |7 +
drivers/mmc/host/Makefile |1 +
drivers/mmc/host/mmc_hsq.c |
.
- Replace virtual command queue with software queue for functions and
variables.
- Rename the software queue file and add sqhci.h header file.
Baolin Wang (3):
mmc: Add MMC host software queue support
mmc: host: sdhci: Add request_done ops for struct sdhci_ops
mmc: host: sdhci-sprd: Add
k.
Right, feel free to add my tag, thanks.
Reviewed-by: Baolin Wang
>
> Signed-off-by: Alexandre Belloni
> ---
> drivers/rtc/rtc-sc27xx.c | 7 ---
> 1 file changed, 7 deletions(-)
>
> diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c
> index b95676899750..
Chen
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c |6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
index 8869843..157712ab 100644
--- a/drivers/pinctrl/sprd/pinctrl-sprd.c
e {
> - res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> - base = devm_ioremap_resource(>dev, res);
> + base = devm_platform_ioremap_resource(pdev, 0);
> if (IS_ERR(base))
> return PTR_ERR(base);
>
> --
> 2.7.4
>
>
--
Baolin Wang
Best Regards
is not enabled, and
removing the return value validating of pm_runtime_put(). So that we
can remove some redundant PM runtime code in drivers.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/hwspinlock_core.c |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers
Since the hwspinlock core has changed the PM runtime to be optional, thus
remove the redundant PM runtime implementation in the u8500 HWSEM driver.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/u8500_hsem.c | 19 ---
1 file changed, 4 insertions(+), 15 deletions(-)
diff
This patch set removes the BUG_ON() from hwspinlock core and changes the
PM runtime support to be optional.
Baolin Wang (4):
hwspinlock: Remove BUG_ON() from the hwspinlock core
hwspinlock: Let the PM runtime can be optional
hwspinlock: sprd: Remove redundant PM runtime implementation
Since the hwspinlock core has changed the PM runtime to be optional, thus
remove the redundant PM runtime implementation in the Spreadtrum hwlock
driver.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/sprd_hwspinlock.c | 21 +++--
1 file changed, 3 insertions(+), 18
The original code use BUG_ON() to validate the parameters when locking
or unlocking one hardware lock, but we should not crash the whole kernel
though the hwlock parameters are incorrect, instead we can return
the error number for users and give some warning.
Signed-off-by: Baolin Wang
check if current descriptor is completed or not, when freeing
the descriptors associated with one channel, if not, we should free it to
avoid this issue.
Fixes: 9b3b8171f7f4 ("dmaengine: sprd: Add Spreadtrum DMA driver")
Reported-by: Zhenfang Wang
Tested-by: Zhenfang Wang
Signed-off-by: B
Add PIN_CONFIG_BIAS_DISABLE configuration support for Spreadtrum pin
controller.
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c | 17 +
1 file changed, 17 insertions(+)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
The syscon_regmap_lookup_by_phandle() will never return NULL, thus use
IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().
Fixes: d41f59fd92f2 ("clk: sprd: Add common infrastructure")
Signed-off-by: Baolin Wang
---
Changes from v1:
- Add fixes tag.
---
drivers/clk/spr
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.
Signed-off-by: Baolin Wang
---
Changes from v1:
- None.
---
drivers/clk/sprd/common.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git
Hi Stephen,
On Sat, 28 Sep 2019 at 02:45, Stephen Boyd wrote:
>
> Quoting Baolin Wang (2019-09-26 20:50:53)
> > The syscon_regmap_lookup_by_phandle() will never return NULL, thus use
> > IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().
> >
> &
On Thu, 26 Sep 2019 at 20:08, Adrian Hunter wrote:
>
> On 26/09/19 12:43 PM, Baolin Wang wrote:
> > Hi Adrian and Ulf,
> >
> > On Thu, 19 Sep 2019 at 13:59, Baolin Wang wrote:
> >>
> >> Hi All,
> >>
> >> Now the MMC read/write s
Use devm_kzalloc() to allocate memory.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/u8500_hsem.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/drivers/hwspinlock/u8500_hsem.c b/drivers/hwspinlock/u8500_hsem.c
index c247a87..0e8d4ff 100644
Use devm_hwspin_lock_register() to register the hwlock controller instead of
unregistering the hwlock controller explicitly when removing the device.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/u8500_hsem.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/u8500_hsem.c | 20 +---
1 file changed, 5 insertions(+), 15 deletions(-)
diff --git a/drivers
This patch set did some Optimization with changing to use devm_xxx()
APIs to simplify the code and make code more readable.
Baolin Wang (3):
hwspinlock: u8500_hsem: Change to use
devm_platform_ioremap_resource()
hwspinlock: u8500_hsem: Use devm_kzalloc() to allocate memory
hwspinlock
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/sprd_hwspinlock.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/hwspinlock
Use devm_hwspin_lock_register() to register the hwlock controller instead of
unregistering the hwlock controller explicitly when removing the device.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/sprd_hwspinlock.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git
We must check the return value of clk_prepare_enable() to make sure the
hardware spinlock controller can be enabled successfully, otherwise we
should return error.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/sprd_hwspinlock.c |4 +++-
1 file changed, 3 insertions(+), 1 deletion
Use devm_add_action_or_reset() for calls to clk_disable_unprepare(),
which can simplify the error handling.
Signed-off-by: Baolin Wang
---
drivers/hwspinlock/sprd_hwspinlock.c | 17 +++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/drivers/hwspinlock
This patch set did some optimization for Spreadtrum hwlock controller,
including using some devm_xxx APIs to simplify code and validating the
return value when enabling clock.
Baolin Wang (4):
hwspinlock: sprd: Change to use devm_platform_ioremap_resource()
hwspinlock: sprd: Check the return
The syscon_regmap_lookup_by_phandle() will never return NULL, thus use
IS_ERR() to validate the return value instead of IS_ERR_OR_NULL().
Signed-off-by: Baolin Wang
---
drivers/clk/sprd/common.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sprd/common.c b
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.
Signed-off-by: Baolin Wang
---
drivers/clk/sprd/common.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/clk/sprd/common.c b
Use the new helper that wraps the calls to platform_get_resource()
and devm_ioremap_resource() together, which can simpify the code.
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c |4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers
Change to use devm_hwspin_lock_request_specific() to help to simplify the
cleanup code for drivers requesting one hwlock. Thus we can remove the
redundant sc27xx_efuse_remove() and platform_set_drvdata().
Signed-off-by: Baolin Wang
---
drivers/nvmem/sc27xx-efuse.c | 13 +
1 file
Change to use devm_hwspin_lock_request_specific() to help to simplify the
cleanup code for drivers requesting one hwlock.
Signed-off-by: Baolin Wang
---
drivers/iio/adc/sc27xx_adc.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git a/drivers/iio/adc
Hi Adrian and Ulf,
On Thu, 19 Sep 2019 at 13:59, Baolin Wang wrote:
>
> Hi All,
>
> Now the MMC read/write stack will always wait for previous request is
> completed by mmc_blk_rw_wait(), before sending a new request to hardware,
> or queue a work to complete request, that
On Wed, 25 Sep 2019 at 22:05, Waiman Long wrote:
>
> On 9/25/19 6:01 AM, Baolin Wang wrote:
> > From: Waiman Long
> >
> > [Upstream commit 513e1073d52e55b8024b4f238a48de7587c64ccf]
> >
> > Tetsuo Handa had reported he saw an incorrect "downgrading a read
reading a property that returns an error.
Signed-off-by: David Lechner
Signed-off-by: Sebastian Reichel
Signed-off-by: Baolin Wang
---
drivers/power/supply/power_supply_sysfs.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c
b
y: Nathan Chancellor
Reviewed-by: Baolin Wang
Signed-off-by: Linus Walleij
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
in
Intel)
Cc: Andrew Morton
Cc: Linus Torvalds
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: Will Deacon
Link:
https://lkml.kernel.org/r/1547093005-26085-1-git-send-email-long...@redhat.com
Signed-off-by: Ingo Molnar
Signed-off-by: Baolin Wang
---
kernel/locking/lockde
With Arnd's script [1] help, I found some bugfixes in Spreadtrum 4.14 product
kernel, but missing in v4.14.146:
513e1073d52e locking/lockdep: Add debug_locks check in __lock_downgrade()
957063c92473 pinctrl: sprd: Use define directive for sprd_pinconf_params values
87a2b65fc855 power: supply:
reading a property that returns an error.
Signed-off-by: David Lechner
Signed-off-by: Sebastian Reichel
Signed-off-by: Baolin Wang
---
drivers/power/supply/power_supply_sysfs.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c
b
y: Nathan Chancellor
Reviewed-by: Baolin Wang
Signed-off-by: Linus Walleij
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
in
Intel)
Cc: Andrew Morton
Cc: Linus Torvalds
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: Will Deacon
Link:
https://lkml.kernel.org/r/1547093005-26085-1-git-send-email-long...@redhat.com
Signed-off-by: Ingo Molnar
Signed-off-by: Baolin Wang
---
kernel/locking/lockde
With Arnd's script [1] help, I found some bugfixes in Spreadtrum 4.14 product
kernel, but missing in v4.19.75:
513e1073d52e locking/lockdep: Add debug_locks check in __lock_downgrade()
957063c92473 pinctrl: sprd: Use define directive for sprd_pinconf_params values
87a2b65fc855 power: supply:
a note to help
> improve the system. BTW, we also suggest to use '--base' option to specify the
> base tree in git format-patch, please see
> https://stackoverflow.com/a/37406982]
>
> url:
> https://github.com/0day-ci/linux/commits/Baolin-Wang/mmc-Add-MMC-software-qu
= sdhci-sprd.o
obj-$(CONFIG_MMC_CQHCI)+= cqhci.o
+obj-$(CONFIG_MMC_SQHCI)+= sqhci.o
ifeq ($(CONFIG_CB710_DEBUG),y)
CFLAGS-cb710-mmc += -DDEBUG
diff --git a/drivers/mmc/host/sqhci.c b/drivers/mmc/host/sqhci.c
new file mode 100644
i
Add software queue support to improve the performance.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/Kconfig |1 +
drivers/mmc/host/sdhci-sprd.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
Add request_done ops for struct sdhci_ops as a preparation in case some
host controllers have different method to complete one request, such as
supporting request completion of MMC software queue.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci.c | 12 ++--
drivers/mmc/host
sqhci.h header file.
Baolin Wang (3):
mmc: Add MMC software queue support
mmc: host: sdhci: Add request_done ops for struct sdhci_ops
mmc: host: sdhci-sprd: Add software queue support
drivers/mmc/core/block.c | 61
drivers/mmc/core/mmc.c| 13 +-
drivers/mmc/core/queue.c
t;
> Signed-off-by: Lanqing Liu
> ---
> Change from v1:
> - Add poll_init() support.
Looks good to me and the KGDB can work well on my board, so feel free
to add my tags:
Reviewed-by: Baolin Wang
Tested-by: Baolin Wang
> ---
> drivers/tty/serial/sprd_serial.c | 33 ++
ifdef CONFIG_CONSOLE_POLL
> + .poll_get_char = sprd_poll_get_char,
> + .poll_put_char = sprd_poll_put_char,
> +#endif
> };
>
> #ifdef CONFIG_SERIAL_SPRD_CONSOLE
> --
> 1.9.1
>
--
Baolin Wang
Best Regards
);
>
> res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> + if (!res) {
> + dev_err(>dev, "no IOMEM resource found\n");
> + ret = -ENXIO;
> + goto put_master;
> + }
Seems unnecessary, the devm_io
From: Bruce Chen
When toggling the level trigger to emulate the edge trigger, the
EIC offset is incorrect without adding the corresponding bank index,
thus fix it.
Fixes: 7bf0d7f62282 ("gpio: eic: Add edge trigger emulation for EIC")
Signed-off-by: Bruce Chen
Signed-off-by: B
.
Fixes: 4ac695464763 ("dmaengine: sprd: Support DMA link-list mode")
Signed-off-by: Zhenfang Wang
Signed-off-by: Baolin Wang
---
drivers/dma/sprd-dma.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/drivers/dma/sprd-dma.c b/drivers/dma/sprd-dma.c
ind
Add request_done ops for struct sdhci_ops as a preparation in case some
host controllers have different method to complete one request, such as
supporting request completion of MMC software queue.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci.c | 12 ++--
drivers/mmc/host
The struct cqhci_slot will be used by MMC software queue introducing by
following patches, thus move it to the header file.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/cqhci.c | 10 --
drivers/mmc/host/cqhci.h | 11 ++-
2 files changed, 10 insertions(+), 11 deletions
Add software queue support to improve the performance.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/Kconfig |1 +
drivers/mmc/host/sdhci-sprd.c | 26 ++
2 files changed, 27 insertions(+)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
e support */
+ int next_tag;
+ struct mmc_request *mrq;
+#endif
};
struct cqhci_host_ops {
diff --git a/drivers/mmc/host/sqhci.c b/drivers/mmc/host/sqhci.c
new file mode 100644
index 000..e9c73d1
--- /dev/null
+++ b/drivers/mmc/host/sqhci.c
@@ -0,0 +1,345 @@
+// SPDX-License
for sdhci_ops.
- Replace virtual command queue with software queue for functions and
variables.
- Rename the software queue file and add sqhci.h header file.
Baolin Wang (4):
mmc: host: cqhci: Move the struct cqhci_slot into header file
mmc: Add MMC software queue support
mmc: host: sdhci: Add
On Tue, 10 Sep 2019 at 22:32, Greg KH wrote:
>
> On Thu, Sep 05, 2019 at 11:07:14AM +0800, Baolin Wang wrote:
> > From: Waiman Long
> >
> > [Upstream commit 513e1073d52e55b8024b4f238a48de7587c64ccf]
> >
> > Tetsuo Handa had reported he saw an incorrect "d
From: Freeman Liu
The Spreadtrum eFuse controller is widely used to dump chip ID,
configuration setting, function select and so on, as well as
supporting one-time programming.
Signed-off-by: Freeman Liu
Signed-off-by: Baolin Wang
---
Changes from v1:
- None
---
drivers/nvmem/Kconfig
From: Freeman Liu
This patch adds the binding documentation for Spreadtrum eFuse controller.
Signed-off-by: Freeman Liu
Signed-off-by: Baolin Wang
Reviewed-by: Rob Herring
---
Changes from v1:
- Add reviewed tag from Rob.
---
.../devicetree/bindings/nvmem/sprd-efuse.txt | 39
On Mon, 9 Sep 2019 at 20:45, Adrian Hunter wrote:
>
> On 9/09/19 3:16 PM, Baolin Wang wrote:
> > Hi Adrian,
> >
> > On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote:
> >>
> >> On 6/09/19 6:52 AM, Baolin Wang wrote:
> >>> Now the MMC
Hi Adrian,
On Mon, 9 Sep 2019 at 20:02, Adrian Hunter wrote:
>
> On 6/09/19 6:52 AM, Baolin Wang wrote:
> > Now the MMC read/write stack will always wait for previous request is
> > completed by mmc_blk_rw_wait(), before sending a new request to hardware,
> > or queue a
Hi Adrian,
On Mon, 9 Sep 2019 at 20:04, Adrian Hunter wrote:
>
> On 6/09/19 6:52 AM, Baolin Wang wrote:
> > Add cqhci_virt_finalize_request() to help to complete a request
> > from virtual command queue.
> >
> > Signed-off-by: Baolin Wang
> > ---
On Fri, 6 Sep 2019 at 00:16, Eric Biggers wrote:
>
> On Thu, Sep 05, 2019 at 11:10:45AM +0800, Baolin Wang wrote:
> > From: Eric Biggers
> >
> > [Upstream commit 25a09ce79639a8775244808c17282c491cff89cf]
> >
> > Commit 0e5a610b5ca5 ("ppp: mppe: swi
Add virtual command queue support.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/Kconfig |1 +
drivers/mmc/host/sdhci-sprd.c | 16
2 files changed, 17 insertions(+)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index e2a12c3..851e947 100644
Add cqhci_virt_finalize_request() to help to complete a request
from virtual command queue.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/sdhci.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 4e9ebc8
The struct cqhci_slot will be used by virtual command queue introducing
by following patches, thus move it to the header file.
Signed-off-by: Baolin Wang
---
drivers/mmc/host/cqhci.c | 10 --
drivers/mmc/host/cqhci.h | 11 ++-
2 files changed, 10 insertions(+), 11 deletions
ead, increasing about 114% for
random read, increasing about 81% for sequential write, and increasing
about 127% for random write.
Moreover we can expand the virtual command queue interface to
support MMC packed request or packed command in future.
Signed-off-by: Baolin Wang
---
drivers/mmc/c
write:
Speed: 45.1MiB/s, 43.3MiB/s, 42.4MiB/s
Average speed: 43.6MiB/s
Form above data, we can see the virtual command queue can help to improve the
performance obviously.
Any comments are welcome. Thanks a lot.
Baolin Wang (4):
mmc: host: cqhci: Move the struct cqhci_slot into header file
Hi Johan,
On Thu, 5 Sep 2019 at 17:01, Johan Hovold wrote:
>
> On Thu, Sep 05, 2019 at 11:11:26AM +0800, Baolin Wang wrote:
> > From: Lanqing Liu
> >
> > [Upstream commit 5b9cea15a3de5d65000d49f626b71b00d42a0577]
> >
> > When the source clock is not
bootloader will clear this flag after checking the booting mode.
Signed-off-by: Baolin Wang
---
drivers/rtc/rtc-sc27xx.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c
index b4eb3b3..46646aa 100644
--- a/drivers/rtc/rtc
the actual baud rate less than the expected value and can not meet
the external transmission requirements.
Thus this patch modifies the baud rate calculation formula to support
the serial controller output the maximum baud rate.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
Signed-off
module rather than "arc4", and also due to the direct use of
arc4_crypt(), no module soft-dependency is required.
So revert the latter commit.
Cc: Takashi Iwai
Cc: Ard Biesheuvel
Signed-off-by: Eric Biggers
Signed-off-by: David S. Miller
Signed-off-by: Baolin Wang
---
drivers/net/p
reading a property that returns an error.
Signed-off-by: David Lechner
Signed-off-by: Sebastian Reichel
Signed-off-by: Baolin Wang
---
drivers/power/supply/power_supply_sysfs.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c
b
y: Nathan Chancellor
Reviewed-by: Baolin Wang
Signed-off-by: Linus Walleij
Signed-off-by: Baolin Wang
---
drivers/pinctrl/sprd/pinctrl-sprd.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd.c
b/drivers/pinctrl/sprd/pinctrl-sprd.c
in
Intel)
Cc: Andrew Morton
Cc: Linus Torvalds
Cc: Paul E. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: Will Deacon
Link:
https://lkml.kernel.org/r/1547093005-26085-1-git-send-email-long...@redhat.com
Signed-off-by: Ingo Molnar
Signed-off-by: Baolin Wang
---
kernel/locking/lockde
Signed-off-by: David S. Miller
Signed-off-by: Baolin Wang
---
include/net/ipv6_frag.h |1 -
1 file changed, 1 deletion(-)
diff --git a/include/net/ipv6_frag.h b/include/net/ipv6_frag.h
index 28aa9b3..1f77fb4 100644
--- a/include/net/ipv6_frag.h
+++ b/include/net/ipv6_frag.h
@@ -94,7 +94,6 @@ sta
With Arnd's script [1] help, I found some bugfixes in Spreadtrum 4.14 product
kernel, but missing in v4.14.141:
25a09ce79639 ppp: mppe: Revert "ppp: mppe: Add softdep to arc4"
47d3d7fdb10a ip6: fix skb leak in ip6frag_expire_frag_queue()
5b9cea15a3de serial: sprd: Modify the baud rate calculation
On Thu, 5 Sep 2019 at 01:25, Greg KH wrote:
>
> On Tue, Sep 03, 2019 at 02:55:26PM +0800, Baolin Wang wrote:
> > From: Chris Wilson
> >
> > If we skipped all the connectors that were not part of a tile, we would
> > leave conn_seq=0 and conn_configured=0, convin
On Wed, 4 Sep 2019 at 21:19, Jani Nikula wrote:
>
> On Tue, 03 Sep 2019, Baolin Wang wrote:
> > From: Chris Wilson
> >
> > If we skipped all the connectors that were not part of a tile, we would
> > leave conn_seq=0 and conn_configured=0, convincing ourselves th
On Wed, 4 Sep 2019 at 02:33, Greg KH wrote:
>
> On Tue, Sep 03, 2019 at 11:52:06AM -0300, Marcelo Ricardo Leitner wrote:
> > On Tue, Sep 03, 2019 at 02:58:16PM +0800, Baolin Wang wrote:
> > > From: Hariprasad Kelam
> > >
> > > This patch r
he whole series:
Reviewed-by: Baolin Wang
Tested-by: Baolin Wang
>
> Chunyan Zhang (3):
> serial: sprd: check the right port and membase
> serial: sprd: add console_initcall in sprd's uart driver
> serial: sprd: keep console alive even if missing the 'enabl
not meet
the external transmission requirements.
Thus this patch modifies the baud rate calculation formula to support
the serial controller output the maximum baud rate.
Signed-off-by: Lanqing Liu
Signed-off-by: Baolin Wang
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Baolin Wang
---
drivers
ect use of
arc4_crypt(), no module soft-dependency is required.
So revert the latter commit.
Cc: Takashi Iwai
Cc: Ard Biesheuvel
Signed-off-by: Eric Biggers
Signed-off-by: David S. Miller
Signed-off-by: Baolin Wang
---
drivers/net/ppp/ppp_mppe.c |1 -
1 file changed, 1 deletion(-)
diff --
-by: David Lechner
Signed-off-by: Sebastian Reichel
Signed-off-by: Baolin Wang
---
drivers/power/supply/power_supply_sysfs.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/power/supply/power_supply_sysfs.c
b/drivers/power/supply/power_supply_sysfs.c
index eb5dc74
st drivers that take advantage of this define the
PIN_CONFIG variables as constants, rather than enumerated values. Do the
same thing here so that Clang no longer warns.
Link: https://github.com/ClangBuiltLinux/linux/issues/138
Signed-off-by: Nathan Chancellor
Reviewed-by: Baolin Wang
Signed-off-by: L
-by: Neil Horman
Signed-off-by: David S. Miller
Signed-off-by: Baolin Wang
---
net/sctp/sm_make_chunk.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c
index f67df16..6dac492 100644
--- a/net/sctp/sm_make_chunk.c
. McKenney
Cc: Peter Zijlstra
Cc: Thomas Gleixner
Cc: Will Deacon
Link:
https://lkml.kernel.org/r/1547093005-26085-1-git-send-email-long...@redhat.com
Signed-off-by: Ingo Molnar
Signed-off-by: Baolin Wang
---
kernel/locking/lockdep.c |3 +++
1 file changed, 3 insertions(+)
diff --gi
+0x234/0x330
[296583.091982] [] __do_softirq+0x109/0x2b0
Fixes: d4289fcc9b16 ("net: IP6 defrag: use rbtrees for IPv6 defrag")
Signed-off-by: Eric Dumazet
Reported-by: Stefan Bader
Cc: Peter Oskolkov
Cc: Florian Westphal
Signed-off-by: David S. Miller
Signed-off-by: Baolin Wang
---
i
Hi Sebastian,
On Tue, 3 Sep 2019 at 05:04, Sebastian Reichel wrote:
>
> Hi,
>
> On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote:
> > This patch set adds new attributes for userspace, and fixes the the
> > accuracy issue of coulomb counter calculatio
201 - 300 of 3825 matches
Mail list logo